@nfcard/validation 0.5.0 → 0.8.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 +3519 -111
- package/dist/index.js +0 -0
- package/package.json +2 -2
- package/src/index.test.ts +255 -0
- package/src/index.ts +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -32,6 +32,34 @@ declare const socialLinksSchema: z.ZodObject<{
|
|
|
32
32
|
customUrl?: string | undefined;
|
|
33
33
|
customUrlLabel?: string | undefined;
|
|
34
34
|
}>;
|
|
35
|
+
declare const socialOverridesSchema: z.ZodObject<{
|
|
36
|
+
facebook: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
37
|
+
linkedin: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
38
|
+
instagram: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
39
|
+
x: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
40
|
+
youtube: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
41
|
+
tiktok: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
42
|
+
customUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
43
|
+
customUrlLabel: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
facebook?: string | undefined;
|
|
46
|
+
linkedin?: string | undefined;
|
|
47
|
+
instagram?: string | undefined;
|
|
48
|
+
x?: string | undefined;
|
|
49
|
+
youtube?: string | undefined;
|
|
50
|
+
tiktok?: string | undefined;
|
|
51
|
+
customUrl?: string | undefined;
|
|
52
|
+
customUrlLabel?: string | undefined;
|
|
53
|
+
}, {
|
|
54
|
+
facebook?: string | undefined;
|
|
55
|
+
linkedin?: string | undefined;
|
|
56
|
+
instagram?: string | undefined;
|
|
57
|
+
x?: string | undefined;
|
|
58
|
+
youtube?: string | undefined;
|
|
59
|
+
tiktok?: string | undefined;
|
|
60
|
+
customUrl?: string | undefined;
|
|
61
|
+
customUrlLabel?: string | undefined;
|
|
62
|
+
}>;
|
|
35
63
|
declare const userDataSchema: z.ZodObject<{
|
|
36
64
|
firstName: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
37
65
|
lastName: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
@@ -188,7 +216,308 @@ declare const physicalContentOverridesSchema: z.ZodObject<{
|
|
|
188
216
|
company?: string | undefined;
|
|
189
217
|
displayName?: string | undefined;
|
|
190
218
|
}>;
|
|
191
|
-
declare const
|
|
219
|
+
declare const cardDesignMaterialSchema: z.ZodEnum<["3dprint_standard", "metal", "bamboo"]>;
|
|
220
|
+
declare const patternFamilySchema: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
221
|
+
declare const cardDesignPatternSchema: z.ZodEffects<z.ZodObject<{
|
|
222
|
+
family: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
223
|
+
variant: z.ZodEnum<["pulse", "bell"]>;
|
|
224
|
+
density: z.ZodNumber;
|
|
225
|
+
holeMinMm: z.ZodNumber;
|
|
226
|
+
holeMaxMm: z.ZodNumber;
|
|
227
|
+
intensity: z.ZodNumber;
|
|
228
|
+
cellShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
229
|
+
cellRotationDeg: z.ZodNumber;
|
|
230
|
+
chipShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
231
|
+
chipRotationDeg: z.ZodNumber;
|
|
232
|
+
}, "strip", z.ZodTypeAny, {
|
|
233
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
234
|
+
variant: "pulse" | "bell";
|
|
235
|
+
density: number;
|
|
236
|
+
holeMinMm: number;
|
|
237
|
+
holeMaxMm: number;
|
|
238
|
+
intensity: number;
|
|
239
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
240
|
+
cellRotationDeg: number;
|
|
241
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
242
|
+
chipRotationDeg: number;
|
|
243
|
+
}, {
|
|
244
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
245
|
+
variant: "pulse" | "bell";
|
|
246
|
+
density: number;
|
|
247
|
+
holeMinMm: number;
|
|
248
|
+
holeMaxMm: number;
|
|
249
|
+
intensity: number;
|
|
250
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
251
|
+
cellRotationDeg: number;
|
|
252
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
253
|
+
chipRotationDeg: number;
|
|
254
|
+
}>, {
|
|
255
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
256
|
+
variant: "pulse" | "bell";
|
|
257
|
+
density: number;
|
|
258
|
+
holeMinMm: number;
|
|
259
|
+
holeMaxMm: number;
|
|
260
|
+
intensity: number;
|
|
261
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
262
|
+
cellRotationDeg: number;
|
|
263
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
264
|
+
chipRotationDeg: number;
|
|
265
|
+
}, {
|
|
266
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
267
|
+
variant: "pulse" | "bell";
|
|
268
|
+
density: number;
|
|
269
|
+
holeMinMm: number;
|
|
270
|
+
holeMaxMm: number;
|
|
271
|
+
intensity: number;
|
|
272
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
273
|
+
cellRotationDeg: number;
|
|
274
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
275
|
+
chipRotationDeg: number;
|
|
276
|
+
}>;
|
|
277
|
+
declare const cardDesignSchema: z.ZodObject<{
|
|
278
|
+
material: z.ZodEnum<["3dprint_standard", "metal", "bamboo"]>;
|
|
279
|
+
designType: z.ZodEnum<["template", "custom"]>;
|
|
280
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
281
|
+
thicknessMm: z.ZodNumber;
|
|
282
|
+
pattern: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
283
|
+
family: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
284
|
+
variant: z.ZodEnum<["pulse", "bell"]>;
|
|
285
|
+
density: z.ZodNumber;
|
|
286
|
+
holeMinMm: z.ZodNumber;
|
|
287
|
+
holeMaxMm: z.ZodNumber;
|
|
288
|
+
intensity: z.ZodNumber;
|
|
289
|
+
cellShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
290
|
+
cellRotationDeg: z.ZodNumber;
|
|
291
|
+
chipShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
292
|
+
chipRotationDeg: z.ZodNumber;
|
|
293
|
+
}, "strip", z.ZodTypeAny, {
|
|
294
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
295
|
+
variant: "pulse" | "bell";
|
|
296
|
+
density: number;
|
|
297
|
+
holeMinMm: number;
|
|
298
|
+
holeMaxMm: number;
|
|
299
|
+
intensity: number;
|
|
300
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
301
|
+
cellRotationDeg: number;
|
|
302
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
303
|
+
chipRotationDeg: number;
|
|
304
|
+
}, {
|
|
305
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
306
|
+
variant: "pulse" | "bell";
|
|
307
|
+
density: number;
|
|
308
|
+
holeMinMm: number;
|
|
309
|
+
holeMaxMm: number;
|
|
310
|
+
intensity: number;
|
|
311
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
312
|
+
cellRotationDeg: number;
|
|
313
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
314
|
+
chipRotationDeg: number;
|
|
315
|
+
}>, {
|
|
316
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
317
|
+
variant: "pulse" | "bell";
|
|
318
|
+
density: number;
|
|
319
|
+
holeMinMm: number;
|
|
320
|
+
holeMaxMm: number;
|
|
321
|
+
intensity: number;
|
|
322
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
323
|
+
cellRotationDeg: number;
|
|
324
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
325
|
+
chipRotationDeg: number;
|
|
326
|
+
}, {
|
|
327
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
328
|
+
variant: "pulse" | "bell";
|
|
329
|
+
density: number;
|
|
330
|
+
holeMinMm: number;
|
|
331
|
+
holeMaxMm: number;
|
|
332
|
+
intensity: number;
|
|
333
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
334
|
+
cellRotationDeg: number;
|
|
335
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
336
|
+
chipRotationDeg: number;
|
|
337
|
+
}>>;
|
|
338
|
+
layout: z.ZodObject<{
|
|
339
|
+
chipAnchor: z.ZodObject<{
|
|
340
|
+
col: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
341
|
+
row: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
342
|
+
}, "strip", z.ZodTypeAny, {
|
|
343
|
+
col: 0 | 1 | 2;
|
|
344
|
+
row: 0 | 1 | 2;
|
|
345
|
+
}, {
|
|
346
|
+
col: 0 | 1 | 2;
|
|
347
|
+
row: 0 | 1 | 2;
|
|
348
|
+
}>;
|
|
349
|
+
}, "strip", z.ZodTypeAny, {
|
|
350
|
+
chipAnchor: {
|
|
351
|
+
col: 0 | 1 | 2;
|
|
352
|
+
row: 0 | 1 | 2;
|
|
353
|
+
};
|
|
354
|
+
}, {
|
|
355
|
+
chipAnchor: {
|
|
356
|
+
col: 0 | 1 | 2;
|
|
357
|
+
row: 0 | 1 | 2;
|
|
358
|
+
};
|
|
359
|
+
}>;
|
|
360
|
+
filaments: z.ZodObject<{
|
|
361
|
+
background: z.ZodString;
|
|
362
|
+
text: z.ZodString;
|
|
363
|
+
accent: z.ZodString;
|
|
364
|
+
}, "strip", z.ZodTypeAny, {
|
|
365
|
+
background: string;
|
|
366
|
+
text: string;
|
|
367
|
+
accent: string;
|
|
368
|
+
}, {
|
|
369
|
+
background: string;
|
|
370
|
+
text: string;
|
|
371
|
+
accent: string;
|
|
372
|
+
}>;
|
|
373
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
374
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
375
|
+
text: z.ZodString;
|
|
376
|
+
sizeMm: z.ZodNumber;
|
|
377
|
+
weight: z.ZodNumber;
|
|
378
|
+
role: z.ZodEnum<["text", "accent"]>;
|
|
379
|
+
}, "strip", z.ZodTypeAny, {
|
|
380
|
+
text: string;
|
|
381
|
+
sizeMm: number;
|
|
382
|
+
weight: number;
|
|
383
|
+
role: "text" | "accent";
|
|
384
|
+
}, {
|
|
385
|
+
text: string;
|
|
386
|
+
sizeMm: number;
|
|
387
|
+
weight: number;
|
|
388
|
+
role: "text" | "accent";
|
|
389
|
+
}>, "many">;
|
|
390
|
+
}, "strip", z.ZodTypeAny, {
|
|
391
|
+
lines: {
|
|
392
|
+
text: string;
|
|
393
|
+
sizeMm: number;
|
|
394
|
+
weight: number;
|
|
395
|
+
role: "text" | "accent";
|
|
396
|
+
}[];
|
|
397
|
+
}, {
|
|
398
|
+
lines: {
|
|
399
|
+
text: string;
|
|
400
|
+
sizeMm: number;
|
|
401
|
+
weight: number;
|
|
402
|
+
role: "text" | "accent";
|
|
403
|
+
}[];
|
|
404
|
+
}>>;
|
|
405
|
+
qr: z.ZodOptional<z.ZodObject<{
|
|
406
|
+
enabled: z.ZodBoolean;
|
|
407
|
+
url: z.ZodString;
|
|
408
|
+
}, "strip", z.ZodTypeAny, {
|
|
409
|
+
enabled: boolean;
|
|
410
|
+
url: string;
|
|
411
|
+
}, {
|
|
412
|
+
enabled: boolean;
|
|
413
|
+
url: string;
|
|
414
|
+
}>>;
|
|
415
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
416
|
+
svg: z.ZodOptional<z.ZodString>;
|
|
417
|
+
svgPath: z.ZodOptional<z.ZodString>;
|
|
418
|
+
}, "strip", z.ZodTypeAny, {
|
|
419
|
+
svg?: string | undefined;
|
|
420
|
+
svgPath?: string | undefined;
|
|
421
|
+
}, {
|
|
422
|
+
svg?: string | undefined;
|
|
423
|
+
svgPath?: string | undefined;
|
|
424
|
+
}>>;
|
|
425
|
+
wordmark: z.ZodOptional<z.ZodBoolean>;
|
|
426
|
+
contentFace: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
|
|
427
|
+
}, "strip", z.ZodTypeAny, {
|
|
428
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
429
|
+
designType: "custom" | "template";
|
|
430
|
+
thicknessMm: number;
|
|
431
|
+
pattern: {
|
|
432
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
433
|
+
variant: "pulse" | "bell";
|
|
434
|
+
density: number;
|
|
435
|
+
holeMinMm: number;
|
|
436
|
+
holeMaxMm: number;
|
|
437
|
+
intensity: number;
|
|
438
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
439
|
+
cellRotationDeg: number;
|
|
440
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
441
|
+
chipRotationDeg: number;
|
|
442
|
+
} | null;
|
|
443
|
+
layout: {
|
|
444
|
+
chipAnchor: {
|
|
445
|
+
col: 0 | 1 | 2;
|
|
446
|
+
row: 0 | 1 | 2;
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
filaments: {
|
|
450
|
+
background: string;
|
|
451
|
+
text: string;
|
|
452
|
+
accent: string;
|
|
453
|
+
};
|
|
454
|
+
templateId?: string | undefined;
|
|
455
|
+
content?: {
|
|
456
|
+
lines: {
|
|
457
|
+
text: string;
|
|
458
|
+
sizeMm: number;
|
|
459
|
+
weight: number;
|
|
460
|
+
role: "text" | "accent";
|
|
461
|
+
}[];
|
|
462
|
+
} | undefined;
|
|
463
|
+
qr?: {
|
|
464
|
+
enabled: boolean;
|
|
465
|
+
url: string;
|
|
466
|
+
} | undefined;
|
|
467
|
+
logo?: {
|
|
468
|
+
svg?: string | undefined;
|
|
469
|
+
svgPath?: string | undefined;
|
|
470
|
+
} | undefined;
|
|
471
|
+
wordmark?: boolean | undefined;
|
|
472
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
473
|
+
}, {
|
|
474
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
475
|
+
designType: "custom" | "template";
|
|
476
|
+
thicknessMm: number;
|
|
477
|
+
pattern: {
|
|
478
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
479
|
+
variant: "pulse" | "bell";
|
|
480
|
+
density: number;
|
|
481
|
+
holeMinMm: number;
|
|
482
|
+
holeMaxMm: number;
|
|
483
|
+
intensity: number;
|
|
484
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
485
|
+
cellRotationDeg: number;
|
|
486
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
487
|
+
chipRotationDeg: number;
|
|
488
|
+
} | null;
|
|
489
|
+
layout: {
|
|
490
|
+
chipAnchor: {
|
|
491
|
+
col: 0 | 1 | 2;
|
|
492
|
+
row: 0 | 1 | 2;
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
filaments: {
|
|
496
|
+
background: string;
|
|
497
|
+
text: string;
|
|
498
|
+
accent: string;
|
|
499
|
+
};
|
|
500
|
+
templateId?: string | undefined;
|
|
501
|
+
content?: {
|
|
502
|
+
lines: {
|
|
503
|
+
text: string;
|
|
504
|
+
sizeMm: number;
|
|
505
|
+
weight: number;
|
|
506
|
+
role: "text" | "accent";
|
|
507
|
+
}[];
|
|
508
|
+
} | undefined;
|
|
509
|
+
qr?: {
|
|
510
|
+
enabled: boolean;
|
|
511
|
+
url: string;
|
|
512
|
+
} | undefined;
|
|
513
|
+
logo?: {
|
|
514
|
+
svg?: string | undefined;
|
|
515
|
+
svgPath?: string | undefined;
|
|
516
|
+
} | undefined;
|
|
517
|
+
wordmark?: boolean | undefined;
|
|
518
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
519
|
+
}>;
|
|
520
|
+
declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
192
521
|
material: z.ZodEnum<["plastic", "3dprint_standard", "metal", "bamboo"]>;
|
|
193
522
|
colour: z.ZodOptional<z.ZodString>;
|
|
194
523
|
comboId: z.ZodEnum<["A1", "A2", "B1", "B2", "C1", "C2", "D1", "D2", "E1", "E2"]>;
|
|
@@ -302,6 +631,249 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
302
631
|
displayName?: string | undefined;
|
|
303
632
|
}>>;
|
|
304
633
|
companyLogoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
634
|
+
cardDesign: z.ZodOptional<z.ZodObject<{
|
|
635
|
+
material: z.ZodEnum<["3dprint_standard", "metal", "bamboo"]>;
|
|
636
|
+
designType: z.ZodEnum<["template", "custom"]>;
|
|
637
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
638
|
+
thicknessMm: z.ZodNumber;
|
|
639
|
+
pattern: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
640
|
+
family: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
641
|
+
variant: z.ZodEnum<["pulse", "bell"]>;
|
|
642
|
+
density: z.ZodNumber;
|
|
643
|
+
holeMinMm: z.ZodNumber;
|
|
644
|
+
holeMaxMm: z.ZodNumber;
|
|
645
|
+
intensity: z.ZodNumber;
|
|
646
|
+
cellShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
647
|
+
cellRotationDeg: z.ZodNumber;
|
|
648
|
+
chipShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
649
|
+
chipRotationDeg: z.ZodNumber;
|
|
650
|
+
}, "strip", z.ZodTypeAny, {
|
|
651
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
652
|
+
variant: "pulse" | "bell";
|
|
653
|
+
density: number;
|
|
654
|
+
holeMinMm: number;
|
|
655
|
+
holeMaxMm: number;
|
|
656
|
+
intensity: number;
|
|
657
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
658
|
+
cellRotationDeg: number;
|
|
659
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
660
|
+
chipRotationDeg: number;
|
|
661
|
+
}, {
|
|
662
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
663
|
+
variant: "pulse" | "bell";
|
|
664
|
+
density: number;
|
|
665
|
+
holeMinMm: number;
|
|
666
|
+
holeMaxMm: number;
|
|
667
|
+
intensity: number;
|
|
668
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
669
|
+
cellRotationDeg: number;
|
|
670
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
671
|
+
chipRotationDeg: number;
|
|
672
|
+
}>, {
|
|
673
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
674
|
+
variant: "pulse" | "bell";
|
|
675
|
+
density: number;
|
|
676
|
+
holeMinMm: number;
|
|
677
|
+
holeMaxMm: number;
|
|
678
|
+
intensity: number;
|
|
679
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
680
|
+
cellRotationDeg: number;
|
|
681
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
682
|
+
chipRotationDeg: number;
|
|
683
|
+
}, {
|
|
684
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
685
|
+
variant: "pulse" | "bell";
|
|
686
|
+
density: number;
|
|
687
|
+
holeMinMm: number;
|
|
688
|
+
holeMaxMm: number;
|
|
689
|
+
intensity: number;
|
|
690
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
691
|
+
cellRotationDeg: number;
|
|
692
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
693
|
+
chipRotationDeg: number;
|
|
694
|
+
}>>;
|
|
695
|
+
layout: z.ZodObject<{
|
|
696
|
+
chipAnchor: z.ZodObject<{
|
|
697
|
+
col: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
698
|
+
row: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
699
|
+
}, "strip", z.ZodTypeAny, {
|
|
700
|
+
col: 0 | 1 | 2;
|
|
701
|
+
row: 0 | 1 | 2;
|
|
702
|
+
}, {
|
|
703
|
+
col: 0 | 1 | 2;
|
|
704
|
+
row: 0 | 1 | 2;
|
|
705
|
+
}>;
|
|
706
|
+
}, "strip", z.ZodTypeAny, {
|
|
707
|
+
chipAnchor: {
|
|
708
|
+
col: 0 | 1 | 2;
|
|
709
|
+
row: 0 | 1 | 2;
|
|
710
|
+
};
|
|
711
|
+
}, {
|
|
712
|
+
chipAnchor: {
|
|
713
|
+
col: 0 | 1 | 2;
|
|
714
|
+
row: 0 | 1 | 2;
|
|
715
|
+
};
|
|
716
|
+
}>;
|
|
717
|
+
filaments: z.ZodObject<{
|
|
718
|
+
background: z.ZodString;
|
|
719
|
+
text: z.ZodString;
|
|
720
|
+
accent: z.ZodString;
|
|
721
|
+
}, "strip", z.ZodTypeAny, {
|
|
722
|
+
background: string;
|
|
723
|
+
text: string;
|
|
724
|
+
accent: string;
|
|
725
|
+
}, {
|
|
726
|
+
background: string;
|
|
727
|
+
text: string;
|
|
728
|
+
accent: string;
|
|
729
|
+
}>;
|
|
730
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
731
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
732
|
+
text: z.ZodString;
|
|
733
|
+
sizeMm: z.ZodNumber;
|
|
734
|
+
weight: z.ZodNumber;
|
|
735
|
+
role: z.ZodEnum<["text", "accent"]>;
|
|
736
|
+
}, "strip", z.ZodTypeAny, {
|
|
737
|
+
text: string;
|
|
738
|
+
sizeMm: number;
|
|
739
|
+
weight: number;
|
|
740
|
+
role: "text" | "accent";
|
|
741
|
+
}, {
|
|
742
|
+
text: string;
|
|
743
|
+
sizeMm: number;
|
|
744
|
+
weight: number;
|
|
745
|
+
role: "text" | "accent";
|
|
746
|
+
}>, "many">;
|
|
747
|
+
}, "strip", z.ZodTypeAny, {
|
|
748
|
+
lines: {
|
|
749
|
+
text: string;
|
|
750
|
+
sizeMm: number;
|
|
751
|
+
weight: number;
|
|
752
|
+
role: "text" | "accent";
|
|
753
|
+
}[];
|
|
754
|
+
}, {
|
|
755
|
+
lines: {
|
|
756
|
+
text: string;
|
|
757
|
+
sizeMm: number;
|
|
758
|
+
weight: number;
|
|
759
|
+
role: "text" | "accent";
|
|
760
|
+
}[];
|
|
761
|
+
}>>;
|
|
762
|
+
qr: z.ZodOptional<z.ZodObject<{
|
|
763
|
+
enabled: z.ZodBoolean;
|
|
764
|
+
url: z.ZodString;
|
|
765
|
+
}, "strip", z.ZodTypeAny, {
|
|
766
|
+
enabled: boolean;
|
|
767
|
+
url: string;
|
|
768
|
+
}, {
|
|
769
|
+
enabled: boolean;
|
|
770
|
+
url: string;
|
|
771
|
+
}>>;
|
|
772
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
773
|
+
svg: z.ZodOptional<z.ZodString>;
|
|
774
|
+
svgPath: z.ZodOptional<z.ZodString>;
|
|
775
|
+
}, "strip", z.ZodTypeAny, {
|
|
776
|
+
svg?: string | undefined;
|
|
777
|
+
svgPath?: string | undefined;
|
|
778
|
+
}, {
|
|
779
|
+
svg?: string | undefined;
|
|
780
|
+
svgPath?: string | undefined;
|
|
781
|
+
}>>;
|
|
782
|
+
wordmark: z.ZodOptional<z.ZodBoolean>;
|
|
783
|
+
contentFace: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
|
|
784
|
+
}, "strip", z.ZodTypeAny, {
|
|
785
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
786
|
+
designType: "custom" | "template";
|
|
787
|
+
thicknessMm: number;
|
|
788
|
+
pattern: {
|
|
789
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
790
|
+
variant: "pulse" | "bell";
|
|
791
|
+
density: number;
|
|
792
|
+
holeMinMm: number;
|
|
793
|
+
holeMaxMm: number;
|
|
794
|
+
intensity: number;
|
|
795
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
796
|
+
cellRotationDeg: number;
|
|
797
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
798
|
+
chipRotationDeg: number;
|
|
799
|
+
} | null;
|
|
800
|
+
layout: {
|
|
801
|
+
chipAnchor: {
|
|
802
|
+
col: 0 | 1 | 2;
|
|
803
|
+
row: 0 | 1 | 2;
|
|
804
|
+
};
|
|
805
|
+
};
|
|
806
|
+
filaments: {
|
|
807
|
+
background: string;
|
|
808
|
+
text: string;
|
|
809
|
+
accent: string;
|
|
810
|
+
};
|
|
811
|
+
templateId?: string | undefined;
|
|
812
|
+
content?: {
|
|
813
|
+
lines: {
|
|
814
|
+
text: string;
|
|
815
|
+
sizeMm: number;
|
|
816
|
+
weight: number;
|
|
817
|
+
role: "text" | "accent";
|
|
818
|
+
}[];
|
|
819
|
+
} | undefined;
|
|
820
|
+
qr?: {
|
|
821
|
+
enabled: boolean;
|
|
822
|
+
url: string;
|
|
823
|
+
} | undefined;
|
|
824
|
+
logo?: {
|
|
825
|
+
svg?: string | undefined;
|
|
826
|
+
svgPath?: string | undefined;
|
|
827
|
+
} | undefined;
|
|
828
|
+
wordmark?: boolean | undefined;
|
|
829
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
830
|
+
}, {
|
|
831
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
832
|
+
designType: "custom" | "template";
|
|
833
|
+
thicknessMm: number;
|
|
834
|
+
pattern: {
|
|
835
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
836
|
+
variant: "pulse" | "bell";
|
|
837
|
+
density: number;
|
|
838
|
+
holeMinMm: number;
|
|
839
|
+
holeMaxMm: number;
|
|
840
|
+
intensity: number;
|
|
841
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
842
|
+
cellRotationDeg: number;
|
|
843
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
844
|
+
chipRotationDeg: number;
|
|
845
|
+
} | null;
|
|
846
|
+
layout: {
|
|
847
|
+
chipAnchor: {
|
|
848
|
+
col: 0 | 1 | 2;
|
|
849
|
+
row: 0 | 1 | 2;
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
filaments: {
|
|
853
|
+
background: string;
|
|
854
|
+
text: string;
|
|
855
|
+
accent: string;
|
|
856
|
+
};
|
|
857
|
+
templateId?: string | undefined;
|
|
858
|
+
content?: {
|
|
859
|
+
lines: {
|
|
860
|
+
text: string;
|
|
861
|
+
sizeMm: number;
|
|
862
|
+
weight: number;
|
|
863
|
+
role: "text" | "accent";
|
|
864
|
+
}[];
|
|
865
|
+
} | undefined;
|
|
866
|
+
qr?: {
|
|
867
|
+
enabled: boolean;
|
|
868
|
+
url: string;
|
|
869
|
+
} | undefined;
|
|
870
|
+
logo?: {
|
|
871
|
+
svg?: string | undefined;
|
|
872
|
+
svgPath?: string | undefined;
|
|
873
|
+
} | undefined;
|
|
874
|
+
wordmark?: boolean | undefined;
|
|
875
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
876
|
+
}>>;
|
|
305
877
|
}, "strip", z.ZodTypeAny, {
|
|
306
878
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
307
879
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -348,6 +920,239 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
348
920
|
company?: string | undefined;
|
|
349
921
|
displayName?: string | undefined;
|
|
350
922
|
} | undefined;
|
|
923
|
+
cardDesign?: {
|
|
924
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
925
|
+
designType: "custom" | "template";
|
|
926
|
+
thicknessMm: number;
|
|
927
|
+
pattern: {
|
|
928
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
929
|
+
variant: "pulse" | "bell";
|
|
930
|
+
density: number;
|
|
931
|
+
holeMinMm: number;
|
|
932
|
+
holeMaxMm: number;
|
|
933
|
+
intensity: number;
|
|
934
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
935
|
+
cellRotationDeg: number;
|
|
936
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
937
|
+
chipRotationDeg: number;
|
|
938
|
+
} | null;
|
|
939
|
+
layout: {
|
|
940
|
+
chipAnchor: {
|
|
941
|
+
col: 0 | 1 | 2;
|
|
942
|
+
row: 0 | 1 | 2;
|
|
943
|
+
};
|
|
944
|
+
};
|
|
945
|
+
filaments: {
|
|
946
|
+
background: string;
|
|
947
|
+
text: string;
|
|
948
|
+
accent: string;
|
|
949
|
+
};
|
|
950
|
+
templateId?: string | undefined;
|
|
951
|
+
content?: {
|
|
952
|
+
lines: {
|
|
953
|
+
text: string;
|
|
954
|
+
sizeMm: number;
|
|
955
|
+
weight: number;
|
|
956
|
+
role: "text" | "accent";
|
|
957
|
+
}[];
|
|
958
|
+
} | undefined;
|
|
959
|
+
qr?: {
|
|
960
|
+
enabled: boolean;
|
|
961
|
+
url: string;
|
|
962
|
+
} | undefined;
|
|
963
|
+
logo?: {
|
|
964
|
+
svg?: string | undefined;
|
|
965
|
+
svgPath?: string | undefined;
|
|
966
|
+
} | undefined;
|
|
967
|
+
wordmark?: boolean | undefined;
|
|
968
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
969
|
+
} | undefined;
|
|
970
|
+
}, {
|
|
971
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
972
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
973
|
+
frontElements: {
|
|
974
|
+
showName: boolean;
|
|
975
|
+
showPosition: boolean;
|
|
976
|
+
showEmail: boolean;
|
|
977
|
+
showPhone: boolean;
|
|
978
|
+
showCompany: boolean;
|
|
979
|
+
showLogo: boolean;
|
|
980
|
+
showQr: boolean;
|
|
981
|
+
showPhoto: boolean;
|
|
982
|
+
};
|
|
983
|
+
backElements: {
|
|
984
|
+
showName: boolean;
|
|
985
|
+
showPosition: boolean;
|
|
986
|
+
showEmail: boolean;
|
|
987
|
+
showPhone: boolean;
|
|
988
|
+
showCompany: boolean;
|
|
989
|
+
showLogo: boolean;
|
|
990
|
+
showQr: boolean;
|
|
991
|
+
showPhoto: boolean;
|
|
992
|
+
};
|
|
993
|
+
companyLogoUrl?: string | undefined;
|
|
994
|
+
colour?: string | undefined;
|
|
995
|
+
qrTargetUrl?: string | undefined;
|
|
996
|
+
customDesignRequest?: string | undefined;
|
|
997
|
+
frontContactToggles?: {
|
|
998
|
+
showEmail?: boolean | undefined;
|
|
999
|
+
showPhone?: boolean | undefined;
|
|
1000
|
+
showLocation?: boolean | undefined;
|
|
1001
|
+
} | undefined;
|
|
1002
|
+
backContactToggles?: {
|
|
1003
|
+
showEmail?: boolean | undefined;
|
|
1004
|
+
showPhone?: boolean | undefined;
|
|
1005
|
+
showLocation?: boolean | undefined;
|
|
1006
|
+
} | undefined;
|
|
1007
|
+
contentOverrides?: {
|
|
1008
|
+
position?: string | undefined;
|
|
1009
|
+
email?: string | undefined;
|
|
1010
|
+
phone?: string | undefined;
|
|
1011
|
+
phoneCountryCode?: string | undefined;
|
|
1012
|
+
location?: string | undefined;
|
|
1013
|
+
company?: string | undefined;
|
|
1014
|
+
displayName?: string | undefined;
|
|
1015
|
+
} | undefined;
|
|
1016
|
+
cardDesign?: {
|
|
1017
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
1018
|
+
designType: "custom" | "template";
|
|
1019
|
+
thicknessMm: number;
|
|
1020
|
+
pattern: {
|
|
1021
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1022
|
+
variant: "pulse" | "bell";
|
|
1023
|
+
density: number;
|
|
1024
|
+
holeMinMm: number;
|
|
1025
|
+
holeMaxMm: number;
|
|
1026
|
+
intensity: number;
|
|
1027
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1028
|
+
cellRotationDeg: number;
|
|
1029
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1030
|
+
chipRotationDeg: number;
|
|
1031
|
+
} | null;
|
|
1032
|
+
layout: {
|
|
1033
|
+
chipAnchor: {
|
|
1034
|
+
col: 0 | 1 | 2;
|
|
1035
|
+
row: 0 | 1 | 2;
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
1038
|
+
filaments: {
|
|
1039
|
+
background: string;
|
|
1040
|
+
text: string;
|
|
1041
|
+
accent: string;
|
|
1042
|
+
};
|
|
1043
|
+
templateId?: string | undefined;
|
|
1044
|
+
content?: {
|
|
1045
|
+
lines: {
|
|
1046
|
+
text: string;
|
|
1047
|
+
sizeMm: number;
|
|
1048
|
+
weight: number;
|
|
1049
|
+
role: "text" | "accent";
|
|
1050
|
+
}[];
|
|
1051
|
+
} | undefined;
|
|
1052
|
+
qr?: {
|
|
1053
|
+
enabled: boolean;
|
|
1054
|
+
url: string;
|
|
1055
|
+
} | undefined;
|
|
1056
|
+
logo?: {
|
|
1057
|
+
svg?: string | undefined;
|
|
1058
|
+
svgPath?: string | undefined;
|
|
1059
|
+
} | undefined;
|
|
1060
|
+
wordmark?: boolean | undefined;
|
|
1061
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
1062
|
+
} | undefined;
|
|
1063
|
+
}>, {
|
|
1064
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
1065
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
1066
|
+
frontElements: {
|
|
1067
|
+
showName: boolean;
|
|
1068
|
+
showPosition: boolean;
|
|
1069
|
+
showEmail: boolean;
|
|
1070
|
+
showPhone: boolean;
|
|
1071
|
+
showCompany: boolean;
|
|
1072
|
+
showLogo: boolean;
|
|
1073
|
+
showQr: boolean;
|
|
1074
|
+
showPhoto: boolean;
|
|
1075
|
+
};
|
|
1076
|
+
backElements: {
|
|
1077
|
+
showName: boolean;
|
|
1078
|
+
showPosition: boolean;
|
|
1079
|
+
showEmail: boolean;
|
|
1080
|
+
showPhone: boolean;
|
|
1081
|
+
showCompany: boolean;
|
|
1082
|
+
showLogo: boolean;
|
|
1083
|
+
showQr: boolean;
|
|
1084
|
+
showPhoto: boolean;
|
|
1085
|
+
};
|
|
1086
|
+
companyLogoUrl?: string | undefined;
|
|
1087
|
+
colour?: string | undefined;
|
|
1088
|
+
qrTargetUrl?: string | undefined;
|
|
1089
|
+
customDesignRequest?: string | undefined;
|
|
1090
|
+
frontContactToggles?: {
|
|
1091
|
+
showEmail?: boolean | undefined;
|
|
1092
|
+
showPhone?: boolean | undefined;
|
|
1093
|
+
showLocation?: boolean | undefined;
|
|
1094
|
+
} | undefined;
|
|
1095
|
+
backContactToggles?: {
|
|
1096
|
+
showEmail?: boolean | undefined;
|
|
1097
|
+
showPhone?: boolean | undefined;
|
|
1098
|
+
showLocation?: boolean | undefined;
|
|
1099
|
+
} | undefined;
|
|
1100
|
+
contentOverrides?: {
|
|
1101
|
+
position?: string | undefined;
|
|
1102
|
+
email?: string | undefined;
|
|
1103
|
+
phone?: string | undefined;
|
|
1104
|
+
phoneCountryCode?: string | undefined;
|
|
1105
|
+
location?: string | undefined;
|
|
1106
|
+
company?: string | undefined;
|
|
1107
|
+
displayName?: string | undefined;
|
|
1108
|
+
} | undefined;
|
|
1109
|
+
cardDesign?: {
|
|
1110
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
1111
|
+
designType: "custom" | "template";
|
|
1112
|
+
thicknessMm: number;
|
|
1113
|
+
pattern: {
|
|
1114
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1115
|
+
variant: "pulse" | "bell";
|
|
1116
|
+
density: number;
|
|
1117
|
+
holeMinMm: number;
|
|
1118
|
+
holeMaxMm: number;
|
|
1119
|
+
intensity: number;
|
|
1120
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1121
|
+
cellRotationDeg: number;
|
|
1122
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1123
|
+
chipRotationDeg: number;
|
|
1124
|
+
} | null;
|
|
1125
|
+
layout: {
|
|
1126
|
+
chipAnchor: {
|
|
1127
|
+
col: 0 | 1 | 2;
|
|
1128
|
+
row: 0 | 1 | 2;
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
filaments: {
|
|
1132
|
+
background: string;
|
|
1133
|
+
text: string;
|
|
1134
|
+
accent: string;
|
|
1135
|
+
};
|
|
1136
|
+
templateId?: string | undefined;
|
|
1137
|
+
content?: {
|
|
1138
|
+
lines: {
|
|
1139
|
+
text: string;
|
|
1140
|
+
sizeMm: number;
|
|
1141
|
+
weight: number;
|
|
1142
|
+
role: "text" | "accent";
|
|
1143
|
+
}[];
|
|
1144
|
+
} | undefined;
|
|
1145
|
+
qr?: {
|
|
1146
|
+
enabled: boolean;
|
|
1147
|
+
url: string;
|
|
1148
|
+
} | undefined;
|
|
1149
|
+
logo?: {
|
|
1150
|
+
svg?: string | undefined;
|
|
1151
|
+
svgPath?: string | undefined;
|
|
1152
|
+
} | undefined;
|
|
1153
|
+
wordmark?: boolean | undefined;
|
|
1154
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
1155
|
+
} | undefined;
|
|
351
1156
|
}, {
|
|
352
1157
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
353
1158
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -394,6 +1199,53 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
394
1199
|
company?: string | undefined;
|
|
395
1200
|
displayName?: string | undefined;
|
|
396
1201
|
} | undefined;
|
|
1202
|
+
cardDesign?: {
|
|
1203
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
1204
|
+
designType: "custom" | "template";
|
|
1205
|
+
thicknessMm: number;
|
|
1206
|
+
pattern: {
|
|
1207
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1208
|
+
variant: "pulse" | "bell";
|
|
1209
|
+
density: number;
|
|
1210
|
+
holeMinMm: number;
|
|
1211
|
+
holeMaxMm: number;
|
|
1212
|
+
intensity: number;
|
|
1213
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1214
|
+
cellRotationDeg: number;
|
|
1215
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1216
|
+
chipRotationDeg: number;
|
|
1217
|
+
} | null;
|
|
1218
|
+
layout: {
|
|
1219
|
+
chipAnchor: {
|
|
1220
|
+
col: 0 | 1 | 2;
|
|
1221
|
+
row: 0 | 1 | 2;
|
|
1222
|
+
};
|
|
1223
|
+
};
|
|
1224
|
+
filaments: {
|
|
1225
|
+
background: string;
|
|
1226
|
+
text: string;
|
|
1227
|
+
accent: string;
|
|
1228
|
+
};
|
|
1229
|
+
templateId?: string | undefined;
|
|
1230
|
+
content?: {
|
|
1231
|
+
lines: {
|
|
1232
|
+
text: string;
|
|
1233
|
+
sizeMm: number;
|
|
1234
|
+
weight: number;
|
|
1235
|
+
role: "text" | "accent";
|
|
1236
|
+
}[];
|
|
1237
|
+
} | undefined;
|
|
1238
|
+
qr?: {
|
|
1239
|
+
enabled: boolean;
|
|
1240
|
+
url: string;
|
|
1241
|
+
} | undefined;
|
|
1242
|
+
logo?: {
|
|
1243
|
+
svg?: string | undefined;
|
|
1244
|
+
svgPath?: string | undefined;
|
|
1245
|
+
} | undefined;
|
|
1246
|
+
wordmark?: boolean | undefined;
|
|
1247
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
1248
|
+
} | undefined;
|
|
397
1249
|
}>, {
|
|
398
1250
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
399
1251
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -440,6 +1292,53 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
440
1292
|
company?: string | undefined;
|
|
441
1293
|
displayName?: string | undefined;
|
|
442
1294
|
} | undefined;
|
|
1295
|
+
cardDesign?: {
|
|
1296
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
1297
|
+
designType: "custom" | "template";
|
|
1298
|
+
thicknessMm: number;
|
|
1299
|
+
pattern: {
|
|
1300
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1301
|
+
variant: "pulse" | "bell";
|
|
1302
|
+
density: number;
|
|
1303
|
+
holeMinMm: number;
|
|
1304
|
+
holeMaxMm: number;
|
|
1305
|
+
intensity: number;
|
|
1306
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1307
|
+
cellRotationDeg: number;
|
|
1308
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1309
|
+
chipRotationDeg: number;
|
|
1310
|
+
} | null;
|
|
1311
|
+
layout: {
|
|
1312
|
+
chipAnchor: {
|
|
1313
|
+
col: 0 | 1 | 2;
|
|
1314
|
+
row: 0 | 1 | 2;
|
|
1315
|
+
};
|
|
1316
|
+
};
|
|
1317
|
+
filaments: {
|
|
1318
|
+
background: string;
|
|
1319
|
+
text: string;
|
|
1320
|
+
accent: string;
|
|
1321
|
+
};
|
|
1322
|
+
templateId?: string | undefined;
|
|
1323
|
+
content?: {
|
|
1324
|
+
lines: {
|
|
1325
|
+
text: string;
|
|
1326
|
+
sizeMm: number;
|
|
1327
|
+
weight: number;
|
|
1328
|
+
role: "text" | "accent";
|
|
1329
|
+
}[];
|
|
1330
|
+
} | undefined;
|
|
1331
|
+
qr?: {
|
|
1332
|
+
enabled: boolean;
|
|
1333
|
+
url: string;
|
|
1334
|
+
} | undefined;
|
|
1335
|
+
logo?: {
|
|
1336
|
+
svg?: string | undefined;
|
|
1337
|
+
svgPath?: string | undefined;
|
|
1338
|
+
} | undefined;
|
|
1339
|
+
wordmark?: boolean | undefined;
|
|
1340
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
1341
|
+
} | undefined;
|
|
443
1342
|
}, {
|
|
444
1343
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
445
1344
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -486,6 +1385,53 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
486
1385
|
company?: string | undefined;
|
|
487
1386
|
displayName?: string | undefined;
|
|
488
1387
|
} | undefined;
|
|
1388
|
+
cardDesign?: {
|
|
1389
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
1390
|
+
designType: "custom" | "template";
|
|
1391
|
+
thicknessMm: number;
|
|
1392
|
+
pattern: {
|
|
1393
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1394
|
+
variant: "pulse" | "bell";
|
|
1395
|
+
density: number;
|
|
1396
|
+
holeMinMm: number;
|
|
1397
|
+
holeMaxMm: number;
|
|
1398
|
+
intensity: number;
|
|
1399
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1400
|
+
cellRotationDeg: number;
|
|
1401
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1402
|
+
chipRotationDeg: number;
|
|
1403
|
+
} | null;
|
|
1404
|
+
layout: {
|
|
1405
|
+
chipAnchor: {
|
|
1406
|
+
col: 0 | 1 | 2;
|
|
1407
|
+
row: 0 | 1 | 2;
|
|
1408
|
+
};
|
|
1409
|
+
};
|
|
1410
|
+
filaments: {
|
|
1411
|
+
background: string;
|
|
1412
|
+
text: string;
|
|
1413
|
+
accent: string;
|
|
1414
|
+
};
|
|
1415
|
+
templateId?: string | undefined;
|
|
1416
|
+
content?: {
|
|
1417
|
+
lines: {
|
|
1418
|
+
text: string;
|
|
1419
|
+
sizeMm: number;
|
|
1420
|
+
weight: number;
|
|
1421
|
+
role: "text" | "accent";
|
|
1422
|
+
}[];
|
|
1423
|
+
} | undefined;
|
|
1424
|
+
qr?: {
|
|
1425
|
+
enabled: boolean;
|
|
1426
|
+
url: string;
|
|
1427
|
+
} | undefined;
|
|
1428
|
+
logo?: {
|
|
1429
|
+
svg?: string | undefined;
|
|
1430
|
+
svgPath?: string | undefined;
|
|
1431
|
+
} | undefined;
|
|
1432
|
+
wordmark?: boolean | undefined;
|
|
1433
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
1434
|
+
} | undefined;
|
|
489
1435
|
}>;
|
|
490
1436
|
declare const digitalVisibilitySchema: z.ZodObject<{
|
|
491
1437
|
showName: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -521,6 +1467,33 @@ declare const digitalVisibilitySchema: z.ZodObject<{
|
|
|
521
1467
|
showBio?: boolean | undefined;
|
|
522
1468
|
showSocialLinks?: boolean | undefined;
|
|
523
1469
|
}>;
|
|
1470
|
+
declare const MAX_CTA_BUTTONS = 5;
|
|
1471
|
+
declare const ctaButtonSchema: z.ZodObject<{
|
|
1472
|
+
label: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
1473
|
+
url: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
1474
|
+
}, "strip", z.ZodTypeAny, {
|
|
1475
|
+
url: string;
|
|
1476
|
+
label: string;
|
|
1477
|
+
}, {
|
|
1478
|
+
url?: string | undefined;
|
|
1479
|
+
label?: string | undefined;
|
|
1480
|
+
}>;
|
|
1481
|
+
declare const ctaButtonsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1482
|
+
label: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
1483
|
+
url: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
1484
|
+
}, "strip", z.ZodTypeAny, {
|
|
1485
|
+
url: string;
|
|
1486
|
+
label: string;
|
|
1487
|
+
}, {
|
|
1488
|
+
url?: string | undefined;
|
|
1489
|
+
label?: string | undefined;
|
|
1490
|
+
}>, "many">, {
|
|
1491
|
+
url: string;
|
|
1492
|
+
label: string;
|
|
1493
|
+
}[], {
|
|
1494
|
+
url?: string | undefined;
|
|
1495
|
+
label?: string | undefined;
|
|
1496
|
+
}[]>;
|
|
524
1497
|
declare const digitalConfigSchema: z.ZodObject<{
|
|
525
1498
|
templateId: z.ZodEnum<["minimal", "bold", "card", "aurora"]>;
|
|
526
1499
|
accentColor: z.ZodString;
|
|
@@ -565,17 +1538,19 @@ declare const digitalConfigSchema: z.ZodObject<{
|
|
|
565
1538
|
showSocialLinks?: boolean | undefined;
|
|
566
1539
|
}>>;
|
|
567
1540
|
socialOverrides: z.ZodOptional<z.ZodObject<{
|
|
568
|
-
facebook: z.
|
|
569
|
-
linkedin: z.
|
|
570
|
-
instagram: z.
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
1541
|
+
facebook: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1542
|
+
linkedin: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1543
|
+
instagram: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1544
|
+
x: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1545
|
+
youtube: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1546
|
+
tiktok: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1547
|
+
customUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1548
|
+
customUrlLabel: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
575
1549
|
}, "strip", z.ZodTypeAny, {
|
|
576
1550
|
facebook?: string | undefined;
|
|
577
1551
|
linkedin?: string | undefined;
|
|
578
1552
|
instagram?: string | undefined;
|
|
1553
|
+
x?: string | undefined;
|
|
579
1554
|
youtube?: string | undefined;
|
|
580
1555
|
tiktok?: string | undefined;
|
|
581
1556
|
customUrl?: string | undefined;
|
|
@@ -584,11 +1559,28 @@ declare const digitalConfigSchema: z.ZodObject<{
|
|
|
584
1559
|
facebook?: string | undefined;
|
|
585
1560
|
linkedin?: string | undefined;
|
|
586
1561
|
instagram?: string | undefined;
|
|
1562
|
+
x?: string | undefined;
|
|
587
1563
|
youtube?: string | undefined;
|
|
588
1564
|
tiktok?: string | undefined;
|
|
589
1565
|
customUrl?: string | undefined;
|
|
590
1566
|
customUrlLabel?: string | undefined;
|
|
591
1567
|
}>>;
|
|
1568
|
+
ctaButtons: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1569
|
+
label: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
1570
|
+
url: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
1571
|
+
}, "strip", z.ZodTypeAny, {
|
|
1572
|
+
url: string;
|
|
1573
|
+
label: string;
|
|
1574
|
+
}, {
|
|
1575
|
+
url?: string | undefined;
|
|
1576
|
+
label?: string | undefined;
|
|
1577
|
+
}>, "many">, {
|
|
1578
|
+
url: string;
|
|
1579
|
+
label: string;
|
|
1580
|
+
}[], {
|
|
1581
|
+
url?: string | undefined;
|
|
1582
|
+
label?: string | undefined;
|
|
1583
|
+
}[]>>;
|
|
592
1584
|
}, "strip", z.ZodTypeAny, {
|
|
593
1585
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
594
1586
|
accentColor: string;
|
|
@@ -614,11 +1606,16 @@ declare const digitalConfigSchema: z.ZodObject<{
|
|
|
614
1606
|
facebook?: string | undefined;
|
|
615
1607
|
linkedin?: string | undefined;
|
|
616
1608
|
instagram?: string | undefined;
|
|
1609
|
+
x?: string | undefined;
|
|
617
1610
|
youtube?: string | undefined;
|
|
618
1611
|
tiktok?: string | undefined;
|
|
619
1612
|
customUrl?: string | undefined;
|
|
620
1613
|
customUrlLabel?: string | undefined;
|
|
621
1614
|
} | undefined;
|
|
1615
|
+
ctaButtons?: {
|
|
1616
|
+
url: string;
|
|
1617
|
+
label: string;
|
|
1618
|
+
}[] | undefined;
|
|
622
1619
|
}, {
|
|
623
1620
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
624
1621
|
accentColor: string;
|
|
@@ -644,11 +1641,16 @@ declare const digitalConfigSchema: z.ZodObject<{
|
|
|
644
1641
|
facebook?: string | undefined;
|
|
645
1642
|
linkedin?: string | undefined;
|
|
646
1643
|
instagram?: string | undefined;
|
|
1644
|
+
x?: string | undefined;
|
|
647
1645
|
youtube?: string | undefined;
|
|
648
1646
|
tiktok?: string | undefined;
|
|
649
1647
|
customUrl?: string | undefined;
|
|
650
1648
|
customUrlLabel?: string | undefined;
|
|
651
1649
|
} | undefined;
|
|
1650
|
+
ctaButtons?: {
|
|
1651
|
+
url?: string | undefined;
|
|
1652
|
+
label?: string | undefined;
|
|
1653
|
+
}[] | undefined;
|
|
652
1654
|
}>;
|
|
653
1655
|
declare const configurationCreateSchema: z.ZodObject<{
|
|
654
1656
|
sessionId: z.ZodString;
|
|
@@ -740,7 +1742,7 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
740
1742
|
customUrlLabel?: string | undefined;
|
|
741
1743
|
} | undefined;
|
|
742
1744
|
}>;
|
|
743
|
-
physicalConfig: z.ZodEffects<z.ZodObject<{
|
|
1745
|
+
physicalConfig: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
744
1746
|
material: z.ZodEnum<["plastic", "3dprint_standard", "metal", "bamboo"]>;
|
|
745
1747
|
colour: z.ZodOptional<z.ZodString>;
|
|
746
1748
|
comboId: z.ZodEnum<["A1", "A2", "B1", "B2", "C1", "C2", "D1", "D2", "E1", "E2"]>;
|
|
@@ -854,6 +1856,249 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
854
1856
|
displayName?: string | undefined;
|
|
855
1857
|
}>>;
|
|
856
1858
|
companyLogoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1859
|
+
cardDesign: z.ZodOptional<z.ZodObject<{
|
|
1860
|
+
material: z.ZodEnum<["3dprint_standard", "metal", "bamboo"]>;
|
|
1861
|
+
designType: z.ZodEnum<["template", "custom"]>;
|
|
1862
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1863
|
+
thicknessMm: z.ZodNumber;
|
|
1864
|
+
pattern: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
1865
|
+
family: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
1866
|
+
variant: z.ZodEnum<["pulse", "bell"]>;
|
|
1867
|
+
density: z.ZodNumber;
|
|
1868
|
+
holeMinMm: z.ZodNumber;
|
|
1869
|
+
holeMaxMm: z.ZodNumber;
|
|
1870
|
+
intensity: z.ZodNumber;
|
|
1871
|
+
cellShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
1872
|
+
cellRotationDeg: z.ZodNumber;
|
|
1873
|
+
chipShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
1874
|
+
chipRotationDeg: z.ZodNumber;
|
|
1875
|
+
}, "strip", z.ZodTypeAny, {
|
|
1876
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1877
|
+
variant: "pulse" | "bell";
|
|
1878
|
+
density: number;
|
|
1879
|
+
holeMinMm: number;
|
|
1880
|
+
holeMaxMm: number;
|
|
1881
|
+
intensity: number;
|
|
1882
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1883
|
+
cellRotationDeg: number;
|
|
1884
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1885
|
+
chipRotationDeg: number;
|
|
1886
|
+
}, {
|
|
1887
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1888
|
+
variant: "pulse" | "bell";
|
|
1889
|
+
density: number;
|
|
1890
|
+
holeMinMm: number;
|
|
1891
|
+
holeMaxMm: number;
|
|
1892
|
+
intensity: number;
|
|
1893
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1894
|
+
cellRotationDeg: number;
|
|
1895
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1896
|
+
chipRotationDeg: number;
|
|
1897
|
+
}>, {
|
|
1898
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1899
|
+
variant: "pulse" | "bell";
|
|
1900
|
+
density: number;
|
|
1901
|
+
holeMinMm: number;
|
|
1902
|
+
holeMaxMm: number;
|
|
1903
|
+
intensity: number;
|
|
1904
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1905
|
+
cellRotationDeg: number;
|
|
1906
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1907
|
+
chipRotationDeg: number;
|
|
1908
|
+
}, {
|
|
1909
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1910
|
+
variant: "pulse" | "bell";
|
|
1911
|
+
density: number;
|
|
1912
|
+
holeMinMm: number;
|
|
1913
|
+
holeMaxMm: number;
|
|
1914
|
+
intensity: number;
|
|
1915
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1916
|
+
cellRotationDeg: number;
|
|
1917
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1918
|
+
chipRotationDeg: number;
|
|
1919
|
+
}>>;
|
|
1920
|
+
layout: z.ZodObject<{
|
|
1921
|
+
chipAnchor: z.ZodObject<{
|
|
1922
|
+
col: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1923
|
+
row: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1924
|
+
}, "strip", z.ZodTypeAny, {
|
|
1925
|
+
col: 0 | 1 | 2;
|
|
1926
|
+
row: 0 | 1 | 2;
|
|
1927
|
+
}, {
|
|
1928
|
+
col: 0 | 1 | 2;
|
|
1929
|
+
row: 0 | 1 | 2;
|
|
1930
|
+
}>;
|
|
1931
|
+
}, "strip", z.ZodTypeAny, {
|
|
1932
|
+
chipAnchor: {
|
|
1933
|
+
col: 0 | 1 | 2;
|
|
1934
|
+
row: 0 | 1 | 2;
|
|
1935
|
+
};
|
|
1936
|
+
}, {
|
|
1937
|
+
chipAnchor: {
|
|
1938
|
+
col: 0 | 1 | 2;
|
|
1939
|
+
row: 0 | 1 | 2;
|
|
1940
|
+
};
|
|
1941
|
+
}>;
|
|
1942
|
+
filaments: z.ZodObject<{
|
|
1943
|
+
background: z.ZodString;
|
|
1944
|
+
text: z.ZodString;
|
|
1945
|
+
accent: z.ZodString;
|
|
1946
|
+
}, "strip", z.ZodTypeAny, {
|
|
1947
|
+
background: string;
|
|
1948
|
+
text: string;
|
|
1949
|
+
accent: string;
|
|
1950
|
+
}, {
|
|
1951
|
+
background: string;
|
|
1952
|
+
text: string;
|
|
1953
|
+
accent: string;
|
|
1954
|
+
}>;
|
|
1955
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
1956
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
1957
|
+
text: z.ZodString;
|
|
1958
|
+
sizeMm: z.ZodNumber;
|
|
1959
|
+
weight: z.ZodNumber;
|
|
1960
|
+
role: z.ZodEnum<["text", "accent"]>;
|
|
1961
|
+
}, "strip", z.ZodTypeAny, {
|
|
1962
|
+
text: string;
|
|
1963
|
+
sizeMm: number;
|
|
1964
|
+
weight: number;
|
|
1965
|
+
role: "text" | "accent";
|
|
1966
|
+
}, {
|
|
1967
|
+
text: string;
|
|
1968
|
+
sizeMm: number;
|
|
1969
|
+
weight: number;
|
|
1970
|
+
role: "text" | "accent";
|
|
1971
|
+
}>, "many">;
|
|
1972
|
+
}, "strip", z.ZodTypeAny, {
|
|
1973
|
+
lines: {
|
|
1974
|
+
text: string;
|
|
1975
|
+
sizeMm: number;
|
|
1976
|
+
weight: number;
|
|
1977
|
+
role: "text" | "accent";
|
|
1978
|
+
}[];
|
|
1979
|
+
}, {
|
|
1980
|
+
lines: {
|
|
1981
|
+
text: string;
|
|
1982
|
+
sizeMm: number;
|
|
1983
|
+
weight: number;
|
|
1984
|
+
role: "text" | "accent";
|
|
1985
|
+
}[];
|
|
1986
|
+
}>>;
|
|
1987
|
+
qr: z.ZodOptional<z.ZodObject<{
|
|
1988
|
+
enabled: z.ZodBoolean;
|
|
1989
|
+
url: z.ZodString;
|
|
1990
|
+
}, "strip", z.ZodTypeAny, {
|
|
1991
|
+
enabled: boolean;
|
|
1992
|
+
url: string;
|
|
1993
|
+
}, {
|
|
1994
|
+
enabled: boolean;
|
|
1995
|
+
url: string;
|
|
1996
|
+
}>>;
|
|
1997
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
1998
|
+
svg: z.ZodOptional<z.ZodString>;
|
|
1999
|
+
svgPath: z.ZodOptional<z.ZodString>;
|
|
2000
|
+
}, "strip", z.ZodTypeAny, {
|
|
2001
|
+
svg?: string | undefined;
|
|
2002
|
+
svgPath?: string | undefined;
|
|
2003
|
+
}, {
|
|
2004
|
+
svg?: string | undefined;
|
|
2005
|
+
svgPath?: string | undefined;
|
|
2006
|
+
}>>;
|
|
2007
|
+
wordmark: z.ZodOptional<z.ZodBoolean>;
|
|
2008
|
+
contentFace: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
|
|
2009
|
+
}, "strip", z.ZodTypeAny, {
|
|
2010
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2011
|
+
designType: "custom" | "template";
|
|
2012
|
+
thicknessMm: number;
|
|
2013
|
+
pattern: {
|
|
2014
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2015
|
+
variant: "pulse" | "bell";
|
|
2016
|
+
density: number;
|
|
2017
|
+
holeMinMm: number;
|
|
2018
|
+
holeMaxMm: number;
|
|
2019
|
+
intensity: number;
|
|
2020
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2021
|
+
cellRotationDeg: number;
|
|
2022
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2023
|
+
chipRotationDeg: number;
|
|
2024
|
+
} | null;
|
|
2025
|
+
layout: {
|
|
2026
|
+
chipAnchor: {
|
|
2027
|
+
col: 0 | 1 | 2;
|
|
2028
|
+
row: 0 | 1 | 2;
|
|
2029
|
+
};
|
|
2030
|
+
};
|
|
2031
|
+
filaments: {
|
|
2032
|
+
background: string;
|
|
2033
|
+
text: string;
|
|
2034
|
+
accent: string;
|
|
2035
|
+
};
|
|
2036
|
+
templateId?: string | undefined;
|
|
2037
|
+
content?: {
|
|
2038
|
+
lines: {
|
|
2039
|
+
text: string;
|
|
2040
|
+
sizeMm: number;
|
|
2041
|
+
weight: number;
|
|
2042
|
+
role: "text" | "accent";
|
|
2043
|
+
}[];
|
|
2044
|
+
} | undefined;
|
|
2045
|
+
qr?: {
|
|
2046
|
+
enabled: boolean;
|
|
2047
|
+
url: string;
|
|
2048
|
+
} | undefined;
|
|
2049
|
+
logo?: {
|
|
2050
|
+
svg?: string | undefined;
|
|
2051
|
+
svgPath?: string | undefined;
|
|
2052
|
+
} | undefined;
|
|
2053
|
+
wordmark?: boolean | undefined;
|
|
2054
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2055
|
+
}, {
|
|
2056
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2057
|
+
designType: "custom" | "template";
|
|
2058
|
+
thicknessMm: number;
|
|
2059
|
+
pattern: {
|
|
2060
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2061
|
+
variant: "pulse" | "bell";
|
|
2062
|
+
density: number;
|
|
2063
|
+
holeMinMm: number;
|
|
2064
|
+
holeMaxMm: number;
|
|
2065
|
+
intensity: number;
|
|
2066
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2067
|
+
cellRotationDeg: number;
|
|
2068
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2069
|
+
chipRotationDeg: number;
|
|
2070
|
+
} | null;
|
|
2071
|
+
layout: {
|
|
2072
|
+
chipAnchor: {
|
|
2073
|
+
col: 0 | 1 | 2;
|
|
2074
|
+
row: 0 | 1 | 2;
|
|
2075
|
+
};
|
|
2076
|
+
};
|
|
2077
|
+
filaments: {
|
|
2078
|
+
background: string;
|
|
2079
|
+
text: string;
|
|
2080
|
+
accent: string;
|
|
2081
|
+
};
|
|
2082
|
+
templateId?: string | undefined;
|
|
2083
|
+
content?: {
|
|
2084
|
+
lines: {
|
|
2085
|
+
text: string;
|
|
2086
|
+
sizeMm: number;
|
|
2087
|
+
weight: number;
|
|
2088
|
+
role: "text" | "accent";
|
|
2089
|
+
}[];
|
|
2090
|
+
} | undefined;
|
|
2091
|
+
qr?: {
|
|
2092
|
+
enabled: boolean;
|
|
2093
|
+
url: string;
|
|
2094
|
+
} | undefined;
|
|
2095
|
+
logo?: {
|
|
2096
|
+
svg?: string | undefined;
|
|
2097
|
+
svgPath?: string | undefined;
|
|
2098
|
+
} | undefined;
|
|
2099
|
+
wordmark?: boolean | undefined;
|
|
2100
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2101
|
+
}>>;
|
|
857
2102
|
}, "strip", z.ZodTypeAny, {
|
|
858
2103
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
859
2104
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -900,6 +2145,53 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
900
2145
|
company?: string | undefined;
|
|
901
2146
|
displayName?: string | undefined;
|
|
902
2147
|
} | undefined;
|
|
2148
|
+
cardDesign?: {
|
|
2149
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2150
|
+
designType: "custom" | "template";
|
|
2151
|
+
thicknessMm: number;
|
|
2152
|
+
pattern: {
|
|
2153
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2154
|
+
variant: "pulse" | "bell";
|
|
2155
|
+
density: number;
|
|
2156
|
+
holeMinMm: number;
|
|
2157
|
+
holeMaxMm: number;
|
|
2158
|
+
intensity: number;
|
|
2159
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2160
|
+
cellRotationDeg: number;
|
|
2161
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2162
|
+
chipRotationDeg: number;
|
|
2163
|
+
} | null;
|
|
2164
|
+
layout: {
|
|
2165
|
+
chipAnchor: {
|
|
2166
|
+
col: 0 | 1 | 2;
|
|
2167
|
+
row: 0 | 1 | 2;
|
|
2168
|
+
};
|
|
2169
|
+
};
|
|
2170
|
+
filaments: {
|
|
2171
|
+
background: string;
|
|
2172
|
+
text: string;
|
|
2173
|
+
accent: string;
|
|
2174
|
+
};
|
|
2175
|
+
templateId?: string | undefined;
|
|
2176
|
+
content?: {
|
|
2177
|
+
lines: {
|
|
2178
|
+
text: string;
|
|
2179
|
+
sizeMm: number;
|
|
2180
|
+
weight: number;
|
|
2181
|
+
role: "text" | "accent";
|
|
2182
|
+
}[];
|
|
2183
|
+
} | undefined;
|
|
2184
|
+
qr?: {
|
|
2185
|
+
enabled: boolean;
|
|
2186
|
+
url: string;
|
|
2187
|
+
} | undefined;
|
|
2188
|
+
logo?: {
|
|
2189
|
+
svg?: string | undefined;
|
|
2190
|
+
svgPath?: string | undefined;
|
|
2191
|
+
} | undefined;
|
|
2192
|
+
wordmark?: boolean | undefined;
|
|
2193
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2194
|
+
} | undefined;
|
|
903
2195
|
}, {
|
|
904
2196
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
905
2197
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -946,6 +2238,53 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
946
2238
|
company?: string | undefined;
|
|
947
2239
|
displayName?: string | undefined;
|
|
948
2240
|
} | undefined;
|
|
2241
|
+
cardDesign?: {
|
|
2242
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2243
|
+
designType: "custom" | "template";
|
|
2244
|
+
thicknessMm: number;
|
|
2245
|
+
pattern: {
|
|
2246
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2247
|
+
variant: "pulse" | "bell";
|
|
2248
|
+
density: number;
|
|
2249
|
+
holeMinMm: number;
|
|
2250
|
+
holeMaxMm: number;
|
|
2251
|
+
intensity: number;
|
|
2252
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2253
|
+
cellRotationDeg: number;
|
|
2254
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2255
|
+
chipRotationDeg: number;
|
|
2256
|
+
} | null;
|
|
2257
|
+
layout: {
|
|
2258
|
+
chipAnchor: {
|
|
2259
|
+
col: 0 | 1 | 2;
|
|
2260
|
+
row: 0 | 1 | 2;
|
|
2261
|
+
};
|
|
2262
|
+
};
|
|
2263
|
+
filaments: {
|
|
2264
|
+
background: string;
|
|
2265
|
+
text: string;
|
|
2266
|
+
accent: string;
|
|
2267
|
+
};
|
|
2268
|
+
templateId?: string | undefined;
|
|
2269
|
+
content?: {
|
|
2270
|
+
lines: {
|
|
2271
|
+
text: string;
|
|
2272
|
+
sizeMm: number;
|
|
2273
|
+
weight: number;
|
|
2274
|
+
role: "text" | "accent";
|
|
2275
|
+
}[];
|
|
2276
|
+
} | undefined;
|
|
2277
|
+
qr?: {
|
|
2278
|
+
enabled: boolean;
|
|
2279
|
+
url: string;
|
|
2280
|
+
} | undefined;
|
|
2281
|
+
logo?: {
|
|
2282
|
+
svg?: string | undefined;
|
|
2283
|
+
svgPath?: string | undefined;
|
|
2284
|
+
} | undefined;
|
|
2285
|
+
wordmark?: boolean | undefined;
|
|
2286
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2287
|
+
} | undefined;
|
|
949
2288
|
}>, {
|
|
950
2289
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
951
2290
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -992,6 +2331,53 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
992
2331
|
company?: string | undefined;
|
|
993
2332
|
displayName?: string | undefined;
|
|
994
2333
|
} | undefined;
|
|
2334
|
+
cardDesign?: {
|
|
2335
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2336
|
+
designType: "custom" | "template";
|
|
2337
|
+
thicknessMm: number;
|
|
2338
|
+
pattern: {
|
|
2339
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2340
|
+
variant: "pulse" | "bell";
|
|
2341
|
+
density: number;
|
|
2342
|
+
holeMinMm: number;
|
|
2343
|
+
holeMaxMm: number;
|
|
2344
|
+
intensity: number;
|
|
2345
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2346
|
+
cellRotationDeg: number;
|
|
2347
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2348
|
+
chipRotationDeg: number;
|
|
2349
|
+
} | null;
|
|
2350
|
+
layout: {
|
|
2351
|
+
chipAnchor: {
|
|
2352
|
+
col: 0 | 1 | 2;
|
|
2353
|
+
row: 0 | 1 | 2;
|
|
2354
|
+
};
|
|
2355
|
+
};
|
|
2356
|
+
filaments: {
|
|
2357
|
+
background: string;
|
|
2358
|
+
text: string;
|
|
2359
|
+
accent: string;
|
|
2360
|
+
};
|
|
2361
|
+
templateId?: string | undefined;
|
|
2362
|
+
content?: {
|
|
2363
|
+
lines: {
|
|
2364
|
+
text: string;
|
|
2365
|
+
sizeMm: number;
|
|
2366
|
+
weight: number;
|
|
2367
|
+
role: "text" | "accent";
|
|
2368
|
+
}[];
|
|
2369
|
+
} | undefined;
|
|
2370
|
+
qr?: {
|
|
2371
|
+
enabled: boolean;
|
|
2372
|
+
url: string;
|
|
2373
|
+
} | undefined;
|
|
2374
|
+
logo?: {
|
|
2375
|
+
svg?: string | undefined;
|
|
2376
|
+
svgPath?: string | undefined;
|
|
2377
|
+
} | undefined;
|
|
2378
|
+
wordmark?: boolean | undefined;
|
|
2379
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2380
|
+
} | undefined;
|
|
995
2381
|
}, {
|
|
996
2382
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
997
2383
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -1038,6 +2424,239 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
1038
2424
|
company?: string | undefined;
|
|
1039
2425
|
displayName?: string | undefined;
|
|
1040
2426
|
} | undefined;
|
|
2427
|
+
cardDesign?: {
|
|
2428
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2429
|
+
designType: "custom" | "template";
|
|
2430
|
+
thicknessMm: number;
|
|
2431
|
+
pattern: {
|
|
2432
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2433
|
+
variant: "pulse" | "bell";
|
|
2434
|
+
density: number;
|
|
2435
|
+
holeMinMm: number;
|
|
2436
|
+
holeMaxMm: number;
|
|
2437
|
+
intensity: number;
|
|
2438
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2439
|
+
cellRotationDeg: number;
|
|
2440
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2441
|
+
chipRotationDeg: number;
|
|
2442
|
+
} | null;
|
|
2443
|
+
layout: {
|
|
2444
|
+
chipAnchor: {
|
|
2445
|
+
col: 0 | 1 | 2;
|
|
2446
|
+
row: 0 | 1 | 2;
|
|
2447
|
+
};
|
|
2448
|
+
};
|
|
2449
|
+
filaments: {
|
|
2450
|
+
background: string;
|
|
2451
|
+
text: string;
|
|
2452
|
+
accent: string;
|
|
2453
|
+
};
|
|
2454
|
+
templateId?: string | undefined;
|
|
2455
|
+
content?: {
|
|
2456
|
+
lines: {
|
|
2457
|
+
text: string;
|
|
2458
|
+
sizeMm: number;
|
|
2459
|
+
weight: number;
|
|
2460
|
+
role: "text" | "accent";
|
|
2461
|
+
}[];
|
|
2462
|
+
} | undefined;
|
|
2463
|
+
qr?: {
|
|
2464
|
+
enabled: boolean;
|
|
2465
|
+
url: string;
|
|
2466
|
+
} | undefined;
|
|
2467
|
+
logo?: {
|
|
2468
|
+
svg?: string | undefined;
|
|
2469
|
+
svgPath?: string | undefined;
|
|
2470
|
+
} | undefined;
|
|
2471
|
+
wordmark?: boolean | undefined;
|
|
2472
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2473
|
+
} | undefined;
|
|
2474
|
+
}>, {
|
|
2475
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
2476
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
2477
|
+
frontElements: {
|
|
2478
|
+
showName: boolean;
|
|
2479
|
+
showPosition: boolean;
|
|
2480
|
+
showEmail: boolean;
|
|
2481
|
+
showPhone: boolean;
|
|
2482
|
+
showCompany: boolean;
|
|
2483
|
+
showLogo: boolean;
|
|
2484
|
+
showQr: boolean;
|
|
2485
|
+
showPhoto: boolean;
|
|
2486
|
+
};
|
|
2487
|
+
backElements: {
|
|
2488
|
+
showName: boolean;
|
|
2489
|
+
showPosition: boolean;
|
|
2490
|
+
showEmail: boolean;
|
|
2491
|
+
showPhone: boolean;
|
|
2492
|
+
showCompany: boolean;
|
|
2493
|
+
showLogo: boolean;
|
|
2494
|
+
showQr: boolean;
|
|
2495
|
+
showPhoto: boolean;
|
|
2496
|
+
};
|
|
2497
|
+
companyLogoUrl?: string | undefined;
|
|
2498
|
+
colour?: string | undefined;
|
|
2499
|
+
qrTargetUrl?: string | undefined;
|
|
2500
|
+
customDesignRequest?: string | undefined;
|
|
2501
|
+
frontContactToggles?: {
|
|
2502
|
+
showEmail?: boolean | undefined;
|
|
2503
|
+
showPhone?: boolean | undefined;
|
|
2504
|
+
showLocation?: boolean | undefined;
|
|
2505
|
+
} | undefined;
|
|
2506
|
+
backContactToggles?: {
|
|
2507
|
+
showEmail?: boolean | undefined;
|
|
2508
|
+
showPhone?: boolean | undefined;
|
|
2509
|
+
showLocation?: boolean | undefined;
|
|
2510
|
+
} | undefined;
|
|
2511
|
+
contentOverrides?: {
|
|
2512
|
+
position?: string | undefined;
|
|
2513
|
+
email?: string | undefined;
|
|
2514
|
+
phone?: string | undefined;
|
|
2515
|
+
phoneCountryCode?: string | undefined;
|
|
2516
|
+
location?: string | undefined;
|
|
2517
|
+
company?: string | undefined;
|
|
2518
|
+
displayName?: string | undefined;
|
|
2519
|
+
} | undefined;
|
|
2520
|
+
cardDesign?: {
|
|
2521
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2522
|
+
designType: "custom" | "template";
|
|
2523
|
+
thicknessMm: number;
|
|
2524
|
+
pattern: {
|
|
2525
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2526
|
+
variant: "pulse" | "bell";
|
|
2527
|
+
density: number;
|
|
2528
|
+
holeMinMm: number;
|
|
2529
|
+
holeMaxMm: number;
|
|
2530
|
+
intensity: number;
|
|
2531
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2532
|
+
cellRotationDeg: number;
|
|
2533
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2534
|
+
chipRotationDeg: number;
|
|
2535
|
+
} | null;
|
|
2536
|
+
layout: {
|
|
2537
|
+
chipAnchor: {
|
|
2538
|
+
col: 0 | 1 | 2;
|
|
2539
|
+
row: 0 | 1 | 2;
|
|
2540
|
+
};
|
|
2541
|
+
};
|
|
2542
|
+
filaments: {
|
|
2543
|
+
background: string;
|
|
2544
|
+
text: string;
|
|
2545
|
+
accent: string;
|
|
2546
|
+
};
|
|
2547
|
+
templateId?: string | undefined;
|
|
2548
|
+
content?: {
|
|
2549
|
+
lines: {
|
|
2550
|
+
text: string;
|
|
2551
|
+
sizeMm: number;
|
|
2552
|
+
weight: number;
|
|
2553
|
+
role: "text" | "accent";
|
|
2554
|
+
}[];
|
|
2555
|
+
} | undefined;
|
|
2556
|
+
qr?: {
|
|
2557
|
+
enabled: boolean;
|
|
2558
|
+
url: string;
|
|
2559
|
+
} | undefined;
|
|
2560
|
+
logo?: {
|
|
2561
|
+
svg?: string | undefined;
|
|
2562
|
+
svgPath?: string | undefined;
|
|
2563
|
+
} | undefined;
|
|
2564
|
+
wordmark?: boolean | undefined;
|
|
2565
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2566
|
+
} | undefined;
|
|
2567
|
+
}, {
|
|
2568
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
2569
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
2570
|
+
frontElements: {
|
|
2571
|
+
showName: boolean;
|
|
2572
|
+
showPosition: boolean;
|
|
2573
|
+
showEmail: boolean;
|
|
2574
|
+
showPhone: boolean;
|
|
2575
|
+
showCompany: boolean;
|
|
2576
|
+
showLogo: boolean;
|
|
2577
|
+
showQr: boolean;
|
|
2578
|
+
showPhoto: boolean;
|
|
2579
|
+
};
|
|
2580
|
+
backElements: {
|
|
2581
|
+
showName: boolean;
|
|
2582
|
+
showPosition: boolean;
|
|
2583
|
+
showEmail: boolean;
|
|
2584
|
+
showPhone: boolean;
|
|
2585
|
+
showCompany: boolean;
|
|
2586
|
+
showLogo: boolean;
|
|
2587
|
+
showQr: boolean;
|
|
2588
|
+
showPhoto: boolean;
|
|
2589
|
+
};
|
|
2590
|
+
companyLogoUrl?: string | undefined;
|
|
2591
|
+
colour?: string | undefined;
|
|
2592
|
+
qrTargetUrl?: string | undefined;
|
|
2593
|
+
customDesignRequest?: string | undefined;
|
|
2594
|
+
frontContactToggles?: {
|
|
2595
|
+
showEmail?: boolean | undefined;
|
|
2596
|
+
showPhone?: boolean | undefined;
|
|
2597
|
+
showLocation?: boolean | undefined;
|
|
2598
|
+
} | undefined;
|
|
2599
|
+
backContactToggles?: {
|
|
2600
|
+
showEmail?: boolean | undefined;
|
|
2601
|
+
showPhone?: boolean | undefined;
|
|
2602
|
+
showLocation?: boolean | undefined;
|
|
2603
|
+
} | undefined;
|
|
2604
|
+
contentOverrides?: {
|
|
2605
|
+
position?: string | undefined;
|
|
2606
|
+
email?: string | undefined;
|
|
2607
|
+
phone?: string | undefined;
|
|
2608
|
+
phoneCountryCode?: string | undefined;
|
|
2609
|
+
location?: string | undefined;
|
|
2610
|
+
company?: string | undefined;
|
|
2611
|
+
displayName?: string | undefined;
|
|
2612
|
+
} | undefined;
|
|
2613
|
+
cardDesign?: {
|
|
2614
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2615
|
+
designType: "custom" | "template";
|
|
2616
|
+
thicknessMm: number;
|
|
2617
|
+
pattern: {
|
|
2618
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2619
|
+
variant: "pulse" | "bell";
|
|
2620
|
+
density: number;
|
|
2621
|
+
holeMinMm: number;
|
|
2622
|
+
holeMaxMm: number;
|
|
2623
|
+
intensity: number;
|
|
2624
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2625
|
+
cellRotationDeg: number;
|
|
2626
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2627
|
+
chipRotationDeg: number;
|
|
2628
|
+
} | null;
|
|
2629
|
+
layout: {
|
|
2630
|
+
chipAnchor: {
|
|
2631
|
+
col: 0 | 1 | 2;
|
|
2632
|
+
row: 0 | 1 | 2;
|
|
2633
|
+
};
|
|
2634
|
+
};
|
|
2635
|
+
filaments: {
|
|
2636
|
+
background: string;
|
|
2637
|
+
text: string;
|
|
2638
|
+
accent: string;
|
|
2639
|
+
};
|
|
2640
|
+
templateId?: string | undefined;
|
|
2641
|
+
content?: {
|
|
2642
|
+
lines: {
|
|
2643
|
+
text: string;
|
|
2644
|
+
sizeMm: number;
|
|
2645
|
+
weight: number;
|
|
2646
|
+
role: "text" | "accent";
|
|
2647
|
+
}[];
|
|
2648
|
+
} | undefined;
|
|
2649
|
+
qr?: {
|
|
2650
|
+
enabled: boolean;
|
|
2651
|
+
url: string;
|
|
2652
|
+
} | undefined;
|
|
2653
|
+
logo?: {
|
|
2654
|
+
svg?: string | undefined;
|
|
2655
|
+
svgPath?: string | undefined;
|
|
2656
|
+
} | undefined;
|
|
2657
|
+
wordmark?: boolean | undefined;
|
|
2658
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2659
|
+
} | undefined;
|
|
1041
2660
|
}>;
|
|
1042
2661
|
digitalConfig: z.ZodObject<{
|
|
1043
2662
|
templateId: z.ZodEnum<["minimal", "bold", "card", "aurora"]>;
|
|
@@ -1083,17 +2702,19 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
1083
2702
|
showSocialLinks?: boolean | undefined;
|
|
1084
2703
|
}>>;
|
|
1085
2704
|
socialOverrides: z.ZodOptional<z.ZodObject<{
|
|
1086
|
-
facebook: z.
|
|
1087
|
-
linkedin: z.
|
|
1088
|
-
instagram: z.
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
2705
|
+
facebook: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2706
|
+
linkedin: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2707
|
+
instagram: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2708
|
+
x: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2709
|
+
youtube: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2710
|
+
tiktok: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2711
|
+
customUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2712
|
+
customUrlLabel: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1093
2713
|
}, "strip", z.ZodTypeAny, {
|
|
1094
2714
|
facebook?: string | undefined;
|
|
1095
2715
|
linkedin?: string | undefined;
|
|
1096
2716
|
instagram?: string | undefined;
|
|
2717
|
+
x?: string | undefined;
|
|
1097
2718
|
youtube?: string | undefined;
|
|
1098
2719
|
tiktok?: string | undefined;
|
|
1099
2720
|
customUrl?: string | undefined;
|
|
@@ -1102,11 +2723,28 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
1102
2723
|
facebook?: string | undefined;
|
|
1103
2724
|
linkedin?: string | undefined;
|
|
1104
2725
|
instagram?: string | undefined;
|
|
2726
|
+
x?: string | undefined;
|
|
1105
2727
|
youtube?: string | undefined;
|
|
1106
2728
|
tiktok?: string | undefined;
|
|
1107
2729
|
customUrl?: string | undefined;
|
|
1108
2730
|
customUrlLabel?: string | undefined;
|
|
1109
2731
|
}>>;
|
|
2732
|
+
ctaButtons: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2733
|
+
label: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
2734
|
+
url: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
2735
|
+
}, "strip", z.ZodTypeAny, {
|
|
2736
|
+
url: string;
|
|
2737
|
+
label: string;
|
|
2738
|
+
}, {
|
|
2739
|
+
url?: string | undefined;
|
|
2740
|
+
label?: string | undefined;
|
|
2741
|
+
}>, "many">, {
|
|
2742
|
+
url: string;
|
|
2743
|
+
label: string;
|
|
2744
|
+
}[], {
|
|
2745
|
+
url?: string | undefined;
|
|
2746
|
+
label?: string | undefined;
|
|
2747
|
+
}[]>>;
|
|
1110
2748
|
}, "strip", z.ZodTypeAny, {
|
|
1111
2749
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
1112
2750
|
accentColor: string;
|
|
@@ -1132,11 +2770,16 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
1132
2770
|
facebook?: string | undefined;
|
|
1133
2771
|
linkedin?: string | undefined;
|
|
1134
2772
|
instagram?: string | undefined;
|
|
2773
|
+
x?: string | undefined;
|
|
1135
2774
|
youtube?: string | undefined;
|
|
1136
2775
|
tiktok?: string | undefined;
|
|
1137
2776
|
customUrl?: string | undefined;
|
|
1138
2777
|
customUrlLabel?: string | undefined;
|
|
1139
2778
|
} | undefined;
|
|
2779
|
+
ctaButtons?: {
|
|
2780
|
+
url: string;
|
|
2781
|
+
label: string;
|
|
2782
|
+
}[] | undefined;
|
|
1140
2783
|
}, {
|
|
1141
2784
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
1142
2785
|
accentColor: string;
|
|
@@ -1162,11 +2805,16 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
1162
2805
|
facebook?: string | undefined;
|
|
1163
2806
|
linkedin?: string | undefined;
|
|
1164
2807
|
instagram?: string | undefined;
|
|
2808
|
+
x?: string | undefined;
|
|
1165
2809
|
youtube?: string | undefined;
|
|
1166
2810
|
tiktok?: string | undefined;
|
|
1167
2811
|
customUrl?: string | undefined;
|
|
1168
2812
|
customUrlLabel?: string | undefined;
|
|
1169
2813
|
} | undefined;
|
|
2814
|
+
ctaButtons?: {
|
|
2815
|
+
url?: string | undefined;
|
|
2816
|
+
label?: string | undefined;
|
|
2817
|
+
}[] | undefined;
|
|
1170
2818
|
}>;
|
|
1171
2819
|
quantity: z.ZodDefault<z.ZodNumber>;
|
|
1172
2820
|
existingProfileId: z.ZodOptional<z.ZodString>;
|
|
@@ -1243,6 +2891,53 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
1243
2891
|
company?: string | undefined;
|
|
1244
2892
|
displayName?: string | undefined;
|
|
1245
2893
|
} | undefined;
|
|
2894
|
+
cardDesign?: {
|
|
2895
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2896
|
+
designType: "custom" | "template";
|
|
2897
|
+
thicknessMm: number;
|
|
2898
|
+
pattern: {
|
|
2899
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2900
|
+
variant: "pulse" | "bell";
|
|
2901
|
+
density: number;
|
|
2902
|
+
holeMinMm: number;
|
|
2903
|
+
holeMaxMm: number;
|
|
2904
|
+
intensity: number;
|
|
2905
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2906
|
+
cellRotationDeg: number;
|
|
2907
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2908
|
+
chipRotationDeg: number;
|
|
2909
|
+
} | null;
|
|
2910
|
+
layout: {
|
|
2911
|
+
chipAnchor: {
|
|
2912
|
+
col: 0 | 1 | 2;
|
|
2913
|
+
row: 0 | 1 | 2;
|
|
2914
|
+
};
|
|
2915
|
+
};
|
|
2916
|
+
filaments: {
|
|
2917
|
+
background: string;
|
|
2918
|
+
text: string;
|
|
2919
|
+
accent: string;
|
|
2920
|
+
};
|
|
2921
|
+
templateId?: string | undefined;
|
|
2922
|
+
content?: {
|
|
2923
|
+
lines: {
|
|
2924
|
+
text: string;
|
|
2925
|
+
sizeMm: number;
|
|
2926
|
+
weight: number;
|
|
2927
|
+
role: "text" | "accent";
|
|
2928
|
+
}[];
|
|
2929
|
+
} | undefined;
|
|
2930
|
+
qr?: {
|
|
2931
|
+
enabled: boolean;
|
|
2932
|
+
url: string;
|
|
2933
|
+
} | undefined;
|
|
2934
|
+
logo?: {
|
|
2935
|
+
svg?: string | undefined;
|
|
2936
|
+
svgPath?: string | undefined;
|
|
2937
|
+
} | undefined;
|
|
2938
|
+
wordmark?: boolean | undefined;
|
|
2939
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2940
|
+
} | undefined;
|
|
1246
2941
|
};
|
|
1247
2942
|
digitalConfig: {
|
|
1248
2943
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
@@ -1269,11 +2964,16 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
1269
2964
|
facebook?: string | undefined;
|
|
1270
2965
|
linkedin?: string | undefined;
|
|
1271
2966
|
instagram?: string | undefined;
|
|
2967
|
+
x?: string | undefined;
|
|
1272
2968
|
youtube?: string | undefined;
|
|
1273
2969
|
tiktok?: string | undefined;
|
|
1274
2970
|
customUrl?: string | undefined;
|
|
1275
2971
|
customUrlLabel?: string | undefined;
|
|
1276
2972
|
} | undefined;
|
|
2973
|
+
ctaButtons?: {
|
|
2974
|
+
url: string;
|
|
2975
|
+
label: string;
|
|
2976
|
+
}[] | undefined;
|
|
1277
2977
|
};
|
|
1278
2978
|
quantity: number;
|
|
1279
2979
|
existingProfileId?: string | undefined;
|
|
@@ -1350,6 +3050,53 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
1350
3050
|
company?: string | undefined;
|
|
1351
3051
|
displayName?: string | undefined;
|
|
1352
3052
|
} | undefined;
|
|
3053
|
+
cardDesign?: {
|
|
3054
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3055
|
+
designType: "custom" | "template";
|
|
3056
|
+
thicknessMm: number;
|
|
3057
|
+
pattern: {
|
|
3058
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3059
|
+
variant: "pulse" | "bell";
|
|
3060
|
+
density: number;
|
|
3061
|
+
holeMinMm: number;
|
|
3062
|
+
holeMaxMm: number;
|
|
3063
|
+
intensity: number;
|
|
3064
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3065
|
+
cellRotationDeg: number;
|
|
3066
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3067
|
+
chipRotationDeg: number;
|
|
3068
|
+
} | null;
|
|
3069
|
+
layout: {
|
|
3070
|
+
chipAnchor: {
|
|
3071
|
+
col: 0 | 1 | 2;
|
|
3072
|
+
row: 0 | 1 | 2;
|
|
3073
|
+
};
|
|
3074
|
+
};
|
|
3075
|
+
filaments: {
|
|
3076
|
+
background: string;
|
|
3077
|
+
text: string;
|
|
3078
|
+
accent: string;
|
|
3079
|
+
};
|
|
3080
|
+
templateId?: string | undefined;
|
|
3081
|
+
content?: {
|
|
3082
|
+
lines: {
|
|
3083
|
+
text: string;
|
|
3084
|
+
sizeMm: number;
|
|
3085
|
+
weight: number;
|
|
3086
|
+
role: "text" | "accent";
|
|
3087
|
+
}[];
|
|
3088
|
+
} | undefined;
|
|
3089
|
+
qr?: {
|
|
3090
|
+
enabled: boolean;
|
|
3091
|
+
url: string;
|
|
3092
|
+
} | undefined;
|
|
3093
|
+
logo?: {
|
|
3094
|
+
svg?: string | undefined;
|
|
3095
|
+
svgPath?: string | undefined;
|
|
3096
|
+
} | undefined;
|
|
3097
|
+
wordmark?: boolean | undefined;
|
|
3098
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3099
|
+
} | undefined;
|
|
1353
3100
|
};
|
|
1354
3101
|
digitalConfig: {
|
|
1355
3102
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
@@ -1376,11 +3123,16 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
1376
3123
|
facebook?: string | undefined;
|
|
1377
3124
|
linkedin?: string | undefined;
|
|
1378
3125
|
instagram?: string | undefined;
|
|
3126
|
+
x?: string | undefined;
|
|
1379
3127
|
youtube?: string | undefined;
|
|
1380
3128
|
tiktok?: string | undefined;
|
|
1381
3129
|
customUrl?: string | undefined;
|
|
1382
3130
|
customUrlLabel?: string | undefined;
|
|
1383
3131
|
} | undefined;
|
|
3132
|
+
ctaButtons?: {
|
|
3133
|
+
url?: string | undefined;
|
|
3134
|
+
label?: string | undefined;
|
|
3135
|
+
}[] | undefined;
|
|
1384
3136
|
};
|
|
1385
3137
|
quantity?: number | undefined;
|
|
1386
3138
|
existingProfileId?: string | undefined;
|
|
@@ -1475,7 +3227,7 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1475
3227
|
customUrlLabel?: string | undefined;
|
|
1476
3228
|
} | undefined;
|
|
1477
3229
|
}>>;
|
|
1478
|
-
physicalConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
3230
|
+
physicalConfig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1479
3231
|
material: z.ZodEnum<["plastic", "3dprint_standard", "metal", "bamboo"]>;
|
|
1480
3232
|
colour: z.ZodOptional<z.ZodString>;
|
|
1481
3233
|
comboId: z.ZodEnum<["A1", "A2", "B1", "B2", "C1", "C2", "D1", "D2", "E1", "E2"]>;
|
|
@@ -1525,7 +3277,420 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1525
3277
|
showLogo: boolean;
|
|
1526
3278
|
showQr: boolean;
|
|
1527
3279
|
showPhoto: boolean;
|
|
1528
|
-
}, {
|
|
3280
|
+
}, {
|
|
3281
|
+
showName: boolean;
|
|
3282
|
+
showPosition: boolean;
|
|
3283
|
+
showEmail: boolean;
|
|
3284
|
+
showPhone: boolean;
|
|
3285
|
+
showCompany: boolean;
|
|
3286
|
+
showLogo: boolean;
|
|
3287
|
+
showQr: boolean;
|
|
3288
|
+
showPhoto: boolean;
|
|
3289
|
+
}>;
|
|
3290
|
+
qrTargetUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3291
|
+
customDesignRequest: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3292
|
+
frontContactToggles: z.ZodOptional<z.ZodObject<{
|
|
3293
|
+
showEmail: z.ZodOptional<z.ZodBoolean>;
|
|
3294
|
+
showPhone: z.ZodOptional<z.ZodBoolean>;
|
|
3295
|
+
showLocation: z.ZodOptional<z.ZodBoolean>;
|
|
3296
|
+
}, "strip", z.ZodTypeAny, {
|
|
3297
|
+
showEmail?: boolean | undefined;
|
|
3298
|
+
showPhone?: boolean | undefined;
|
|
3299
|
+
showLocation?: boolean | undefined;
|
|
3300
|
+
}, {
|
|
3301
|
+
showEmail?: boolean | undefined;
|
|
3302
|
+
showPhone?: boolean | undefined;
|
|
3303
|
+
showLocation?: boolean | undefined;
|
|
3304
|
+
}>>;
|
|
3305
|
+
backContactToggles: z.ZodOptional<z.ZodObject<{
|
|
3306
|
+
showEmail: z.ZodOptional<z.ZodBoolean>;
|
|
3307
|
+
showPhone: z.ZodOptional<z.ZodBoolean>;
|
|
3308
|
+
showLocation: z.ZodOptional<z.ZodBoolean>;
|
|
3309
|
+
}, "strip", z.ZodTypeAny, {
|
|
3310
|
+
showEmail?: boolean | undefined;
|
|
3311
|
+
showPhone?: boolean | undefined;
|
|
3312
|
+
showLocation?: boolean | undefined;
|
|
3313
|
+
}, {
|
|
3314
|
+
showEmail?: boolean | undefined;
|
|
3315
|
+
showPhone?: boolean | undefined;
|
|
3316
|
+
showLocation?: boolean | undefined;
|
|
3317
|
+
}>>;
|
|
3318
|
+
contentOverrides: z.ZodOptional<z.ZodObject<{
|
|
3319
|
+
displayName: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3320
|
+
company: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3321
|
+
position: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3322
|
+
email: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3323
|
+
phone: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3324
|
+
phoneCountryCode: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3325
|
+
location: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3326
|
+
}, "strip", z.ZodTypeAny, {
|
|
3327
|
+
position?: string | undefined;
|
|
3328
|
+
email?: string | undefined;
|
|
3329
|
+
phone?: string | undefined;
|
|
3330
|
+
phoneCountryCode?: string | undefined;
|
|
3331
|
+
location?: string | undefined;
|
|
3332
|
+
company?: string | undefined;
|
|
3333
|
+
displayName?: string | undefined;
|
|
3334
|
+
}, {
|
|
3335
|
+
position?: string | undefined;
|
|
3336
|
+
email?: string | undefined;
|
|
3337
|
+
phone?: string | undefined;
|
|
3338
|
+
phoneCountryCode?: string | undefined;
|
|
3339
|
+
location?: string | undefined;
|
|
3340
|
+
company?: string | undefined;
|
|
3341
|
+
displayName?: string | undefined;
|
|
3342
|
+
}>>;
|
|
3343
|
+
companyLogoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3344
|
+
cardDesign: z.ZodOptional<z.ZodObject<{
|
|
3345
|
+
material: z.ZodEnum<["3dprint_standard", "metal", "bamboo"]>;
|
|
3346
|
+
designType: z.ZodEnum<["template", "custom"]>;
|
|
3347
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
3348
|
+
thicknessMm: z.ZodNumber;
|
|
3349
|
+
pattern: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
3350
|
+
family: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
3351
|
+
variant: z.ZodEnum<["pulse", "bell"]>;
|
|
3352
|
+
density: z.ZodNumber;
|
|
3353
|
+
holeMinMm: z.ZodNumber;
|
|
3354
|
+
holeMaxMm: z.ZodNumber;
|
|
3355
|
+
intensity: z.ZodNumber;
|
|
3356
|
+
cellShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
3357
|
+
cellRotationDeg: z.ZodNumber;
|
|
3358
|
+
chipShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
3359
|
+
chipRotationDeg: z.ZodNumber;
|
|
3360
|
+
}, "strip", z.ZodTypeAny, {
|
|
3361
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3362
|
+
variant: "pulse" | "bell";
|
|
3363
|
+
density: number;
|
|
3364
|
+
holeMinMm: number;
|
|
3365
|
+
holeMaxMm: number;
|
|
3366
|
+
intensity: number;
|
|
3367
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3368
|
+
cellRotationDeg: number;
|
|
3369
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3370
|
+
chipRotationDeg: number;
|
|
3371
|
+
}, {
|
|
3372
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3373
|
+
variant: "pulse" | "bell";
|
|
3374
|
+
density: number;
|
|
3375
|
+
holeMinMm: number;
|
|
3376
|
+
holeMaxMm: number;
|
|
3377
|
+
intensity: number;
|
|
3378
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3379
|
+
cellRotationDeg: number;
|
|
3380
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3381
|
+
chipRotationDeg: number;
|
|
3382
|
+
}>, {
|
|
3383
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3384
|
+
variant: "pulse" | "bell";
|
|
3385
|
+
density: number;
|
|
3386
|
+
holeMinMm: number;
|
|
3387
|
+
holeMaxMm: number;
|
|
3388
|
+
intensity: number;
|
|
3389
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3390
|
+
cellRotationDeg: number;
|
|
3391
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3392
|
+
chipRotationDeg: number;
|
|
3393
|
+
}, {
|
|
3394
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3395
|
+
variant: "pulse" | "bell";
|
|
3396
|
+
density: number;
|
|
3397
|
+
holeMinMm: number;
|
|
3398
|
+
holeMaxMm: number;
|
|
3399
|
+
intensity: number;
|
|
3400
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3401
|
+
cellRotationDeg: number;
|
|
3402
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3403
|
+
chipRotationDeg: number;
|
|
3404
|
+
}>>;
|
|
3405
|
+
layout: z.ZodObject<{
|
|
3406
|
+
chipAnchor: z.ZodObject<{
|
|
3407
|
+
col: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3408
|
+
row: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3409
|
+
}, "strip", z.ZodTypeAny, {
|
|
3410
|
+
col: 0 | 1 | 2;
|
|
3411
|
+
row: 0 | 1 | 2;
|
|
3412
|
+
}, {
|
|
3413
|
+
col: 0 | 1 | 2;
|
|
3414
|
+
row: 0 | 1 | 2;
|
|
3415
|
+
}>;
|
|
3416
|
+
}, "strip", z.ZodTypeAny, {
|
|
3417
|
+
chipAnchor: {
|
|
3418
|
+
col: 0 | 1 | 2;
|
|
3419
|
+
row: 0 | 1 | 2;
|
|
3420
|
+
};
|
|
3421
|
+
}, {
|
|
3422
|
+
chipAnchor: {
|
|
3423
|
+
col: 0 | 1 | 2;
|
|
3424
|
+
row: 0 | 1 | 2;
|
|
3425
|
+
};
|
|
3426
|
+
}>;
|
|
3427
|
+
filaments: z.ZodObject<{
|
|
3428
|
+
background: z.ZodString;
|
|
3429
|
+
text: z.ZodString;
|
|
3430
|
+
accent: z.ZodString;
|
|
3431
|
+
}, "strip", z.ZodTypeAny, {
|
|
3432
|
+
background: string;
|
|
3433
|
+
text: string;
|
|
3434
|
+
accent: string;
|
|
3435
|
+
}, {
|
|
3436
|
+
background: string;
|
|
3437
|
+
text: string;
|
|
3438
|
+
accent: string;
|
|
3439
|
+
}>;
|
|
3440
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
3441
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
3442
|
+
text: z.ZodString;
|
|
3443
|
+
sizeMm: z.ZodNumber;
|
|
3444
|
+
weight: z.ZodNumber;
|
|
3445
|
+
role: z.ZodEnum<["text", "accent"]>;
|
|
3446
|
+
}, "strip", z.ZodTypeAny, {
|
|
3447
|
+
text: string;
|
|
3448
|
+
sizeMm: number;
|
|
3449
|
+
weight: number;
|
|
3450
|
+
role: "text" | "accent";
|
|
3451
|
+
}, {
|
|
3452
|
+
text: string;
|
|
3453
|
+
sizeMm: number;
|
|
3454
|
+
weight: number;
|
|
3455
|
+
role: "text" | "accent";
|
|
3456
|
+
}>, "many">;
|
|
3457
|
+
}, "strip", z.ZodTypeAny, {
|
|
3458
|
+
lines: {
|
|
3459
|
+
text: string;
|
|
3460
|
+
sizeMm: number;
|
|
3461
|
+
weight: number;
|
|
3462
|
+
role: "text" | "accent";
|
|
3463
|
+
}[];
|
|
3464
|
+
}, {
|
|
3465
|
+
lines: {
|
|
3466
|
+
text: string;
|
|
3467
|
+
sizeMm: number;
|
|
3468
|
+
weight: number;
|
|
3469
|
+
role: "text" | "accent";
|
|
3470
|
+
}[];
|
|
3471
|
+
}>>;
|
|
3472
|
+
qr: z.ZodOptional<z.ZodObject<{
|
|
3473
|
+
enabled: z.ZodBoolean;
|
|
3474
|
+
url: z.ZodString;
|
|
3475
|
+
}, "strip", z.ZodTypeAny, {
|
|
3476
|
+
enabled: boolean;
|
|
3477
|
+
url: string;
|
|
3478
|
+
}, {
|
|
3479
|
+
enabled: boolean;
|
|
3480
|
+
url: string;
|
|
3481
|
+
}>>;
|
|
3482
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
3483
|
+
svg: z.ZodOptional<z.ZodString>;
|
|
3484
|
+
svgPath: z.ZodOptional<z.ZodString>;
|
|
3485
|
+
}, "strip", z.ZodTypeAny, {
|
|
3486
|
+
svg?: string | undefined;
|
|
3487
|
+
svgPath?: string | undefined;
|
|
3488
|
+
}, {
|
|
3489
|
+
svg?: string | undefined;
|
|
3490
|
+
svgPath?: string | undefined;
|
|
3491
|
+
}>>;
|
|
3492
|
+
wordmark: z.ZodOptional<z.ZodBoolean>;
|
|
3493
|
+
contentFace: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
|
|
3494
|
+
}, "strip", z.ZodTypeAny, {
|
|
3495
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3496
|
+
designType: "custom" | "template";
|
|
3497
|
+
thicknessMm: number;
|
|
3498
|
+
pattern: {
|
|
3499
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3500
|
+
variant: "pulse" | "bell";
|
|
3501
|
+
density: number;
|
|
3502
|
+
holeMinMm: number;
|
|
3503
|
+
holeMaxMm: number;
|
|
3504
|
+
intensity: number;
|
|
3505
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3506
|
+
cellRotationDeg: number;
|
|
3507
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3508
|
+
chipRotationDeg: number;
|
|
3509
|
+
} | null;
|
|
3510
|
+
layout: {
|
|
3511
|
+
chipAnchor: {
|
|
3512
|
+
col: 0 | 1 | 2;
|
|
3513
|
+
row: 0 | 1 | 2;
|
|
3514
|
+
};
|
|
3515
|
+
};
|
|
3516
|
+
filaments: {
|
|
3517
|
+
background: string;
|
|
3518
|
+
text: string;
|
|
3519
|
+
accent: string;
|
|
3520
|
+
};
|
|
3521
|
+
templateId?: string | undefined;
|
|
3522
|
+
content?: {
|
|
3523
|
+
lines: {
|
|
3524
|
+
text: string;
|
|
3525
|
+
sizeMm: number;
|
|
3526
|
+
weight: number;
|
|
3527
|
+
role: "text" | "accent";
|
|
3528
|
+
}[];
|
|
3529
|
+
} | undefined;
|
|
3530
|
+
qr?: {
|
|
3531
|
+
enabled: boolean;
|
|
3532
|
+
url: string;
|
|
3533
|
+
} | undefined;
|
|
3534
|
+
logo?: {
|
|
3535
|
+
svg?: string | undefined;
|
|
3536
|
+
svgPath?: string | undefined;
|
|
3537
|
+
} | undefined;
|
|
3538
|
+
wordmark?: boolean | undefined;
|
|
3539
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3540
|
+
}, {
|
|
3541
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3542
|
+
designType: "custom" | "template";
|
|
3543
|
+
thicknessMm: number;
|
|
3544
|
+
pattern: {
|
|
3545
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3546
|
+
variant: "pulse" | "bell";
|
|
3547
|
+
density: number;
|
|
3548
|
+
holeMinMm: number;
|
|
3549
|
+
holeMaxMm: number;
|
|
3550
|
+
intensity: number;
|
|
3551
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3552
|
+
cellRotationDeg: number;
|
|
3553
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3554
|
+
chipRotationDeg: number;
|
|
3555
|
+
} | null;
|
|
3556
|
+
layout: {
|
|
3557
|
+
chipAnchor: {
|
|
3558
|
+
col: 0 | 1 | 2;
|
|
3559
|
+
row: 0 | 1 | 2;
|
|
3560
|
+
};
|
|
3561
|
+
};
|
|
3562
|
+
filaments: {
|
|
3563
|
+
background: string;
|
|
3564
|
+
text: string;
|
|
3565
|
+
accent: string;
|
|
3566
|
+
};
|
|
3567
|
+
templateId?: string | undefined;
|
|
3568
|
+
content?: {
|
|
3569
|
+
lines: {
|
|
3570
|
+
text: string;
|
|
3571
|
+
sizeMm: number;
|
|
3572
|
+
weight: number;
|
|
3573
|
+
role: "text" | "accent";
|
|
3574
|
+
}[];
|
|
3575
|
+
} | undefined;
|
|
3576
|
+
qr?: {
|
|
3577
|
+
enabled: boolean;
|
|
3578
|
+
url: string;
|
|
3579
|
+
} | undefined;
|
|
3580
|
+
logo?: {
|
|
3581
|
+
svg?: string | undefined;
|
|
3582
|
+
svgPath?: string | undefined;
|
|
3583
|
+
} | undefined;
|
|
3584
|
+
wordmark?: boolean | undefined;
|
|
3585
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3586
|
+
}>>;
|
|
3587
|
+
}, "strip", z.ZodTypeAny, {
|
|
3588
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
3589
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
3590
|
+
frontElements: {
|
|
3591
|
+
showName: boolean;
|
|
3592
|
+
showPosition: boolean;
|
|
3593
|
+
showEmail: boolean;
|
|
3594
|
+
showPhone: boolean;
|
|
3595
|
+
showCompany: boolean;
|
|
3596
|
+
showLogo: boolean;
|
|
3597
|
+
showQr: boolean;
|
|
3598
|
+
showPhoto: boolean;
|
|
3599
|
+
};
|
|
3600
|
+
backElements: {
|
|
3601
|
+
showName: boolean;
|
|
3602
|
+
showPosition: boolean;
|
|
3603
|
+
showEmail: boolean;
|
|
3604
|
+
showPhone: boolean;
|
|
3605
|
+
showCompany: boolean;
|
|
3606
|
+
showLogo: boolean;
|
|
3607
|
+
showQr: boolean;
|
|
3608
|
+
showPhoto: boolean;
|
|
3609
|
+
};
|
|
3610
|
+
companyLogoUrl?: string | undefined;
|
|
3611
|
+
colour?: string | undefined;
|
|
3612
|
+
qrTargetUrl?: string | undefined;
|
|
3613
|
+
customDesignRequest?: string | undefined;
|
|
3614
|
+
frontContactToggles?: {
|
|
3615
|
+
showEmail?: boolean | undefined;
|
|
3616
|
+
showPhone?: boolean | undefined;
|
|
3617
|
+
showLocation?: boolean | undefined;
|
|
3618
|
+
} | undefined;
|
|
3619
|
+
backContactToggles?: {
|
|
3620
|
+
showEmail?: boolean | undefined;
|
|
3621
|
+
showPhone?: boolean | undefined;
|
|
3622
|
+
showLocation?: boolean | undefined;
|
|
3623
|
+
} | undefined;
|
|
3624
|
+
contentOverrides?: {
|
|
3625
|
+
position?: string | undefined;
|
|
3626
|
+
email?: string | undefined;
|
|
3627
|
+
phone?: string | undefined;
|
|
3628
|
+
phoneCountryCode?: string | undefined;
|
|
3629
|
+
location?: string | undefined;
|
|
3630
|
+
company?: string | undefined;
|
|
3631
|
+
displayName?: string | undefined;
|
|
3632
|
+
} | undefined;
|
|
3633
|
+
cardDesign?: {
|
|
3634
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3635
|
+
designType: "custom" | "template";
|
|
3636
|
+
thicknessMm: number;
|
|
3637
|
+
pattern: {
|
|
3638
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3639
|
+
variant: "pulse" | "bell";
|
|
3640
|
+
density: number;
|
|
3641
|
+
holeMinMm: number;
|
|
3642
|
+
holeMaxMm: number;
|
|
3643
|
+
intensity: number;
|
|
3644
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3645
|
+
cellRotationDeg: number;
|
|
3646
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3647
|
+
chipRotationDeg: number;
|
|
3648
|
+
} | null;
|
|
3649
|
+
layout: {
|
|
3650
|
+
chipAnchor: {
|
|
3651
|
+
col: 0 | 1 | 2;
|
|
3652
|
+
row: 0 | 1 | 2;
|
|
3653
|
+
};
|
|
3654
|
+
};
|
|
3655
|
+
filaments: {
|
|
3656
|
+
background: string;
|
|
3657
|
+
text: string;
|
|
3658
|
+
accent: string;
|
|
3659
|
+
};
|
|
3660
|
+
templateId?: string | undefined;
|
|
3661
|
+
content?: {
|
|
3662
|
+
lines: {
|
|
3663
|
+
text: string;
|
|
3664
|
+
sizeMm: number;
|
|
3665
|
+
weight: number;
|
|
3666
|
+
role: "text" | "accent";
|
|
3667
|
+
}[];
|
|
3668
|
+
} | undefined;
|
|
3669
|
+
qr?: {
|
|
3670
|
+
enabled: boolean;
|
|
3671
|
+
url: string;
|
|
3672
|
+
} | undefined;
|
|
3673
|
+
logo?: {
|
|
3674
|
+
svg?: string | undefined;
|
|
3675
|
+
svgPath?: string | undefined;
|
|
3676
|
+
} | undefined;
|
|
3677
|
+
wordmark?: boolean | undefined;
|
|
3678
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3679
|
+
} | undefined;
|
|
3680
|
+
}, {
|
|
3681
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
3682
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
3683
|
+
frontElements: {
|
|
3684
|
+
showName: boolean;
|
|
3685
|
+
showPosition: boolean;
|
|
3686
|
+
showEmail: boolean;
|
|
3687
|
+
showPhone: boolean;
|
|
3688
|
+
showCompany: boolean;
|
|
3689
|
+
showLogo: boolean;
|
|
3690
|
+
showQr: boolean;
|
|
3691
|
+
showPhoto: boolean;
|
|
3692
|
+
};
|
|
3693
|
+
backElements: {
|
|
1529
3694
|
showName: boolean;
|
|
1530
3695
|
showPosition: boolean;
|
|
1531
3696
|
showEmail: boolean;
|
|
@@ -1534,52 +3699,22 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1534
3699
|
showLogo: boolean;
|
|
1535
3700
|
showQr: boolean;
|
|
1536
3701
|
showPhoto: boolean;
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
showLocation: z.ZodOptional<z.ZodBoolean>;
|
|
1544
|
-
}, "strip", z.ZodTypeAny, {
|
|
1545
|
-
showEmail?: boolean | undefined;
|
|
1546
|
-
showPhone?: boolean | undefined;
|
|
1547
|
-
showLocation?: boolean | undefined;
|
|
1548
|
-
}, {
|
|
1549
|
-
showEmail?: boolean | undefined;
|
|
1550
|
-
showPhone?: boolean | undefined;
|
|
1551
|
-
showLocation?: boolean | undefined;
|
|
1552
|
-
}>>;
|
|
1553
|
-
backContactToggles: z.ZodOptional<z.ZodObject<{
|
|
1554
|
-
showEmail: z.ZodOptional<z.ZodBoolean>;
|
|
1555
|
-
showPhone: z.ZodOptional<z.ZodBoolean>;
|
|
1556
|
-
showLocation: z.ZodOptional<z.ZodBoolean>;
|
|
1557
|
-
}, "strip", z.ZodTypeAny, {
|
|
3702
|
+
};
|
|
3703
|
+
companyLogoUrl?: string | undefined;
|
|
3704
|
+
colour?: string | undefined;
|
|
3705
|
+
qrTargetUrl?: string | undefined;
|
|
3706
|
+
customDesignRequest?: string | undefined;
|
|
3707
|
+
frontContactToggles?: {
|
|
1558
3708
|
showEmail?: boolean | undefined;
|
|
1559
3709
|
showPhone?: boolean | undefined;
|
|
1560
3710
|
showLocation?: boolean | undefined;
|
|
1561
|
-
}
|
|
3711
|
+
} | undefined;
|
|
3712
|
+
backContactToggles?: {
|
|
1562
3713
|
showEmail?: boolean | undefined;
|
|
1563
3714
|
showPhone?: boolean | undefined;
|
|
1564
3715
|
showLocation?: boolean | undefined;
|
|
1565
|
-
}
|
|
1566
|
-
contentOverrides
|
|
1567
|
-
displayName: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1568
|
-
company: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1569
|
-
position: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1570
|
-
email: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1571
|
-
phone: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1572
|
-
phoneCountryCode: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1573
|
-
location: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1574
|
-
}, "strip", z.ZodTypeAny, {
|
|
1575
|
-
position?: string | undefined;
|
|
1576
|
-
email?: string | undefined;
|
|
1577
|
-
phone?: string | undefined;
|
|
1578
|
-
phoneCountryCode?: string | undefined;
|
|
1579
|
-
location?: string | undefined;
|
|
1580
|
-
company?: string | undefined;
|
|
1581
|
-
displayName?: string | undefined;
|
|
1582
|
-
}, {
|
|
3716
|
+
} | undefined;
|
|
3717
|
+
contentOverrides?: {
|
|
1583
3718
|
position?: string | undefined;
|
|
1584
3719
|
email?: string | undefined;
|
|
1585
3720
|
phone?: string | undefined;
|
|
@@ -1587,9 +3722,55 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1587
3722
|
location?: string | undefined;
|
|
1588
3723
|
company?: string | undefined;
|
|
1589
3724
|
displayName?: string | undefined;
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
|
|
3725
|
+
} | undefined;
|
|
3726
|
+
cardDesign?: {
|
|
3727
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3728
|
+
designType: "custom" | "template";
|
|
3729
|
+
thicknessMm: number;
|
|
3730
|
+
pattern: {
|
|
3731
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3732
|
+
variant: "pulse" | "bell";
|
|
3733
|
+
density: number;
|
|
3734
|
+
holeMinMm: number;
|
|
3735
|
+
holeMaxMm: number;
|
|
3736
|
+
intensity: number;
|
|
3737
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3738
|
+
cellRotationDeg: number;
|
|
3739
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3740
|
+
chipRotationDeg: number;
|
|
3741
|
+
} | null;
|
|
3742
|
+
layout: {
|
|
3743
|
+
chipAnchor: {
|
|
3744
|
+
col: 0 | 1 | 2;
|
|
3745
|
+
row: 0 | 1 | 2;
|
|
3746
|
+
};
|
|
3747
|
+
};
|
|
3748
|
+
filaments: {
|
|
3749
|
+
background: string;
|
|
3750
|
+
text: string;
|
|
3751
|
+
accent: string;
|
|
3752
|
+
};
|
|
3753
|
+
templateId?: string | undefined;
|
|
3754
|
+
content?: {
|
|
3755
|
+
lines: {
|
|
3756
|
+
text: string;
|
|
3757
|
+
sizeMm: number;
|
|
3758
|
+
weight: number;
|
|
3759
|
+
role: "text" | "accent";
|
|
3760
|
+
}[];
|
|
3761
|
+
} | undefined;
|
|
3762
|
+
qr?: {
|
|
3763
|
+
enabled: boolean;
|
|
3764
|
+
url: string;
|
|
3765
|
+
} | undefined;
|
|
3766
|
+
logo?: {
|
|
3767
|
+
svg?: string | undefined;
|
|
3768
|
+
svgPath?: string | undefined;
|
|
3769
|
+
} | undefined;
|
|
3770
|
+
wordmark?: boolean | undefined;
|
|
3771
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3772
|
+
} | undefined;
|
|
3773
|
+
}>, {
|
|
1593
3774
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
1594
3775
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
1595
3776
|
frontElements: {
|
|
@@ -1635,6 +3816,53 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1635
3816
|
company?: string | undefined;
|
|
1636
3817
|
displayName?: string | undefined;
|
|
1637
3818
|
} | undefined;
|
|
3819
|
+
cardDesign?: {
|
|
3820
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3821
|
+
designType: "custom" | "template";
|
|
3822
|
+
thicknessMm: number;
|
|
3823
|
+
pattern: {
|
|
3824
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3825
|
+
variant: "pulse" | "bell";
|
|
3826
|
+
density: number;
|
|
3827
|
+
holeMinMm: number;
|
|
3828
|
+
holeMaxMm: number;
|
|
3829
|
+
intensity: number;
|
|
3830
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3831
|
+
cellRotationDeg: number;
|
|
3832
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3833
|
+
chipRotationDeg: number;
|
|
3834
|
+
} | null;
|
|
3835
|
+
layout: {
|
|
3836
|
+
chipAnchor: {
|
|
3837
|
+
col: 0 | 1 | 2;
|
|
3838
|
+
row: 0 | 1 | 2;
|
|
3839
|
+
};
|
|
3840
|
+
};
|
|
3841
|
+
filaments: {
|
|
3842
|
+
background: string;
|
|
3843
|
+
text: string;
|
|
3844
|
+
accent: string;
|
|
3845
|
+
};
|
|
3846
|
+
templateId?: string | undefined;
|
|
3847
|
+
content?: {
|
|
3848
|
+
lines: {
|
|
3849
|
+
text: string;
|
|
3850
|
+
sizeMm: number;
|
|
3851
|
+
weight: number;
|
|
3852
|
+
role: "text" | "accent";
|
|
3853
|
+
}[];
|
|
3854
|
+
} | undefined;
|
|
3855
|
+
qr?: {
|
|
3856
|
+
enabled: boolean;
|
|
3857
|
+
url: string;
|
|
3858
|
+
} | undefined;
|
|
3859
|
+
logo?: {
|
|
3860
|
+
svg?: string | undefined;
|
|
3861
|
+
svgPath?: string | undefined;
|
|
3862
|
+
} | undefined;
|
|
3863
|
+
wordmark?: boolean | undefined;
|
|
3864
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3865
|
+
} | undefined;
|
|
1638
3866
|
}, {
|
|
1639
3867
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
1640
3868
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -1681,6 +3909,53 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1681
3909
|
company?: string | undefined;
|
|
1682
3910
|
displayName?: string | undefined;
|
|
1683
3911
|
} | undefined;
|
|
3912
|
+
cardDesign?: {
|
|
3913
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3914
|
+
designType: "custom" | "template";
|
|
3915
|
+
thicknessMm: number;
|
|
3916
|
+
pattern: {
|
|
3917
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3918
|
+
variant: "pulse" | "bell";
|
|
3919
|
+
density: number;
|
|
3920
|
+
holeMinMm: number;
|
|
3921
|
+
holeMaxMm: number;
|
|
3922
|
+
intensity: number;
|
|
3923
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3924
|
+
cellRotationDeg: number;
|
|
3925
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3926
|
+
chipRotationDeg: number;
|
|
3927
|
+
} | null;
|
|
3928
|
+
layout: {
|
|
3929
|
+
chipAnchor: {
|
|
3930
|
+
col: 0 | 1 | 2;
|
|
3931
|
+
row: 0 | 1 | 2;
|
|
3932
|
+
};
|
|
3933
|
+
};
|
|
3934
|
+
filaments: {
|
|
3935
|
+
background: string;
|
|
3936
|
+
text: string;
|
|
3937
|
+
accent: string;
|
|
3938
|
+
};
|
|
3939
|
+
templateId?: string | undefined;
|
|
3940
|
+
content?: {
|
|
3941
|
+
lines: {
|
|
3942
|
+
text: string;
|
|
3943
|
+
sizeMm: number;
|
|
3944
|
+
weight: number;
|
|
3945
|
+
role: "text" | "accent";
|
|
3946
|
+
}[];
|
|
3947
|
+
} | undefined;
|
|
3948
|
+
qr?: {
|
|
3949
|
+
enabled: boolean;
|
|
3950
|
+
url: string;
|
|
3951
|
+
} | undefined;
|
|
3952
|
+
logo?: {
|
|
3953
|
+
svg?: string | undefined;
|
|
3954
|
+
svgPath?: string | undefined;
|
|
3955
|
+
} | undefined;
|
|
3956
|
+
wordmark?: boolean | undefined;
|
|
3957
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3958
|
+
} | undefined;
|
|
1684
3959
|
}>, {
|
|
1685
3960
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
1686
3961
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -1727,6 +4002,53 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1727
4002
|
company?: string | undefined;
|
|
1728
4003
|
displayName?: string | undefined;
|
|
1729
4004
|
} | undefined;
|
|
4005
|
+
cardDesign?: {
|
|
4006
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
4007
|
+
designType: "custom" | "template";
|
|
4008
|
+
thicknessMm: number;
|
|
4009
|
+
pattern: {
|
|
4010
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
4011
|
+
variant: "pulse" | "bell";
|
|
4012
|
+
density: number;
|
|
4013
|
+
holeMinMm: number;
|
|
4014
|
+
holeMaxMm: number;
|
|
4015
|
+
intensity: number;
|
|
4016
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
4017
|
+
cellRotationDeg: number;
|
|
4018
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
4019
|
+
chipRotationDeg: number;
|
|
4020
|
+
} | null;
|
|
4021
|
+
layout: {
|
|
4022
|
+
chipAnchor: {
|
|
4023
|
+
col: 0 | 1 | 2;
|
|
4024
|
+
row: 0 | 1 | 2;
|
|
4025
|
+
};
|
|
4026
|
+
};
|
|
4027
|
+
filaments: {
|
|
4028
|
+
background: string;
|
|
4029
|
+
text: string;
|
|
4030
|
+
accent: string;
|
|
4031
|
+
};
|
|
4032
|
+
templateId?: string | undefined;
|
|
4033
|
+
content?: {
|
|
4034
|
+
lines: {
|
|
4035
|
+
text: string;
|
|
4036
|
+
sizeMm: number;
|
|
4037
|
+
weight: number;
|
|
4038
|
+
role: "text" | "accent";
|
|
4039
|
+
}[];
|
|
4040
|
+
} | undefined;
|
|
4041
|
+
qr?: {
|
|
4042
|
+
enabled: boolean;
|
|
4043
|
+
url: string;
|
|
4044
|
+
} | undefined;
|
|
4045
|
+
logo?: {
|
|
4046
|
+
svg?: string | undefined;
|
|
4047
|
+
svgPath?: string | undefined;
|
|
4048
|
+
} | undefined;
|
|
4049
|
+
wordmark?: boolean | undefined;
|
|
4050
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
4051
|
+
} | undefined;
|
|
1730
4052
|
}, {
|
|
1731
4053
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
1732
4054
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -1773,6 +4095,53 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1773
4095
|
company?: string | undefined;
|
|
1774
4096
|
displayName?: string | undefined;
|
|
1775
4097
|
} | undefined;
|
|
4098
|
+
cardDesign?: {
|
|
4099
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
4100
|
+
designType: "custom" | "template";
|
|
4101
|
+
thicknessMm: number;
|
|
4102
|
+
pattern: {
|
|
4103
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
4104
|
+
variant: "pulse" | "bell";
|
|
4105
|
+
density: number;
|
|
4106
|
+
holeMinMm: number;
|
|
4107
|
+
holeMaxMm: number;
|
|
4108
|
+
intensity: number;
|
|
4109
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
4110
|
+
cellRotationDeg: number;
|
|
4111
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
4112
|
+
chipRotationDeg: number;
|
|
4113
|
+
} | null;
|
|
4114
|
+
layout: {
|
|
4115
|
+
chipAnchor: {
|
|
4116
|
+
col: 0 | 1 | 2;
|
|
4117
|
+
row: 0 | 1 | 2;
|
|
4118
|
+
};
|
|
4119
|
+
};
|
|
4120
|
+
filaments: {
|
|
4121
|
+
background: string;
|
|
4122
|
+
text: string;
|
|
4123
|
+
accent: string;
|
|
4124
|
+
};
|
|
4125
|
+
templateId?: string | undefined;
|
|
4126
|
+
content?: {
|
|
4127
|
+
lines: {
|
|
4128
|
+
text: string;
|
|
4129
|
+
sizeMm: number;
|
|
4130
|
+
weight: number;
|
|
4131
|
+
role: "text" | "accent";
|
|
4132
|
+
}[];
|
|
4133
|
+
} | undefined;
|
|
4134
|
+
qr?: {
|
|
4135
|
+
enabled: boolean;
|
|
4136
|
+
url: string;
|
|
4137
|
+
} | undefined;
|
|
4138
|
+
logo?: {
|
|
4139
|
+
svg?: string | undefined;
|
|
4140
|
+
svgPath?: string | undefined;
|
|
4141
|
+
} | undefined;
|
|
4142
|
+
wordmark?: boolean | undefined;
|
|
4143
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
4144
|
+
} | undefined;
|
|
1776
4145
|
}>>;
|
|
1777
4146
|
digitalConfig: z.ZodOptional<z.ZodObject<{
|
|
1778
4147
|
templateId: z.ZodEnum<["minimal", "bold", "card", "aurora"]>;
|
|
@@ -1818,17 +4187,19 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1818
4187
|
showSocialLinks?: boolean | undefined;
|
|
1819
4188
|
}>>;
|
|
1820
4189
|
socialOverrides: z.ZodOptional<z.ZodObject<{
|
|
1821
|
-
facebook: z.
|
|
1822
|
-
linkedin: z.
|
|
1823
|
-
instagram: z.
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
4190
|
+
facebook: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4191
|
+
linkedin: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4192
|
+
instagram: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4193
|
+
x: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4194
|
+
youtube: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4195
|
+
tiktok: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4196
|
+
customUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4197
|
+
customUrlLabel: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1828
4198
|
}, "strip", z.ZodTypeAny, {
|
|
1829
4199
|
facebook?: string | undefined;
|
|
1830
4200
|
linkedin?: string | undefined;
|
|
1831
4201
|
instagram?: string | undefined;
|
|
4202
|
+
x?: string | undefined;
|
|
1832
4203
|
youtube?: string | undefined;
|
|
1833
4204
|
tiktok?: string | undefined;
|
|
1834
4205
|
customUrl?: string | undefined;
|
|
@@ -1837,11 +4208,28 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1837
4208
|
facebook?: string | undefined;
|
|
1838
4209
|
linkedin?: string | undefined;
|
|
1839
4210
|
instagram?: string | undefined;
|
|
4211
|
+
x?: string | undefined;
|
|
1840
4212
|
youtube?: string | undefined;
|
|
1841
4213
|
tiktok?: string | undefined;
|
|
1842
4214
|
customUrl?: string | undefined;
|
|
1843
4215
|
customUrlLabel?: string | undefined;
|
|
1844
4216
|
}>>;
|
|
4217
|
+
ctaButtons: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
4218
|
+
label: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
4219
|
+
url: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
4220
|
+
}, "strip", z.ZodTypeAny, {
|
|
4221
|
+
url: string;
|
|
4222
|
+
label: string;
|
|
4223
|
+
}, {
|
|
4224
|
+
url?: string | undefined;
|
|
4225
|
+
label?: string | undefined;
|
|
4226
|
+
}>, "many">, {
|
|
4227
|
+
url: string;
|
|
4228
|
+
label: string;
|
|
4229
|
+
}[], {
|
|
4230
|
+
url?: string | undefined;
|
|
4231
|
+
label?: string | undefined;
|
|
4232
|
+
}[]>>;
|
|
1845
4233
|
}, "strip", z.ZodTypeAny, {
|
|
1846
4234
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
1847
4235
|
accentColor: string;
|
|
@@ -1867,11 +4255,16 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1867
4255
|
facebook?: string | undefined;
|
|
1868
4256
|
linkedin?: string | undefined;
|
|
1869
4257
|
instagram?: string | undefined;
|
|
4258
|
+
x?: string | undefined;
|
|
1870
4259
|
youtube?: string | undefined;
|
|
1871
4260
|
tiktok?: string | undefined;
|
|
1872
4261
|
customUrl?: string | undefined;
|
|
1873
4262
|
customUrlLabel?: string | undefined;
|
|
1874
4263
|
} | undefined;
|
|
4264
|
+
ctaButtons?: {
|
|
4265
|
+
url: string;
|
|
4266
|
+
label: string;
|
|
4267
|
+
}[] | undefined;
|
|
1875
4268
|
}, {
|
|
1876
4269
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
1877
4270
|
accentColor: string;
|
|
@@ -1897,11 +4290,16 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1897
4290
|
facebook?: string | undefined;
|
|
1898
4291
|
linkedin?: string | undefined;
|
|
1899
4292
|
instagram?: string | undefined;
|
|
4293
|
+
x?: string | undefined;
|
|
1900
4294
|
youtube?: string | undefined;
|
|
1901
4295
|
tiktok?: string | undefined;
|
|
1902
4296
|
customUrl?: string | undefined;
|
|
1903
4297
|
customUrlLabel?: string | undefined;
|
|
1904
4298
|
} | undefined;
|
|
4299
|
+
ctaButtons?: {
|
|
4300
|
+
url?: string | undefined;
|
|
4301
|
+
label?: string | undefined;
|
|
4302
|
+
}[] | undefined;
|
|
1905
4303
|
}>>;
|
|
1906
4304
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1907
4305
|
existingProfileId: z.ZodOptional<z.ZodString>;
|
|
@@ -1977,6 +4375,53 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1977
4375
|
company?: string | undefined;
|
|
1978
4376
|
displayName?: string | undefined;
|
|
1979
4377
|
} | undefined;
|
|
4378
|
+
cardDesign?: {
|
|
4379
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
4380
|
+
designType: "custom" | "template";
|
|
4381
|
+
thicknessMm: number;
|
|
4382
|
+
pattern: {
|
|
4383
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
4384
|
+
variant: "pulse" | "bell";
|
|
4385
|
+
density: number;
|
|
4386
|
+
holeMinMm: number;
|
|
4387
|
+
holeMaxMm: number;
|
|
4388
|
+
intensity: number;
|
|
4389
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
4390
|
+
cellRotationDeg: number;
|
|
4391
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
4392
|
+
chipRotationDeg: number;
|
|
4393
|
+
} | null;
|
|
4394
|
+
layout: {
|
|
4395
|
+
chipAnchor: {
|
|
4396
|
+
col: 0 | 1 | 2;
|
|
4397
|
+
row: 0 | 1 | 2;
|
|
4398
|
+
};
|
|
4399
|
+
};
|
|
4400
|
+
filaments: {
|
|
4401
|
+
background: string;
|
|
4402
|
+
text: string;
|
|
4403
|
+
accent: string;
|
|
4404
|
+
};
|
|
4405
|
+
templateId?: string | undefined;
|
|
4406
|
+
content?: {
|
|
4407
|
+
lines: {
|
|
4408
|
+
text: string;
|
|
4409
|
+
sizeMm: number;
|
|
4410
|
+
weight: number;
|
|
4411
|
+
role: "text" | "accent";
|
|
4412
|
+
}[];
|
|
4413
|
+
} | undefined;
|
|
4414
|
+
qr?: {
|
|
4415
|
+
enabled: boolean;
|
|
4416
|
+
url: string;
|
|
4417
|
+
} | undefined;
|
|
4418
|
+
logo?: {
|
|
4419
|
+
svg?: string | undefined;
|
|
4420
|
+
svgPath?: string | undefined;
|
|
4421
|
+
} | undefined;
|
|
4422
|
+
wordmark?: boolean | undefined;
|
|
4423
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
4424
|
+
} | undefined;
|
|
1980
4425
|
} | undefined;
|
|
1981
4426
|
digitalConfig?: {
|
|
1982
4427
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
@@ -2003,11 +4448,16 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
2003
4448
|
facebook?: string | undefined;
|
|
2004
4449
|
linkedin?: string | undefined;
|
|
2005
4450
|
instagram?: string | undefined;
|
|
4451
|
+
x?: string | undefined;
|
|
2006
4452
|
youtube?: string | undefined;
|
|
2007
4453
|
tiktok?: string | undefined;
|
|
2008
4454
|
customUrl?: string | undefined;
|
|
2009
4455
|
customUrlLabel?: string | undefined;
|
|
2010
4456
|
} | undefined;
|
|
4457
|
+
ctaButtons?: {
|
|
4458
|
+
url: string;
|
|
4459
|
+
label: string;
|
|
4460
|
+
}[] | undefined;
|
|
2011
4461
|
} | undefined;
|
|
2012
4462
|
quantity?: number | undefined;
|
|
2013
4463
|
existingProfileId?: string | undefined;
|
|
@@ -2083,6 +4533,53 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
2083
4533
|
company?: string | undefined;
|
|
2084
4534
|
displayName?: string | undefined;
|
|
2085
4535
|
} | undefined;
|
|
4536
|
+
cardDesign?: {
|
|
4537
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
4538
|
+
designType: "custom" | "template";
|
|
4539
|
+
thicknessMm: number;
|
|
4540
|
+
pattern: {
|
|
4541
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
4542
|
+
variant: "pulse" | "bell";
|
|
4543
|
+
density: number;
|
|
4544
|
+
holeMinMm: number;
|
|
4545
|
+
holeMaxMm: number;
|
|
4546
|
+
intensity: number;
|
|
4547
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
4548
|
+
cellRotationDeg: number;
|
|
4549
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
4550
|
+
chipRotationDeg: number;
|
|
4551
|
+
} | null;
|
|
4552
|
+
layout: {
|
|
4553
|
+
chipAnchor: {
|
|
4554
|
+
col: 0 | 1 | 2;
|
|
4555
|
+
row: 0 | 1 | 2;
|
|
4556
|
+
};
|
|
4557
|
+
};
|
|
4558
|
+
filaments: {
|
|
4559
|
+
background: string;
|
|
4560
|
+
text: string;
|
|
4561
|
+
accent: string;
|
|
4562
|
+
};
|
|
4563
|
+
templateId?: string | undefined;
|
|
4564
|
+
content?: {
|
|
4565
|
+
lines: {
|
|
4566
|
+
text: string;
|
|
4567
|
+
sizeMm: number;
|
|
4568
|
+
weight: number;
|
|
4569
|
+
role: "text" | "accent";
|
|
4570
|
+
}[];
|
|
4571
|
+
} | undefined;
|
|
4572
|
+
qr?: {
|
|
4573
|
+
enabled: boolean;
|
|
4574
|
+
url: string;
|
|
4575
|
+
} | undefined;
|
|
4576
|
+
logo?: {
|
|
4577
|
+
svg?: string | undefined;
|
|
4578
|
+
svgPath?: string | undefined;
|
|
4579
|
+
} | undefined;
|
|
4580
|
+
wordmark?: boolean | undefined;
|
|
4581
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
4582
|
+
} | undefined;
|
|
2086
4583
|
} | undefined;
|
|
2087
4584
|
digitalConfig?: {
|
|
2088
4585
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
@@ -2109,11 +4606,16 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
2109
4606
|
facebook?: string | undefined;
|
|
2110
4607
|
linkedin?: string | undefined;
|
|
2111
4608
|
instagram?: string | undefined;
|
|
4609
|
+
x?: string | undefined;
|
|
2112
4610
|
youtube?: string | undefined;
|
|
2113
4611
|
tiktok?: string | undefined;
|
|
2114
4612
|
customUrl?: string | undefined;
|
|
2115
4613
|
customUrlLabel?: string | undefined;
|
|
2116
4614
|
} | undefined;
|
|
4615
|
+
ctaButtons?: {
|
|
4616
|
+
url?: string | undefined;
|
|
4617
|
+
label?: string | undefined;
|
|
4618
|
+
}[] | undefined;
|
|
2117
4619
|
} | undefined;
|
|
2118
4620
|
quantity?: number | undefined;
|
|
2119
4621
|
existingProfileId?: string | undefined;
|
|
@@ -2124,12 +4626,12 @@ declare const createOrderSchema: z.ZodObject<{
|
|
|
2124
4626
|
discountCode: z.ZodOptional<z.ZodString>;
|
|
2125
4627
|
designType: z.ZodEnum<["template", "custom"]>;
|
|
2126
4628
|
}, "strip", z.ZodTypeAny, {
|
|
2127
|
-
configurationId: string;
|
|
2128
4629
|
designType: "custom" | "template";
|
|
4630
|
+
configurationId: string;
|
|
2129
4631
|
discountCode?: string | undefined;
|
|
2130
4632
|
}, {
|
|
2131
|
-
configurationId: string;
|
|
2132
4633
|
designType: "custom" | "template";
|
|
4634
|
+
configurationId: string;
|
|
2133
4635
|
discountCode?: string | undefined;
|
|
2134
4636
|
}>;
|
|
2135
4637
|
declare const cardUpdateSchema: z.ZodObject<{
|
|
@@ -2177,17 +4679,19 @@ declare const cardUpdateSchema: z.ZodObject<{
|
|
|
2177
4679
|
showSocialLinks?: boolean | undefined;
|
|
2178
4680
|
}>>>>;
|
|
2179
4681
|
socialOverrides: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2180
|
-
facebook: z.
|
|
2181
|
-
linkedin: z.
|
|
2182
|
-
instagram: z.
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
4682
|
+
facebook: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4683
|
+
linkedin: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4684
|
+
instagram: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4685
|
+
x: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4686
|
+
youtube: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4687
|
+
tiktok: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4688
|
+
customUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4689
|
+
customUrlLabel: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2187
4690
|
}, "strip", z.ZodTypeAny, {
|
|
2188
4691
|
facebook?: string | undefined;
|
|
2189
4692
|
linkedin?: string | undefined;
|
|
2190
4693
|
instagram?: string | undefined;
|
|
4694
|
+
x?: string | undefined;
|
|
2191
4695
|
youtube?: string | undefined;
|
|
2192
4696
|
tiktok?: string | undefined;
|
|
2193
4697
|
customUrl?: string | undefined;
|
|
@@ -2196,11 +4700,28 @@ declare const cardUpdateSchema: z.ZodObject<{
|
|
|
2196
4700
|
facebook?: string | undefined;
|
|
2197
4701
|
linkedin?: string | undefined;
|
|
2198
4702
|
instagram?: string | undefined;
|
|
4703
|
+
x?: string | undefined;
|
|
2199
4704
|
youtube?: string | undefined;
|
|
2200
4705
|
tiktok?: string | undefined;
|
|
2201
4706
|
customUrl?: string | undefined;
|
|
2202
4707
|
customUrlLabel?: string | undefined;
|
|
2203
4708
|
}>>>>;
|
|
4709
|
+
ctaButtons: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
4710
|
+
label: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
4711
|
+
url: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
4712
|
+
}, "strip", z.ZodTypeAny, {
|
|
4713
|
+
url: string;
|
|
4714
|
+
label: string;
|
|
4715
|
+
}, {
|
|
4716
|
+
url?: string | undefined;
|
|
4717
|
+
label?: string | undefined;
|
|
4718
|
+
}>, "many">, {
|
|
4719
|
+
url: string;
|
|
4720
|
+
label: string;
|
|
4721
|
+
}[], {
|
|
4722
|
+
url?: string | undefined;
|
|
4723
|
+
label?: string | undefined;
|
|
4724
|
+
}[]>>>>;
|
|
2204
4725
|
profilePhotoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
|
|
2205
4726
|
companyLogoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
|
|
2206
4727
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2230,11 +4751,16 @@ declare const cardUpdateSchema: z.ZodObject<{
|
|
|
2230
4751
|
facebook?: string | undefined;
|
|
2231
4752
|
linkedin?: string | undefined;
|
|
2232
4753
|
instagram?: string | undefined;
|
|
4754
|
+
x?: string | undefined;
|
|
2233
4755
|
youtube?: string | undefined;
|
|
2234
4756
|
tiktok?: string | undefined;
|
|
2235
4757
|
customUrl?: string | undefined;
|
|
2236
4758
|
customUrlLabel?: string | undefined;
|
|
2237
4759
|
} | undefined;
|
|
4760
|
+
ctaButtons?: {
|
|
4761
|
+
url: string;
|
|
4762
|
+
label: string;
|
|
4763
|
+
}[] | undefined;
|
|
2238
4764
|
}, {
|
|
2239
4765
|
profilePhotoUrl?: string | undefined;
|
|
2240
4766
|
companyLogoUrl?: string | undefined;
|
|
@@ -2262,11 +4788,16 @@ declare const cardUpdateSchema: z.ZodObject<{
|
|
|
2262
4788
|
facebook?: string | undefined;
|
|
2263
4789
|
linkedin?: string | undefined;
|
|
2264
4790
|
instagram?: string | undefined;
|
|
4791
|
+
x?: string | undefined;
|
|
2265
4792
|
youtube?: string | undefined;
|
|
2266
4793
|
tiktok?: string | undefined;
|
|
2267
4794
|
customUrl?: string | undefined;
|
|
2268
4795
|
customUrlLabel?: string | undefined;
|
|
2269
4796
|
} | undefined;
|
|
4797
|
+
ctaButtons?: {
|
|
4798
|
+
url?: string | undefined;
|
|
4799
|
+
label?: string | undefined;
|
|
4800
|
+
}[] | undefined;
|
|
2270
4801
|
}>>;
|
|
2271
4802
|
status: z.ZodOptional<z.ZodEnum<["active", "suspended", "archived"]>>;
|
|
2272
4803
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2298,11 +4829,16 @@ declare const cardUpdateSchema: z.ZodObject<{
|
|
|
2298
4829
|
facebook?: string | undefined;
|
|
2299
4830
|
linkedin?: string | undefined;
|
|
2300
4831
|
instagram?: string | undefined;
|
|
4832
|
+
x?: string | undefined;
|
|
2301
4833
|
youtube?: string | undefined;
|
|
2302
4834
|
tiktok?: string | undefined;
|
|
2303
4835
|
customUrl?: string | undefined;
|
|
2304
4836
|
customUrlLabel?: string | undefined;
|
|
2305
4837
|
} | undefined;
|
|
4838
|
+
ctaButtons?: {
|
|
4839
|
+
url: string;
|
|
4840
|
+
label: string;
|
|
4841
|
+
}[] | undefined;
|
|
2306
4842
|
} | undefined;
|
|
2307
4843
|
}, {
|
|
2308
4844
|
status?: "active" | "suspended" | "archived" | undefined;
|
|
@@ -2333,11 +4869,16 @@ declare const cardUpdateSchema: z.ZodObject<{
|
|
|
2333
4869
|
facebook?: string | undefined;
|
|
2334
4870
|
linkedin?: string | undefined;
|
|
2335
4871
|
instagram?: string | undefined;
|
|
4872
|
+
x?: string | undefined;
|
|
2336
4873
|
youtube?: string | undefined;
|
|
2337
4874
|
tiktok?: string | undefined;
|
|
2338
4875
|
customUrl?: string | undefined;
|
|
2339
4876
|
customUrlLabel?: string | undefined;
|
|
2340
4877
|
} | undefined;
|
|
4878
|
+
ctaButtons?: {
|
|
4879
|
+
url?: string | undefined;
|
|
4880
|
+
label?: string | undefined;
|
|
4881
|
+
}[] | undefined;
|
|
2341
4882
|
} | undefined;
|
|
2342
4883
|
}>;
|
|
2343
4884
|
declare const adminCardCreateSchema: z.ZodObject<{
|
|
@@ -2474,17 +5015,19 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2474
5015
|
showSocialLinks?: boolean | undefined;
|
|
2475
5016
|
}>>;
|
|
2476
5017
|
socialOverrides: z.ZodOptional<z.ZodObject<{
|
|
2477
|
-
facebook: z.
|
|
2478
|
-
linkedin: z.
|
|
2479
|
-
instagram: z.
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
5018
|
+
facebook: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
5019
|
+
linkedin: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
5020
|
+
instagram: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
5021
|
+
x: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
5022
|
+
youtube: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
5023
|
+
tiktok: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
5024
|
+
customUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
5025
|
+
customUrlLabel: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2484
5026
|
}, "strip", z.ZodTypeAny, {
|
|
2485
5027
|
facebook?: string | undefined;
|
|
2486
5028
|
linkedin?: string | undefined;
|
|
2487
5029
|
instagram?: string | undefined;
|
|
5030
|
+
x?: string | undefined;
|
|
2488
5031
|
youtube?: string | undefined;
|
|
2489
5032
|
tiktok?: string | undefined;
|
|
2490
5033
|
customUrl?: string | undefined;
|
|
@@ -2493,11 +5036,28 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2493
5036
|
facebook?: string | undefined;
|
|
2494
5037
|
linkedin?: string | undefined;
|
|
2495
5038
|
instagram?: string | undefined;
|
|
5039
|
+
x?: string | undefined;
|
|
2496
5040
|
youtube?: string | undefined;
|
|
2497
5041
|
tiktok?: string | undefined;
|
|
2498
5042
|
customUrl?: string | undefined;
|
|
2499
5043
|
customUrlLabel?: string | undefined;
|
|
2500
5044
|
}>>;
|
|
5045
|
+
ctaButtons: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
5046
|
+
label: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
5047
|
+
url: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
5048
|
+
}, "strip", z.ZodTypeAny, {
|
|
5049
|
+
url: string;
|
|
5050
|
+
label: string;
|
|
5051
|
+
}, {
|
|
5052
|
+
url?: string | undefined;
|
|
5053
|
+
label?: string | undefined;
|
|
5054
|
+
}>, "many">, {
|
|
5055
|
+
url: string;
|
|
5056
|
+
label: string;
|
|
5057
|
+
}[], {
|
|
5058
|
+
url?: string | undefined;
|
|
5059
|
+
label?: string | undefined;
|
|
5060
|
+
}[]>>;
|
|
2501
5061
|
}, "strip", z.ZodTypeAny, {
|
|
2502
5062
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
2503
5063
|
accentColor: string;
|
|
@@ -2523,11 +5083,16 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2523
5083
|
facebook?: string | undefined;
|
|
2524
5084
|
linkedin?: string | undefined;
|
|
2525
5085
|
instagram?: string | undefined;
|
|
5086
|
+
x?: string | undefined;
|
|
2526
5087
|
youtube?: string | undefined;
|
|
2527
5088
|
tiktok?: string | undefined;
|
|
2528
5089
|
customUrl?: string | undefined;
|
|
2529
5090
|
customUrlLabel?: string | undefined;
|
|
2530
5091
|
} | undefined;
|
|
5092
|
+
ctaButtons?: {
|
|
5093
|
+
url: string;
|
|
5094
|
+
label: string;
|
|
5095
|
+
}[] | undefined;
|
|
2531
5096
|
}, {
|
|
2532
5097
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
2533
5098
|
accentColor: string;
|
|
@@ -2553,13 +5118,18 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2553
5118
|
facebook?: string | undefined;
|
|
2554
5119
|
linkedin?: string | undefined;
|
|
2555
5120
|
instagram?: string | undefined;
|
|
5121
|
+
x?: string | undefined;
|
|
2556
5122
|
youtube?: string | undefined;
|
|
2557
5123
|
tiktok?: string | undefined;
|
|
2558
5124
|
customUrl?: string | undefined;
|
|
2559
5125
|
customUrlLabel?: string | undefined;
|
|
2560
5126
|
} | undefined;
|
|
5127
|
+
ctaButtons?: {
|
|
5128
|
+
url?: string | undefined;
|
|
5129
|
+
label?: string | undefined;
|
|
5130
|
+
}[] | undefined;
|
|
2561
5131
|
}>;
|
|
2562
|
-
physicalConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
5132
|
+
physicalConfig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
2563
5133
|
material: z.ZodEnum<["plastic", "3dprint_standard", "metal", "bamboo"]>;
|
|
2564
5134
|
colour: z.ZodOptional<z.ZodString>;
|
|
2565
5135
|
comboId: z.ZodEnum<["A1", "A2", "B1", "B2", "C1", "C2", "D1", "D2", "E1", "E2"]>;
|
|
@@ -2673,6 +5243,249 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2673
5243
|
displayName?: string | undefined;
|
|
2674
5244
|
}>>;
|
|
2675
5245
|
companyLogoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
5246
|
+
cardDesign: z.ZodOptional<z.ZodObject<{
|
|
5247
|
+
material: z.ZodEnum<["3dprint_standard", "metal", "bamboo"]>;
|
|
5248
|
+
designType: z.ZodEnum<["template", "custom"]>;
|
|
5249
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
5250
|
+
thicknessMm: z.ZodNumber;
|
|
5251
|
+
pattern: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
5252
|
+
family: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
5253
|
+
variant: z.ZodEnum<["pulse", "bell"]>;
|
|
5254
|
+
density: z.ZodNumber;
|
|
5255
|
+
holeMinMm: z.ZodNumber;
|
|
5256
|
+
holeMaxMm: z.ZodNumber;
|
|
5257
|
+
intensity: z.ZodNumber;
|
|
5258
|
+
cellShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
5259
|
+
cellRotationDeg: z.ZodNumber;
|
|
5260
|
+
chipShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
5261
|
+
chipRotationDeg: z.ZodNumber;
|
|
5262
|
+
}, "strip", z.ZodTypeAny, {
|
|
5263
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5264
|
+
variant: "pulse" | "bell";
|
|
5265
|
+
density: number;
|
|
5266
|
+
holeMinMm: number;
|
|
5267
|
+
holeMaxMm: number;
|
|
5268
|
+
intensity: number;
|
|
5269
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5270
|
+
cellRotationDeg: number;
|
|
5271
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5272
|
+
chipRotationDeg: number;
|
|
5273
|
+
}, {
|
|
5274
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5275
|
+
variant: "pulse" | "bell";
|
|
5276
|
+
density: number;
|
|
5277
|
+
holeMinMm: number;
|
|
5278
|
+
holeMaxMm: number;
|
|
5279
|
+
intensity: number;
|
|
5280
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5281
|
+
cellRotationDeg: number;
|
|
5282
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5283
|
+
chipRotationDeg: number;
|
|
5284
|
+
}>, {
|
|
5285
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5286
|
+
variant: "pulse" | "bell";
|
|
5287
|
+
density: number;
|
|
5288
|
+
holeMinMm: number;
|
|
5289
|
+
holeMaxMm: number;
|
|
5290
|
+
intensity: number;
|
|
5291
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5292
|
+
cellRotationDeg: number;
|
|
5293
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5294
|
+
chipRotationDeg: number;
|
|
5295
|
+
}, {
|
|
5296
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5297
|
+
variant: "pulse" | "bell";
|
|
5298
|
+
density: number;
|
|
5299
|
+
holeMinMm: number;
|
|
5300
|
+
holeMaxMm: number;
|
|
5301
|
+
intensity: number;
|
|
5302
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5303
|
+
cellRotationDeg: number;
|
|
5304
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5305
|
+
chipRotationDeg: number;
|
|
5306
|
+
}>>;
|
|
5307
|
+
layout: z.ZodObject<{
|
|
5308
|
+
chipAnchor: z.ZodObject<{
|
|
5309
|
+
col: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
5310
|
+
row: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
5311
|
+
}, "strip", z.ZodTypeAny, {
|
|
5312
|
+
col: 0 | 1 | 2;
|
|
5313
|
+
row: 0 | 1 | 2;
|
|
5314
|
+
}, {
|
|
5315
|
+
col: 0 | 1 | 2;
|
|
5316
|
+
row: 0 | 1 | 2;
|
|
5317
|
+
}>;
|
|
5318
|
+
}, "strip", z.ZodTypeAny, {
|
|
5319
|
+
chipAnchor: {
|
|
5320
|
+
col: 0 | 1 | 2;
|
|
5321
|
+
row: 0 | 1 | 2;
|
|
5322
|
+
};
|
|
5323
|
+
}, {
|
|
5324
|
+
chipAnchor: {
|
|
5325
|
+
col: 0 | 1 | 2;
|
|
5326
|
+
row: 0 | 1 | 2;
|
|
5327
|
+
};
|
|
5328
|
+
}>;
|
|
5329
|
+
filaments: z.ZodObject<{
|
|
5330
|
+
background: z.ZodString;
|
|
5331
|
+
text: z.ZodString;
|
|
5332
|
+
accent: z.ZodString;
|
|
5333
|
+
}, "strip", z.ZodTypeAny, {
|
|
5334
|
+
background: string;
|
|
5335
|
+
text: string;
|
|
5336
|
+
accent: string;
|
|
5337
|
+
}, {
|
|
5338
|
+
background: string;
|
|
5339
|
+
text: string;
|
|
5340
|
+
accent: string;
|
|
5341
|
+
}>;
|
|
5342
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
5343
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
5344
|
+
text: z.ZodString;
|
|
5345
|
+
sizeMm: z.ZodNumber;
|
|
5346
|
+
weight: z.ZodNumber;
|
|
5347
|
+
role: z.ZodEnum<["text", "accent"]>;
|
|
5348
|
+
}, "strip", z.ZodTypeAny, {
|
|
5349
|
+
text: string;
|
|
5350
|
+
sizeMm: number;
|
|
5351
|
+
weight: number;
|
|
5352
|
+
role: "text" | "accent";
|
|
5353
|
+
}, {
|
|
5354
|
+
text: string;
|
|
5355
|
+
sizeMm: number;
|
|
5356
|
+
weight: number;
|
|
5357
|
+
role: "text" | "accent";
|
|
5358
|
+
}>, "many">;
|
|
5359
|
+
}, "strip", z.ZodTypeAny, {
|
|
5360
|
+
lines: {
|
|
5361
|
+
text: string;
|
|
5362
|
+
sizeMm: number;
|
|
5363
|
+
weight: number;
|
|
5364
|
+
role: "text" | "accent";
|
|
5365
|
+
}[];
|
|
5366
|
+
}, {
|
|
5367
|
+
lines: {
|
|
5368
|
+
text: string;
|
|
5369
|
+
sizeMm: number;
|
|
5370
|
+
weight: number;
|
|
5371
|
+
role: "text" | "accent";
|
|
5372
|
+
}[];
|
|
5373
|
+
}>>;
|
|
5374
|
+
qr: z.ZodOptional<z.ZodObject<{
|
|
5375
|
+
enabled: z.ZodBoolean;
|
|
5376
|
+
url: z.ZodString;
|
|
5377
|
+
}, "strip", z.ZodTypeAny, {
|
|
5378
|
+
enabled: boolean;
|
|
5379
|
+
url: string;
|
|
5380
|
+
}, {
|
|
5381
|
+
enabled: boolean;
|
|
5382
|
+
url: string;
|
|
5383
|
+
}>>;
|
|
5384
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
5385
|
+
svg: z.ZodOptional<z.ZodString>;
|
|
5386
|
+
svgPath: z.ZodOptional<z.ZodString>;
|
|
5387
|
+
}, "strip", z.ZodTypeAny, {
|
|
5388
|
+
svg?: string | undefined;
|
|
5389
|
+
svgPath?: string | undefined;
|
|
5390
|
+
}, {
|
|
5391
|
+
svg?: string | undefined;
|
|
5392
|
+
svgPath?: string | undefined;
|
|
5393
|
+
}>>;
|
|
5394
|
+
wordmark: z.ZodOptional<z.ZodBoolean>;
|
|
5395
|
+
contentFace: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
|
|
5396
|
+
}, "strip", z.ZodTypeAny, {
|
|
5397
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5398
|
+
designType: "custom" | "template";
|
|
5399
|
+
thicknessMm: number;
|
|
5400
|
+
pattern: {
|
|
5401
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5402
|
+
variant: "pulse" | "bell";
|
|
5403
|
+
density: number;
|
|
5404
|
+
holeMinMm: number;
|
|
5405
|
+
holeMaxMm: number;
|
|
5406
|
+
intensity: number;
|
|
5407
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5408
|
+
cellRotationDeg: number;
|
|
5409
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5410
|
+
chipRotationDeg: number;
|
|
5411
|
+
} | null;
|
|
5412
|
+
layout: {
|
|
5413
|
+
chipAnchor: {
|
|
5414
|
+
col: 0 | 1 | 2;
|
|
5415
|
+
row: 0 | 1 | 2;
|
|
5416
|
+
};
|
|
5417
|
+
};
|
|
5418
|
+
filaments: {
|
|
5419
|
+
background: string;
|
|
5420
|
+
text: string;
|
|
5421
|
+
accent: string;
|
|
5422
|
+
};
|
|
5423
|
+
templateId?: string | undefined;
|
|
5424
|
+
content?: {
|
|
5425
|
+
lines: {
|
|
5426
|
+
text: string;
|
|
5427
|
+
sizeMm: number;
|
|
5428
|
+
weight: number;
|
|
5429
|
+
role: "text" | "accent";
|
|
5430
|
+
}[];
|
|
5431
|
+
} | undefined;
|
|
5432
|
+
qr?: {
|
|
5433
|
+
enabled: boolean;
|
|
5434
|
+
url: string;
|
|
5435
|
+
} | undefined;
|
|
5436
|
+
logo?: {
|
|
5437
|
+
svg?: string | undefined;
|
|
5438
|
+
svgPath?: string | undefined;
|
|
5439
|
+
} | undefined;
|
|
5440
|
+
wordmark?: boolean | undefined;
|
|
5441
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5442
|
+
}, {
|
|
5443
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5444
|
+
designType: "custom" | "template";
|
|
5445
|
+
thicknessMm: number;
|
|
5446
|
+
pattern: {
|
|
5447
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5448
|
+
variant: "pulse" | "bell";
|
|
5449
|
+
density: number;
|
|
5450
|
+
holeMinMm: number;
|
|
5451
|
+
holeMaxMm: number;
|
|
5452
|
+
intensity: number;
|
|
5453
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5454
|
+
cellRotationDeg: number;
|
|
5455
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5456
|
+
chipRotationDeg: number;
|
|
5457
|
+
} | null;
|
|
5458
|
+
layout: {
|
|
5459
|
+
chipAnchor: {
|
|
5460
|
+
col: 0 | 1 | 2;
|
|
5461
|
+
row: 0 | 1 | 2;
|
|
5462
|
+
};
|
|
5463
|
+
};
|
|
5464
|
+
filaments: {
|
|
5465
|
+
background: string;
|
|
5466
|
+
text: string;
|
|
5467
|
+
accent: string;
|
|
5468
|
+
};
|
|
5469
|
+
templateId?: string | undefined;
|
|
5470
|
+
content?: {
|
|
5471
|
+
lines: {
|
|
5472
|
+
text: string;
|
|
5473
|
+
sizeMm: number;
|
|
5474
|
+
weight: number;
|
|
5475
|
+
role: "text" | "accent";
|
|
5476
|
+
}[];
|
|
5477
|
+
} | undefined;
|
|
5478
|
+
qr?: {
|
|
5479
|
+
enabled: boolean;
|
|
5480
|
+
url: string;
|
|
5481
|
+
} | undefined;
|
|
5482
|
+
logo?: {
|
|
5483
|
+
svg?: string | undefined;
|
|
5484
|
+
svgPath?: string | undefined;
|
|
5485
|
+
} | undefined;
|
|
5486
|
+
wordmark?: boolean | undefined;
|
|
5487
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5488
|
+
}>>;
|
|
2676
5489
|
}, "strip", z.ZodTypeAny, {
|
|
2677
5490
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
2678
5491
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -2719,6 +5532,239 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2719
5532
|
company?: string | undefined;
|
|
2720
5533
|
displayName?: string | undefined;
|
|
2721
5534
|
} | undefined;
|
|
5535
|
+
cardDesign?: {
|
|
5536
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5537
|
+
designType: "custom" | "template";
|
|
5538
|
+
thicknessMm: number;
|
|
5539
|
+
pattern: {
|
|
5540
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5541
|
+
variant: "pulse" | "bell";
|
|
5542
|
+
density: number;
|
|
5543
|
+
holeMinMm: number;
|
|
5544
|
+
holeMaxMm: number;
|
|
5545
|
+
intensity: number;
|
|
5546
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5547
|
+
cellRotationDeg: number;
|
|
5548
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5549
|
+
chipRotationDeg: number;
|
|
5550
|
+
} | null;
|
|
5551
|
+
layout: {
|
|
5552
|
+
chipAnchor: {
|
|
5553
|
+
col: 0 | 1 | 2;
|
|
5554
|
+
row: 0 | 1 | 2;
|
|
5555
|
+
};
|
|
5556
|
+
};
|
|
5557
|
+
filaments: {
|
|
5558
|
+
background: string;
|
|
5559
|
+
text: string;
|
|
5560
|
+
accent: string;
|
|
5561
|
+
};
|
|
5562
|
+
templateId?: string | undefined;
|
|
5563
|
+
content?: {
|
|
5564
|
+
lines: {
|
|
5565
|
+
text: string;
|
|
5566
|
+
sizeMm: number;
|
|
5567
|
+
weight: number;
|
|
5568
|
+
role: "text" | "accent";
|
|
5569
|
+
}[];
|
|
5570
|
+
} | undefined;
|
|
5571
|
+
qr?: {
|
|
5572
|
+
enabled: boolean;
|
|
5573
|
+
url: string;
|
|
5574
|
+
} | undefined;
|
|
5575
|
+
logo?: {
|
|
5576
|
+
svg?: string | undefined;
|
|
5577
|
+
svgPath?: string | undefined;
|
|
5578
|
+
} | undefined;
|
|
5579
|
+
wordmark?: boolean | undefined;
|
|
5580
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5581
|
+
} | undefined;
|
|
5582
|
+
}, {
|
|
5583
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
5584
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
5585
|
+
frontElements: {
|
|
5586
|
+
showName: boolean;
|
|
5587
|
+
showPosition: boolean;
|
|
5588
|
+
showEmail: boolean;
|
|
5589
|
+
showPhone: boolean;
|
|
5590
|
+
showCompany: boolean;
|
|
5591
|
+
showLogo: boolean;
|
|
5592
|
+
showQr: boolean;
|
|
5593
|
+
showPhoto: boolean;
|
|
5594
|
+
};
|
|
5595
|
+
backElements: {
|
|
5596
|
+
showName: boolean;
|
|
5597
|
+
showPosition: boolean;
|
|
5598
|
+
showEmail: boolean;
|
|
5599
|
+
showPhone: boolean;
|
|
5600
|
+
showCompany: boolean;
|
|
5601
|
+
showLogo: boolean;
|
|
5602
|
+
showQr: boolean;
|
|
5603
|
+
showPhoto: boolean;
|
|
5604
|
+
};
|
|
5605
|
+
companyLogoUrl?: string | undefined;
|
|
5606
|
+
colour?: string | undefined;
|
|
5607
|
+
qrTargetUrl?: string | undefined;
|
|
5608
|
+
customDesignRequest?: string | undefined;
|
|
5609
|
+
frontContactToggles?: {
|
|
5610
|
+
showEmail?: boolean | undefined;
|
|
5611
|
+
showPhone?: boolean | undefined;
|
|
5612
|
+
showLocation?: boolean | undefined;
|
|
5613
|
+
} | undefined;
|
|
5614
|
+
backContactToggles?: {
|
|
5615
|
+
showEmail?: boolean | undefined;
|
|
5616
|
+
showPhone?: boolean | undefined;
|
|
5617
|
+
showLocation?: boolean | undefined;
|
|
5618
|
+
} | undefined;
|
|
5619
|
+
contentOverrides?: {
|
|
5620
|
+
position?: string | undefined;
|
|
5621
|
+
email?: string | undefined;
|
|
5622
|
+
phone?: string | undefined;
|
|
5623
|
+
phoneCountryCode?: string | undefined;
|
|
5624
|
+
location?: string | undefined;
|
|
5625
|
+
company?: string | undefined;
|
|
5626
|
+
displayName?: string | undefined;
|
|
5627
|
+
} | undefined;
|
|
5628
|
+
cardDesign?: {
|
|
5629
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5630
|
+
designType: "custom" | "template";
|
|
5631
|
+
thicknessMm: number;
|
|
5632
|
+
pattern: {
|
|
5633
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5634
|
+
variant: "pulse" | "bell";
|
|
5635
|
+
density: number;
|
|
5636
|
+
holeMinMm: number;
|
|
5637
|
+
holeMaxMm: number;
|
|
5638
|
+
intensity: number;
|
|
5639
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5640
|
+
cellRotationDeg: number;
|
|
5641
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5642
|
+
chipRotationDeg: number;
|
|
5643
|
+
} | null;
|
|
5644
|
+
layout: {
|
|
5645
|
+
chipAnchor: {
|
|
5646
|
+
col: 0 | 1 | 2;
|
|
5647
|
+
row: 0 | 1 | 2;
|
|
5648
|
+
};
|
|
5649
|
+
};
|
|
5650
|
+
filaments: {
|
|
5651
|
+
background: string;
|
|
5652
|
+
text: string;
|
|
5653
|
+
accent: string;
|
|
5654
|
+
};
|
|
5655
|
+
templateId?: string | undefined;
|
|
5656
|
+
content?: {
|
|
5657
|
+
lines: {
|
|
5658
|
+
text: string;
|
|
5659
|
+
sizeMm: number;
|
|
5660
|
+
weight: number;
|
|
5661
|
+
role: "text" | "accent";
|
|
5662
|
+
}[];
|
|
5663
|
+
} | undefined;
|
|
5664
|
+
qr?: {
|
|
5665
|
+
enabled: boolean;
|
|
5666
|
+
url: string;
|
|
5667
|
+
} | undefined;
|
|
5668
|
+
logo?: {
|
|
5669
|
+
svg?: string | undefined;
|
|
5670
|
+
svgPath?: string | undefined;
|
|
5671
|
+
} | undefined;
|
|
5672
|
+
wordmark?: boolean | undefined;
|
|
5673
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5674
|
+
} | undefined;
|
|
5675
|
+
}>, {
|
|
5676
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
5677
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
5678
|
+
frontElements: {
|
|
5679
|
+
showName: boolean;
|
|
5680
|
+
showPosition: boolean;
|
|
5681
|
+
showEmail: boolean;
|
|
5682
|
+
showPhone: boolean;
|
|
5683
|
+
showCompany: boolean;
|
|
5684
|
+
showLogo: boolean;
|
|
5685
|
+
showQr: boolean;
|
|
5686
|
+
showPhoto: boolean;
|
|
5687
|
+
};
|
|
5688
|
+
backElements: {
|
|
5689
|
+
showName: boolean;
|
|
5690
|
+
showPosition: boolean;
|
|
5691
|
+
showEmail: boolean;
|
|
5692
|
+
showPhone: boolean;
|
|
5693
|
+
showCompany: boolean;
|
|
5694
|
+
showLogo: boolean;
|
|
5695
|
+
showQr: boolean;
|
|
5696
|
+
showPhoto: boolean;
|
|
5697
|
+
};
|
|
5698
|
+
companyLogoUrl?: string | undefined;
|
|
5699
|
+
colour?: string | undefined;
|
|
5700
|
+
qrTargetUrl?: string | undefined;
|
|
5701
|
+
customDesignRequest?: string | undefined;
|
|
5702
|
+
frontContactToggles?: {
|
|
5703
|
+
showEmail?: boolean | undefined;
|
|
5704
|
+
showPhone?: boolean | undefined;
|
|
5705
|
+
showLocation?: boolean | undefined;
|
|
5706
|
+
} | undefined;
|
|
5707
|
+
backContactToggles?: {
|
|
5708
|
+
showEmail?: boolean | undefined;
|
|
5709
|
+
showPhone?: boolean | undefined;
|
|
5710
|
+
showLocation?: boolean | undefined;
|
|
5711
|
+
} | undefined;
|
|
5712
|
+
contentOverrides?: {
|
|
5713
|
+
position?: string | undefined;
|
|
5714
|
+
email?: string | undefined;
|
|
5715
|
+
phone?: string | undefined;
|
|
5716
|
+
phoneCountryCode?: string | undefined;
|
|
5717
|
+
location?: string | undefined;
|
|
5718
|
+
company?: string | undefined;
|
|
5719
|
+
displayName?: string | undefined;
|
|
5720
|
+
} | undefined;
|
|
5721
|
+
cardDesign?: {
|
|
5722
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5723
|
+
designType: "custom" | "template";
|
|
5724
|
+
thicknessMm: number;
|
|
5725
|
+
pattern: {
|
|
5726
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5727
|
+
variant: "pulse" | "bell";
|
|
5728
|
+
density: number;
|
|
5729
|
+
holeMinMm: number;
|
|
5730
|
+
holeMaxMm: number;
|
|
5731
|
+
intensity: number;
|
|
5732
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5733
|
+
cellRotationDeg: number;
|
|
5734
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5735
|
+
chipRotationDeg: number;
|
|
5736
|
+
} | null;
|
|
5737
|
+
layout: {
|
|
5738
|
+
chipAnchor: {
|
|
5739
|
+
col: 0 | 1 | 2;
|
|
5740
|
+
row: 0 | 1 | 2;
|
|
5741
|
+
};
|
|
5742
|
+
};
|
|
5743
|
+
filaments: {
|
|
5744
|
+
background: string;
|
|
5745
|
+
text: string;
|
|
5746
|
+
accent: string;
|
|
5747
|
+
};
|
|
5748
|
+
templateId?: string | undefined;
|
|
5749
|
+
content?: {
|
|
5750
|
+
lines: {
|
|
5751
|
+
text: string;
|
|
5752
|
+
sizeMm: number;
|
|
5753
|
+
weight: number;
|
|
5754
|
+
role: "text" | "accent";
|
|
5755
|
+
}[];
|
|
5756
|
+
} | undefined;
|
|
5757
|
+
qr?: {
|
|
5758
|
+
enabled: boolean;
|
|
5759
|
+
url: string;
|
|
5760
|
+
} | undefined;
|
|
5761
|
+
logo?: {
|
|
5762
|
+
svg?: string | undefined;
|
|
5763
|
+
svgPath?: string | undefined;
|
|
5764
|
+
} | undefined;
|
|
5765
|
+
wordmark?: boolean | undefined;
|
|
5766
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5767
|
+
} | undefined;
|
|
2722
5768
|
}, {
|
|
2723
5769
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
2724
5770
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -2765,6 +5811,53 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2765
5811
|
company?: string | undefined;
|
|
2766
5812
|
displayName?: string | undefined;
|
|
2767
5813
|
} | undefined;
|
|
5814
|
+
cardDesign?: {
|
|
5815
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5816
|
+
designType: "custom" | "template";
|
|
5817
|
+
thicknessMm: number;
|
|
5818
|
+
pattern: {
|
|
5819
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5820
|
+
variant: "pulse" | "bell";
|
|
5821
|
+
density: number;
|
|
5822
|
+
holeMinMm: number;
|
|
5823
|
+
holeMaxMm: number;
|
|
5824
|
+
intensity: number;
|
|
5825
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5826
|
+
cellRotationDeg: number;
|
|
5827
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5828
|
+
chipRotationDeg: number;
|
|
5829
|
+
} | null;
|
|
5830
|
+
layout: {
|
|
5831
|
+
chipAnchor: {
|
|
5832
|
+
col: 0 | 1 | 2;
|
|
5833
|
+
row: 0 | 1 | 2;
|
|
5834
|
+
};
|
|
5835
|
+
};
|
|
5836
|
+
filaments: {
|
|
5837
|
+
background: string;
|
|
5838
|
+
text: string;
|
|
5839
|
+
accent: string;
|
|
5840
|
+
};
|
|
5841
|
+
templateId?: string | undefined;
|
|
5842
|
+
content?: {
|
|
5843
|
+
lines: {
|
|
5844
|
+
text: string;
|
|
5845
|
+
sizeMm: number;
|
|
5846
|
+
weight: number;
|
|
5847
|
+
role: "text" | "accent";
|
|
5848
|
+
}[];
|
|
5849
|
+
} | undefined;
|
|
5850
|
+
qr?: {
|
|
5851
|
+
enabled: boolean;
|
|
5852
|
+
url: string;
|
|
5853
|
+
} | undefined;
|
|
5854
|
+
logo?: {
|
|
5855
|
+
svg?: string | undefined;
|
|
5856
|
+
svgPath?: string | undefined;
|
|
5857
|
+
} | undefined;
|
|
5858
|
+
wordmark?: boolean | undefined;
|
|
5859
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5860
|
+
} | undefined;
|
|
2768
5861
|
}>, {
|
|
2769
5862
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
2770
5863
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -2811,6 +5904,53 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2811
5904
|
company?: string | undefined;
|
|
2812
5905
|
displayName?: string | undefined;
|
|
2813
5906
|
} | undefined;
|
|
5907
|
+
cardDesign?: {
|
|
5908
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5909
|
+
designType: "custom" | "template";
|
|
5910
|
+
thicknessMm: number;
|
|
5911
|
+
pattern: {
|
|
5912
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5913
|
+
variant: "pulse" | "bell";
|
|
5914
|
+
density: number;
|
|
5915
|
+
holeMinMm: number;
|
|
5916
|
+
holeMaxMm: number;
|
|
5917
|
+
intensity: number;
|
|
5918
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5919
|
+
cellRotationDeg: number;
|
|
5920
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5921
|
+
chipRotationDeg: number;
|
|
5922
|
+
} | null;
|
|
5923
|
+
layout: {
|
|
5924
|
+
chipAnchor: {
|
|
5925
|
+
col: 0 | 1 | 2;
|
|
5926
|
+
row: 0 | 1 | 2;
|
|
5927
|
+
};
|
|
5928
|
+
};
|
|
5929
|
+
filaments: {
|
|
5930
|
+
background: string;
|
|
5931
|
+
text: string;
|
|
5932
|
+
accent: string;
|
|
5933
|
+
};
|
|
5934
|
+
templateId?: string | undefined;
|
|
5935
|
+
content?: {
|
|
5936
|
+
lines: {
|
|
5937
|
+
text: string;
|
|
5938
|
+
sizeMm: number;
|
|
5939
|
+
weight: number;
|
|
5940
|
+
role: "text" | "accent";
|
|
5941
|
+
}[];
|
|
5942
|
+
} | undefined;
|
|
5943
|
+
qr?: {
|
|
5944
|
+
enabled: boolean;
|
|
5945
|
+
url: string;
|
|
5946
|
+
} | undefined;
|
|
5947
|
+
logo?: {
|
|
5948
|
+
svg?: string | undefined;
|
|
5949
|
+
svgPath?: string | undefined;
|
|
5950
|
+
} | undefined;
|
|
5951
|
+
wordmark?: boolean | undefined;
|
|
5952
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5953
|
+
} | undefined;
|
|
2814
5954
|
}, {
|
|
2815
5955
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
2816
5956
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -2857,6 +5997,53 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2857
5997
|
company?: string | undefined;
|
|
2858
5998
|
displayName?: string | undefined;
|
|
2859
5999
|
} | undefined;
|
|
6000
|
+
cardDesign?: {
|
|
6001
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
6002
|
+
designType: "custom" | "template";
|
|
6003
|
+
thicknessMm: number;
|
|
6004
|
+
pattern: {
|
|
6005
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
6006
|
+
variant: "pulse" | "bell";
|
|
6007
|
+
density: number;
|
|
6008
|
+
holeMinMm: number;
|
|
6009
|
+
holeMaxMm: number;
|
|
6010
|
+
intensity: number;
|
|
6011
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
6012
|
+
cellRotationDeg: number;
|
|
6013
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
6014
|
+
chipRotationDeg: number;
|
|
6015
|
+
} | null;
|
|
6016
|
+
layout: {
|
|
6017
|
+
chipAnchor: {
|
|
6018
|
+
col: 0 | 1 | 2;
|
|
6019
|
+
row: 0 | 1 | 2;
|
|
6020
|
+
};
|
|
6021
|
+
};
|
|
6022
|
+
filaments: {
|
|
6023
|
+
background: string;
|
|
6024
|
+
text: string;
|
|
6025
|
+
accent: string;
|
|
6026
|
+
};
|
|
6027
|
+
templateId?: string | undefined;
|
|
6028
|
+
content?: {
|
|
6029
|
+
lines: {
|
|
6030
|
+
text: string;
|
|
6031
|
+
sizeMm: number;
|
|
6032
|
+
weight: number;
|
|
6033
|
+
role: "text" | "accent";
|
|
6034
|
+
}[];
|
|
6035
|
+
} | undefined;
|
|
6036
|
+
qr?: {
|
|
6037
|
+
enabled: boolean;
|
|
6038
|
+
url: string;
|
|
6039
|
+
} | undefined;
|
|
6040
|
+
logo?: {
|
|
6041
|
+
svg?: string | undefined;
|
|
6042
|
+
svgPath?: string | undefined;
|
|
6043
|
+
} | undefined;
|
|
6044
|
+
wordmark?: boolean | undefined;
|
|
6045
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
6046
|
+
} | undefined;
|
|
2860
6047
|
}>>;
|
|
2861
6048
|
}, "strip", z.ZodTypeAny, {
|
|
2862
6049
|
userData: {
|
|
@@ -2908,11 +6095,16 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2908
6095
|
facebook?: string | undefined;
|
|
2909
6096
|
linkedin?: string | undefined;
|
|
2910
6097
|
instagram?: string | undefined;
|
|
6098
|
+
x?: string | undefined;
|
|
2911
6099
|
youtube?: string | undefined;
|
|
2912
6100
|
tiktok?: string | undefined;
|
|
2913
6101
|
customUrl?: string | undefined;
|
|
2914
6102
|
customUrlLabel?: string | undefined;
|
|
2915
6103
|
} | undefined;
|
|
6104
|
+
ctaButtons?: {
|
|
6105
|
+
url: string;
|
|
6106
|
+
label: string;
|
|
6107
|
+
}[] | undefined;
|
|
2916
6108
|
};
|
|
2917
6109
|
targetUserId: string;
|
|
2918
6110
|
physicalConfig?: {
|
|
@@ -2961,6 +6153,53 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2961
6153
|
company?: string | undefined;
|
|
2962
6154
|
displayName?: string | undefined;
|
|
2963
6155
|
} | undefined;
|
|
6156
|
+
cardDesign?: {
|
|
6157
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
6158
|
+
designType: "custom" | "template";
|
|
6159
|
+
thicknessMm: number;
|
|
6160
|
+
pattern: {
|
|
6161
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
6162
|
+
variant: "pulse" | "bell";
|
|
6163
|
+
density: number;
|
|
6164
|
+
holeMinMm: number;
|
|
6165
|
+
holeMaxMm: number;
|
|
6166
|
+
intensity: number;
|
|
6167
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
6168
|
+
cellRotationDeg: number;
|
|
6169
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
6170
|
+
chipRotationDeg: number;
|
|
6171
|
+
} | null;
|
|
6172
|
+
layout: {
|
|
6173
|
+
chipAnchor: {
|
|
6174
|
+
col: 0 | 1 | 2;
|
|
6175
|
+
row: 0 | 1 | 2;
|
|
6176
|
+
};
|
|
6177
|
+
};
|
|
6178
|
+
filaments: {
|
|
6179
|
+
background: string;
|
|
6180
|
+
text: string;
|
|
6181
|
+
accent: string;
|
|
6182
|
+
};
|
|
6183
|
+
templateId?: string | undefined;
|
|
6184
|
+
content?: {
|
|
6185
|
+
lines: {
|
|
6186
|
+
text: string;
|
|
6187
|
+
sizeMm: number;
|
|
6188
|
+
weight: number;
|
|
6189
|
+
role: "text" | "accent";
|
|
6190
|
+
}[];
|
|
6191
|
+
} | undefined;
|
|
6192
|
+
qr?: {
|
|
6193
|
+
enabled: boolean;
|
|
6194
|
+
url: string;
|
|
6195
|
+
} | undefined;
|
|
6196
|
+
logo?: {
|
|
6197
|
+
svg?: string | undefined;
|
|
6198
|
+
svgPath?: string | undefined;
|
|
6199
|
+
} | undefined;
|
|
6200
|
+
wordmark?: boolean | undefined;
|
|
6201
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
6202
|
+
} | undefined;
|
|
2964
6203
|
} | undefined;
|
|
2965
6204
|
}, {
|
|
2966
6205
|
userData: {
|
|
@@ -3012,11 +6251,16 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
3012
6251
|
facebook?: string | undefined;
|
|
3013
6252
|
linkedin?: string | undefined;
|
|
3014
6253
|
instagram?: string | undefined;
|
|
6254
|
+
x?: string | undefined;
|
|
3015
6255
|
youtube?: string | undefined;
|
|
3016
6256
|
tiktok?: string | undefined;
|
|
3017
6257
|
customUrl?: string | undefined;
|
|
3018
6258
|
customUrlLabel?: string | undefined;
|
|
3019
6259
|
} | undefined;
|
|
6260
|
+
ctaButtons?: {
|
|
6261
|
+
url?: string | undefined;
|
|
6262
|
+
label?: string | undefined;
|
|
6263
|
+
}[] | undefined;
|
|
3020
6264
|
};
|
|
3021
6265
|
targetUserId: string;
|
|
3022
6266
|
physicalConfig?: {
|
|
@@ -3065,6 +6309,53 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
3065
6309
|
company?: string | undefined;
|
|
3066
6310
|
displayName?: string | undefined;
|
|
3067
6311
|
} | undefined;
|
|
6312
|
+
cardDesign?: {
|
|
6313
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
6314
|
+
designType: "custom" | "template";
|
|
6315
|
+
thicknessMm: number;
|
|
6316
|
+
pattern: {
|
|
6317
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
6318
|
+
variant: "pulse" | "bell";
|
|
6319
|
+
density: number;
|
|
6320
|
+
holeMinMm: number;
|
|
6321
|
+
holeMaxMm: number;
|
|
6322
|
+
intensity: number;
|
|
6323
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
6324
|
+
cellRotationDeg: number;
|
|
6325
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
6326
|
+
chipRotationDeg: number;
|
|
6327
|
+
} | null;
|
|
6328
|
+
layout: {
|
|
6329
|
+
chipAnchor: {
|
|
6330
|
+
col: 0 | 1 | 2;
|
|
6331
|
+
row: 0 | 1 | 2;
|
|
6332
|
+
};
|
|
6333
|
+
};
|
|
6334
|
+
filaments: {
|
|
6335
|
+
background: string;
|
|
6336
|
+
text: string;
|
|
6337
|
+
accent: string;
|
|
6338
|
+
};
|
|
6339
|
+
templateId?: string | undefined;
|
|
6340
|
+
content?: {
|
|
6341
|
+
lines: {
|
|
6342
|
+
text: string;
|
|
6343
|
+
sizeMm: number;
|
|
6344
|
+
weight: number;
|
|
6345
|
+
role: "text" | "accent";
|
|
6346
|
+
}[];
|
|
6347
|
+
} | undefined;
|
|
6348
|
+
qr?: {
|
|
6349
|
+
enabled: boolean;
|
|
6350
|
+
url: string;
|
|
6351
|
+
} | undefined;
|
|
6352
|
+
logo?: {
|
|
6353
|
+
svg?: string | undefined;
|
|
6354
|
+
svgPath?: string | undefined;
|
|
6355
|
+
} | undefined;
|
|
6356
|
+
wordmark?: boolean | undefined;
|
|
6357
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
6358
|
+
} | undefined;
|
|
3068
6359
|
} | undefined;
|
|
3069
6360
|
}>;
|
|
3070
6361
|
declare const profileVisibilitySchema: z.ZodEnum<["public", "private", "link_only"]>;
|
|
@@ -3294,17 +6585,19 @@ declare const profileCreateSchema: z.ZodObject<{
|
|
|
3294
6585
|
showSocialLinks?: boolean | undefined;
|
|
3295
6586
|
}>>;
|
|
3296
6587
|
socialOverrides: z.ZodOptional<z.ZodObject<{
|
|
3297
|
-
facebook: z.
|
|
3298
|
-
linkedin: z.
|
|
3299
|
-
instagram: z.
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
6588
|
+
facebook: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6589
|
+
linkedin: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6590
|
+
instagram: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6591
|
+
x: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6592
|
+
youtube: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6593
|
+
tiktok: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6594
|
+
customUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6595
|
+
customUrlLabel: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3304
6596
|
}, "strip", z.ZodTypeAny, {
|
|
3305
6597
|
facebook?: string | undefined;
|
|
3306
6598
|
linkedin?: string | undefined;
|
|
3307
6599
|
instagram?: string | undefined;
|
|
6600
|
+
x?: string | undefined;
|
|
3308
6601
|
youtube?: string | undefined;
|
|
3309
6602
|
tiktok?: string | undefined;
|
|
3310
6603
|
customUrl?: string | undefined;
|
|
@@ -3313,11 +6606,28 @@ declare const profileCreateSchema: z.ZodObject<{
|
|
|
3313
6606
|
facebook?: string | undefined;
|
|
3314
6607
|
linkedin?: string | undefined;
|
|
3315
6608
|
instagram?: string | undefined;
|
|
6609
|
+
x?: string | undefined;
|
|
3316
6610
|
youtube?: string | undefined;
|
|
3317
6611
|
tiktok?: string | undefined;
|
|
3318
6612
|
customUrl?: string | undefined;
|
|
3319
6613
|
customUrlLabel?: string | undefined;
|
|
3320
6614
|
}>>;
|
|
6615
|
+
ctaButtons: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
6616
|
+
label: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
6617
|
+
url: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
6618
|
+
}, "strip", z.ZodTypeAny, {
|
|
6619
|
+
url: string;
|
|
6620
|
+
label: string;
|
|
6621
|
+
}, {
|
|
6622
|
+
url?: string | undefined;
|
|
6623
|
+
label?: string | undefined;
|
|
6624
|
+
}>, "many">, {
|
|
6625
|
+
url: string;
|
|
6626
|
+
label: string;
|
|
6627
|
+
}[], {
|
|
6628
|
+
url?: string | undefined;
|
|
6629
|
+
label?: string | undefined;
|
|
6630
|
+
}[]>>;
|
|
3321
6631
|
}, "strip", z.ZodTypeAny, {
|
|
3322
6632
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
3323
6633
|
accentColor: string;
|
|
@@ -3343,11 +6653,16 @@ declare const profileCreateSchema: z.ZodObject<{
|
|
|
3343
6653
|
facebook?: string | undefined;
|
|
3344
6654
|
linkedin?: string | undefined;
|
|
3345
6655
|
instagram?: string | undefined;
|
|
6656
|
+
x?: string | undefined;
|
|
3346
6657
|
youtube?: string | undefined;
|
|
3347
6658
|
tiktok?: string | undefined;
|
|
3348
6659
|
customUrl?: string | undefined;
|
|
3349
6660
|
customUrlLabel?: string | undefined;
|
|
3350
6661
|
} | undefined;
|
|
6662
|
+
ctaButtons?: {
|
|
6663
|
+
url: string;
|
|
6664
|
+
label: string;
|
|
6665
|
+
}[] | undefined;
|
|
3351
6666
|
}, {
|
|
3352
6667
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
3353
6668
|
accentColor: string;
|
|
@@ -3373,11 +6688,16 @@ declare const profileCreateSchema: z.ZodObject<{
|
|
|
3373
6688
|
facebook?: string | undefined;
|
|
3374
6689
|
linkedin?: string | undefined;
|
|
3375
6690
|
instagram?: string | undefined;
|
|
6691
|
+
x?: string | undefined;
|
|
3376
6692
|
youtube?: string | undefined;
|
|
3377
6693
|
tiktok?: string | undefined;
|
|
3378
6694
|
customUrl?: string | undefined;
|
|
3379
6695
|
customUrlLabel?: string | undefined;
|
|
3380
6696
|
} | undefined;
|
|
6697
|
+
ctaButtons?: {
|
|
6698
|
+
url?: string | undefined;
|
|
6699
|
+
label?: string | undefined;
|
|
6700
|
+
}[] | undefined;
|
|
3381
6701
|
}>;
|
|
3382
6702
|
visibility: z.ZodDefault<z.ZodEnum<["public", "private", "link_only"]>>;
|
|
3383
6703
|
accessPin: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
@@ -3432,14 +6752,19 @@ declare const profileCreateSchema: z.ZodObject<{
|
|
|
3432
6752
|
facebook?: string | undefined;
|
|
3433
6753
|
linkedin?: string | undefined;
|
|
3434
6754
|
instagram?: string | undefined;
|
|
6755
|
+
x?: string | undefined;
|
|
3435
6756
|
youtube?: string | undefined;
|
|
3436
6757
|
tiktok?: string | undefined;
|
|
3437
6758
|
customUrl?: string | undefined;
|
|
3438
6759
|
customUrlLabel?: string | undefined;
|
|
3439
6760
|
} | undefined;
|
|
6761
|
+
ctaButtons?: {
|
|
6762
|
+
url: string;
|
|
6763
|
+
label: string;
|
|
6764
|
+
}[] | undefined;
|
|
3440
6765
|
};
|
|
3441
|
-
cardId?: string | undefined;
|
|
3442
6766
|
label?: string | undefined;
|
|
6767
|
+
cardId?: string | undefined;
|
|
3443
6768
|
icon?: string | undefined;
|
|
3444
6769
|
accessPin?: string | undefined;
|
|
3445
6770
|
}, {
|
|
@@ -3492,15 +6817,20 @@ declare const profileCreateSchema: z.ZodObject<{
|
|
|
3492
6817
|
facebook?: string | undefined;
|
|
3493
6818
|
linkedin?: string | undefined;
|
|
3494
6819
|
instagram?: string | undefined;
|
|
6820
|
+
x?: string | undefined;
|
|
3495
6821
|
youtube?: string | undefined;
|
|
3496
6822
|
tiktok?: string | undefined;
|
|
3497
6823
|
customUrl?: string | undefined;
|
|
3498
6824
|
customUrlLabel?: string | undefined;
|
|
3499
6825
|
} | undefined;
|
|
6826
|
+
ctaButtons?: {
|
|
6827
|
+
url?: string | undefined;
|
|
6828
|
+
label?: string | undefined;
|
|
6829
|
+
}[] | undefined;
|
|
3500
6830
|
};
|
|
6831
|
+
label?: string | undefined;
|
|
3501
6832
|
visibility?: "public" | "private" | "link_only" | undefined;
|
|
3502
6833
|
cardId?: string | undefined;
|
|
3503
|
-
label?: string | undefined;
|
|
3504
6834
|
icon?: string | undefined;
|
|
3505
6835
|
accessPin?: string | undefined;
|
|
3506
6836
|
}>;
|
|
@@ -3646,17 +6976,19 @@ declare const signupWithProfileSchema: z.ZodObject<{
|
|
|
3646
6976
|
showSocialLinks?: boolean | undefined;
|
|
3647
6977
|
}>>;
|
|
3648
6978
|
socialOverrides: z.ZodOptional<z.ZodObject<{
|
|
3649
|
-
facebook: z.
|
|
3650
|
-
linkedin: z.
|
|
3651
|
-
instagram: z.
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
6979
|
+
facebook: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6980
|
+
linkedin: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6981
|
+
instagram: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6982
|
+
x: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6983
|
+
youtube: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6984
|
+
tiktok: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6985
|
+
customUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6986
|
+
customUrlLabel: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3656
6987
|
}, "strip", z.ZodTypeAny, {
|
|
3657
6988
|
facebook?: string | undefined;
|
|
3658
6989
|
linkedin?: string | undefined;
|
|
3659
6990
|
instagram?: string | undefined;
|
|
6991
|
+
x?: string | undefined;
|
|
3660
6992
|
youtube?: string | undefined;
|
|
3661
6993
|
tiktok?: string | undefined;
|
|
3662
6994
|
customUrl?: string | undefined;
|
|
@@ -3665,11 +6997,28 @@ declare const signupWithProfileSchema: z.ZodObject<{
|
|
|
3665
6997
|
facebook?: string | undefined;
|
|
3666
6998
|
linkedin?: string | undefined;
|
|
3667
6999
|
instagram?: string | undefined;
|
|
7000
|
+
x?: string | undefined;
|
|
3668
7001
|
youtube?: string | undefined;
|
|
3669
7002
|
tiktok?: string | undefined;
|
|
3670
7003
|
customUrl?: string | undefined;
|
|
3671
7004
|
customUrlLabel?: string | undefined;
|
|
3672
7005
|
}>>;
|
|
7006
|
+
ctaButtons: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
7007
|
+
label: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
7008
|
+
url: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
7009
|
+
}, "strip", z.ZodTypeAny, {
|
|
7010
|
+
url: string;
|
|
7011
|
+
label: string;
|
|
7012
|
+
}, {
|
|
7013
|
+
url?: string | undefined;
|
|
7014
|
+
label?: string | undefined;
|
|
7015
|
+
}>, "many">, {
|
|
7016
|
+
url: string;
|
|
7017
|
+
label: string;
|
|
7018
|
+
}[], {
|
|
7019
|
+
url?: string | undefined;
|
|
7020
|
+
label?: string | undefined;
|
|
7021
|
+
}[]>>;
|
|
3673
7022
|
}, "strip", z.ZodTypeAny, {
|
|
3674
7023
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
3675
7024
|
accentColor: string;
|
|
@@ -3695,11 +7044,16 @@ declare const signupWithProfileSchema: z.ZodObject<{
|
|
|
3695
7044
|
facebook?: string | undefined;
|
|
3696
7045
|
linkedin?: string | undefined;
|
|
3697
7046
|
instagram?: string | undefined;
|
|
7047
|
+
x?: string | undefined;
|
|
3698
7048
|
youtube?: string | undefined;
|
|
3699
7049
|
tiktok?: string | undefined;
|
|
3700
7050
|
customUrl?: string | undefined;
|
|
3701
7051
|
customUrlLabel?: string | undefined;
|
|
3702
7052
|
} | undefined;
|
|
7053
|
+
ctaButtons?: {
|
|
7054
|
+
url: string;
|
|
7055
|
+
label: string;
|
|
7056
|
+
}[] | undefined;
|
|
3703
7057
|
}, {
|
|
3704
7058
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
3705
7059
|
accentColor: string;
|
|
@@ -3725,11 +7079,16 @@ declare const signupWithProfileSchema: z.ZodObject<{
|
|
|
3725
7079
|
facebook?: string | undefined;
|
|
3726
7080
|
linkedin?: string | undefined;
|
|
3727
7081
|
instagram?: string | undefined;
|
|
7082
|
+
x?: string | undefined;
|
|
3728
7083
|
youtube?: string | undefined;
|
|
3729
7084
|
tiktok?: string | undefined;
|
|
3730
7085
|
customUrl?: string | undefined;
|
|
3731
7086
|
customUrlLabel?: string | undefined;
|
|
3732
7087
|
} | undefined;
|
|
7088
|
+
ctaButtons?: {
|
|
7089
|
+
url?: string | undefined;
|
|
7090
|
+
label?: string | undefined;
|
|
7091
|
+
}[] | undefined;
|
|
3733
7092
|
}>;
|
|
3734
7093
|
}, "strip", z.ZodTypeAny, {
|
|
3735
7094
|
email: string;
|
|
@@ -3782,11 +7141,16 @@ declare const signupWithProfileSchema: z.ZodObject<{
|
|
|
3782
7141
|
facebook?: string | undefined;
|
|
3783
7142
|
linkedin?: string | undefined;
|
|
3784
7143
|
instagram?: string | undefined;
|
|
7144
|
+
x?: string | undefined;
|
|
3785
7145
|
youtube?: string | undefined;
|
|
3786
7146
|
tiktok?: string | undefined;
|
|
3787
7147
|
customUrl?: string | undefined;
|
|
3788
7148
|
customUrlLabel?: string | undefined;
|
|
3789
7149
|
} | undefined;
|
|
7150
|
+
ctaButtons?: {
|
|
7151
|
+
url: string;
|
|
7152
|
+
label: string;
|
|
7153
|
+
}[] | undefined;
|
|
3790
7154
|
};
|
|
3791
7155
|
password: string;
|
|
3792
7156
|
acceptedTerms: true;
|
|
@@ -3846,11 +7210,16 @@ declare const signupWithProfileSchema: z.ZodObject<{
|
|
|
3846
7210
|
facebook?: string | undefined;
|
|
3847
7211
|
linkedin?: string | undefined;
|
|
3848
7212
|
instagram?: string | undefined;
|
|
7213
|
+
x?: string | undefined;
|
|
3849
7214
|
youtube?: string | undefined;
|
|
3850
7215
|
tiktok?: string | undefined;
|
|
3851
7216
|
customUrl?: string | undefined;
|
|
3852
7217
|
customUrlLabel?: string | undefined;
|
|
3853
7218
|
} | undefined;
|
|
7219
|
+
ctaButtons?: {
|
|
7220
|
+
url?: string | undefined;
|
|
7221
|
+
label?: string | undefined;
|
|
7222
|
+
}[] | undefined;
|
|
3854
7223
|
};
|
|
3855
7224
|
password: string;
|
|
3856
7225
|
acceptedTerms: true;
|
|
@@ -3996,17 +7365,19 @@ declare const profileUpdateSchema: z.ZodObject<{
|
|
|
3996
7365
|
showSocialLinks?: boolean | undefined;
|
|
3997
7366
|
}>>>>;
|
|
3998
7367
|
socialOverrides: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3999
|
-
facebook: z.
|
|
4000
|
-
linkedin: z.
|
|
4001
|
-
instagram: z.
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
7368
|
+
facebook: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7369
|
+
linkedin: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7370
|
+
instagram: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7371
|
+
x: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7372
|
+
youtube: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7373
|
+
tiktok: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7374
|
+
customUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7375
|
+
customUrlLabel: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4006
7376
|
}, "strip", z.ZodTypeAny, {
|
|
4007
7377
|
facebook?: string | undefined;
|
|
4008
7378
|
linkedin?: string | undefined;
|
|
4009
7379
|
instagram?: string | undefined;
|
|
7380
|
+
x?: string | undefined;
|
|
4010
7381
|
youtube?: string | undefined;
|
|
4011
7382
|
tiktok?: string | undefined;
|
|
4012
7383
|
customUrl?: string | undefined;
|
|
@@ -4015,11 +7386,28 @@ declare const profileUpdateSchema: z.ZodObject<{
|
|
|
4015
7386
|
facebook?: string | undefined;
|
|
4016
7387
|
linkedin?: string | undefined;
|
|
4017
7388
|
instagram?: string | undefined;
|
|
7389
|
+
x?: string | undefined;
|
|
4018
7390
|
youtube?: string | undefined;
|
|
4019
7391
|
tiktok?: string | undefined;
|
|
4020
7392
|
customUrl?: string | undefined;
|
|
4021
7393
|
customUrlLabel?: string | undefined;
|
|
4022
7394
|
}>>>>;
|
|
7395
|
+
ctaButtons: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
7396
|
+
label: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
7397
|
+
url: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, string, string | undefined>;
|
|
7398
|
+
}, "strip", z.ZodTypeAny, {
|
|
7399
|
+
url: string;
|
|
7400
|
+
label: string;
|
|
7401
|
+
}, {
|
|
7402
|
+
url?: string | undefined;
|
|
7403
|
+
label?: string | undefined;
|
|
7404
|
+
}>, "many">, {
|
|
7405
|
+
url: string;
|
|
7406
|
+
label: string;
|
|
7407
|
+
}[], {
|
|
7408
|
+
url?: string | undefined;
|
|
7409
|
+
label?: string | undefined;
|
|
7410
|
+
}[]>>>>;
|
|
4023
7411
|
profilePhotoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
|
|
4024
7412
|
companyLogoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
|
|
4025
7413
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4049,11 +7437,16 @@ declare const profileUpdateSchema: z.ZodObject<{
|
|
|
4049
7437
|
facebook?: string | undefined;
|
|
4050
7438
|
linkedin?: string | undefined;
|
|
4051
7439
|
instagram?: string | undefined;
|
|
7440
|
+
x?: string | undefined;
|
|
4052
7441
|
youtube?: string | undefined;
|
|
4053
7442
|
tiktok?: string | undefined;
|
|
4054
7443
|
customUrl?: string | undefined;
|
|
4055
7444
|
customUrlLabel?: string | undefined;
|
|
4056
7445
|
} | undefined;
|
|
7446
|
+
ctaButtons?: {
|
|
7447
|
+
url: string;
|
|
7448
|
+
label: string;
|
|
7449
|
+
}[] | undefined;
|
|
4057
7450
|
}, {
|
|
4058
7451
|
profilePhotoUrl?: string | undefined;
|
|
4059
7452
|
companyLogoUrl?: string | undefined;
|
|
@@ -4081,15 +7474,21 @@ declare const profileUpdateSchema: z.ZodObject<{
|
|
|
4081
7474
|
facebook?: string | undefined;
|
|
4082
7475
|
linkedin?: string | undefined;
|
|
4083
7476
|
instagram?: string | undefined;
|
|
7477
|
+
x?: string | undefined;
|
|
4084
7478
|
youtube?: string | undefined;
|
|
4085
7479
|
tiktok?: string | undefined;
|
|
4086
7480
|
customUrl?: string | undefined;
|
|
4087
7481
|
customUrlLabel?: string | undefined;
|
|
4088
7482
|
} | undefined;
|
|
7483
|
+
ctaButtons?: {
|
|
7484
|
+
url?: string | undefined;
|
|
7485
|
+
label?: string | undefined;
|
|
7486
|
+
}[] | undefined;
|
|
4089
7487
|
}>>;
|
|
4090
7488
|
visibility: z.ZodOptional<z.ZodEnum<["public", "private", "link_only"]>>;
|
|
4091
7489
|
accessPin: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
4092
7490
|
}, "strip", z.ZodTypeAny, {
|
|
7491
|
+
label?: string | undefined;
|
|
4093
7492
|
visibility?: "public" | "private" | "link_only" | undefined;
|
|
4094
7493
|
userData?: {
|
|
4095
7494
|
firstName?: string | undefined;
|
|
@@ -4142,16 +7541,21 @@ declare const profileUpdateSchema: z.ZodObject<{
|
|
|
4142
7541
|
facebook?: string | undefined;
|
|
4143
7542
|
linkedin?: string | undefined;
|
|
4144
7543
|
instagram?: string | undefined;
|
|
7544
|
+
x?: string | undefined;
|
|
4145
7545
|
youtube?: string | undefined;
|
|
4146
7546
|
tiktok?: string | undefined;
|
|
4147
7547
|
customUrl?: string | undefined;
|
|
4148
7548
|
customUrlLabel?: string | undefined;
|
|
4149
7549
|
} | undefined;
|
|
7550
|
+
ctaButtons?: {
|
|
7551
|
+
url: string;
|
|
7552
|
+
label: string;
|
|
7553
|
+
}[] | undefined;
|
|
4150
7554
|
} | undefined;
|
|
4151
|
-
label?: string | undefined;
|
|
4152
7555
|
icon?: string | undefined;
|
|
4153
7556
|
accessPin?: string | undefined;
|
|
4154
7557
|
}, {
|
|
7558
|
+
label?: string | undefined;
|
|
4155
7559
|
visibility?: "public" | "private" | "link_only" | undefined;
|
|
4156
7560
|
userData?: {
|
|
4157
7561
|
firstName?: string | undefined;
|
|
@@ -4204,13 +7608,17 @@ declare const profileUpdateSchema: z.ZodObject<{
|
|
|
4204
7608
|
facebook?: string | undefined;
|
|
4205
7609
|
linkedin?: string | undefined;
|
|
4206
7610
|
instagram?: string | undefined;
|
|
7611
|
+
x?: string | undefined;
|
|
4207
7612
|
youtube?: string | undefined;
|
|
4208
7613
|
tiktok?: string | undefined;
|
|
4209
7614
|
customUrl?: string | undefined;
|
|
4210
7615
|
customUrlLabel?: string | undefined;
|
|
4211
7616
|
} | undefined;
|
|
7617
|
+
ctaButtons?: {
|
|
7618
|
+
url?: string | undefined;
|
|
7619
|
+
label?: string | undefined;
|
|
7620
|
+
}[] | undefined;
|
|
4212
7621
|
} | undefined;
|
|
4213
|
-
label?: string | undefined;
|
|
4214
7622
|
icon?: string | undefined;
|
|
4215
7623
|
accessPin?: string | undefined;
|
|
4216
7624
|
}>;
|
|
@@ -4358,4 +7766,4 @@ declare function validatePhysicalConfig(data: unknown): ValidationResult<z.infer
|
|
|
4358
7766
|
declare function validateDigitalConfig(data: unknown): ValidationResult<z.infer<typeof digitalConfigSchema>>;
|
|
4359
7767
|
declare function validateConfiguration(data: unknown): ValidationResult<z.infer<typeof configurationCreateSchema>>;
|
|
4360
7768
|
|
|
4361
|
-
export { type ValidationResult, adminCardCreateSchema, cardElementsSchema, cardProfileUpdateSchema, cardUpdateSchema, comboIdSchema, configurationCreateSchema, configurationUpdateSchema, contactDetailTogglesSchema, contactExchangeSchema, createOrderSchema, digitalConfigSchema, digitalVisibilitySchema, hubConfigSchema, hubProfilesUpdateSchema, materialSchema, physicalConfigSchema, physicalContentOverridesSchema, profileAccessTokenCreateSchema, profileCreateSchema, profilePinVerifySchema, profileUpdateSchema, profileUserDataSchema, profileVisibilitySchema, sanitizeHttpUrl, sanitizeText, signupWithProfileSchema, socialLinksSchema, userDataSchema, validateConfiguration, validateDigitalConfig, validatePhysicalConfig, validateUserData, webAddressSchema };
|
|
7769
|
+
export { MAX_CTA_BUTTONS, type ValidationResult, adminCardCreateSchema, cardDesignMaterialSchema, cardDesignPatternSchema, cardDesignSchema, cardElementsSchema, cardProfileUpdateSchema, cardUpdateSchema, comboIdSchema, configurationCreateSchema, configurationUpdateSchema, contactDetailTogglesSchema, contactExchangeSchema, createOrderSchema, ctaButtonSchema, ctaButtonsSchema, digitalConfigSchema, digitalVisibilitySchema, hubConfigSchema, hubProfilesUpdateSchema, materialSchema, patternFamilySchema, physicalConfigSchema, physicalContentOverridesSchema, profileAccessTokenCreateSchema, profileCreateSchema, profilePinVerifySchema, profileUpdateSchema, profileUserDataSchema, profileVisibilitySchema, sanitizeHttpUrl, sanitizeText, signupWithProfileSchema, socialLinksSchema, socialOverridesSchema, userDataSchema, validateConfiguration, validateDigitalConfig, validatePhysicalConfig, validateUserData, webAddressSchema };
|