@nfcard/validation 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3061 -10
- package/dist/index.js +0 -0
- package/package.json +2 -2
- package/src/index.test.ts +101 -2
- package/src/index.ts +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -188,7 +188,308 @@ declare const physicalContentOverridesSchema: z.ZodObject<{
|
|
|
188
188
|
company?: string | undefined;
|
|
189
189
|
displayName?: string | undefined;
|
|
190
190
|
}>;
|
|
191
|
-
declare const
|
|
191
|
+
declare const cardDesignMaterialSchema: z.ZodEnum<["3dprint_standard", "metal", "bamboo"]>;
|
|
192
|
+
declare const patternFamilySchema: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
193
|
+
declare const cardDesignPatternSchema: z.ZodEffects<z.ZodObject<{
|
|
194
|
+
family: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
195
|
+
variant: z.ZodEnum<["pulse", "bell"]>;
|
|
196
|
+
density: z.ZodNumber;
|
|
197
|
+
holeMinMm: z.ZodNumber;
|
|
198
|
+
holeMaxMm: z.ZodNumber;
|
|
199
|
+
intensity: z.ZodNumber;
|
|
200
|
+
cellShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
201
|
+
cellRotationDeg: z.ZodNumber;
|
|
202
|
+
chipShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
203
|
+
chipRotationDeg: z.ZodNumber;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
206
|
+
variant: "pulse" | "bell";
|
|
207
|
+
density: number;
|
|
208
|
+
holeMinMm: number;
|
|
209
|
+
holeMaxMm: number;
|
|
210
|
+
intensity: number;
|
|
211
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
212
|
+
cellRotationDeg: number;
|
|
213
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
214
|
+
chipRotationDeg: number;
|
|
215
|
+
}, {
|
|
216
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
217
|
+
variant: "pulse" | "bell";
|
|
218
|
+
density: number;
|
|
219
|
+
holeMinMm: number;
|
|
220
|
+
holeMaxMm: number;
|
|
221
|
+
intensity: number;
|
|
222
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
223
|
+
cellRotationDeg: number;
|
|
224
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
225
|
+
chipRotationDeg: number;
|
|
226
|
+
}>, {
|
|
227
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
228
|
+
variant: "pulse" | "bell";
|
|
229
|
+
density: number;
|
|
230
|
+
holeMinMm: number;
|
|
231
|
+
holeMaxMm: number;
|
|
232
|
+
intensity: number;
|
|
233
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
234
|
+
cellRotationDeg: number;
|
|
235
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
236
|
+
chipRotationDeg: number;
|
|
237
|
+
}, {
|
|
238
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
239
|
+
variant: "pulse" | "bell";
|
|
240
|
+
density: number;
|
|
241
|
+
holeMinMm: number;
|
|
242
|
+
holeMaxMm: number;
|
|
243
|
+
intensity: number;
|
|
244
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
245
|
+
cellRotationDeg: number;
|
|
246
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
247
|
+
chipRotationDeg: number;
|
|
248
|
+
}>;
|
|
249
|
+
declare const cardDesignSchema: z.ZodObject<{
|
|
250
|
+
material: z.ZodEnum<["3dprint_standard", "metal", "bamboo"]>;
|
|
251
|
+
designType: z.ZodEnum<["template", "custom"]>;
|
|
252
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
253
|
+
thicknessMm: z.ZodNumber;
|
|
254
|
+
pattern: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
255
|
+
family: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
256
|
+
variant: z.ZodEnum<["pulse", "bell"]>;
|
|
257
|
+
density: z.ZodNumber;
|
|
258
|
+
holeMinMm: z.ZodNumber;
|
|
259
|
+
holeMaxMm: z.ZodNumber;
|
|
260
|
+
intensity: z.ZodNumber;
|
|
261
|
+
cellShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
262
|
+
cellRotationDeg: z.ZodNumber;
|
|
263
|
+
chipShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
264
|
+
chipRotationDeg: z.ZodNumber;
|
|
265
|
+
}, "strip", z.ZodTypeAny, {
|
|
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
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
278
|
+
variant: "pulse" | "bell";
|
|
279
|
+
density: number;
|
|
280
|
+
holeMinMm: number;
|
|
281
|
+
holeMaxMm: number;
|
|
282
|
+
intensity: number;
|
|
283
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
284
|
+
cellRotationDeg: number;
|
|
285
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
286
|
+
chipRotationDeg: number;
|
|
287
|
+
}>, {
|
|
288
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
289
|
+
variant: "pulse" | "bell";
|
|
290
|
+
density: number;
|
|
291
|
+
holeMinMm: number;
|
|
292
|
+
holeMaxMm: number;
|
|
293
|
+
intensity: number;
|
|
294
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
295
|
+
cellRotationDeg: number;
|
|
296
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
297
|
+
chipRotationDeg: number;
|
|
298
|
+
}, {
|
|
299
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
300
|
+
variant: "pulse" | "bell";
|
|
301
|
+
density: number;
|
|
302
|
+
holeMinMm: number;
|
|
303
|
+
holeMaxMm: number;
|
|
304
|
+
intensity: number;
|
|
305
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
306
|
+
cellRotationDeg: number;
|
|
307
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
308
|
+
chipRotationDeg: number;
|
|
309
|
+
}>>;
|
|
310
|
+
layout: z.ZodObject<{
|
|
311
|
+
chipAnchor: z.ZodObject<{
|
|
312
|
+
col: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
313
|
+
row: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
314
|
+
}, "strip", z.ZodTypeAny, {
|
|
315
|
+
col: 0 | 1 | 2;
|
|
316
|
+
row: 0 | 1 | 2;
|
|
317
|
+
}, {
|
|
318
|
+
col: 0 | 1 | 2;
|
|
319
|
+
row: 0 | 1 | 2;
|
|
320
|
+
}>;
|
|
321
|
+
}, "strip", z.ZodTypeAny, {
|
|
322
|
+
chipAnchor: {
|
|
323
|
+
col: 0 | 1 | 2;
|
|
324
|
+
row: 0 | 1 | 2;
|
|
325
|
+
};
|
|
326
|
+
}, {
|
|
327
|
+
chipAnchor: {
|
|
328
|
+
col: 0 | 1 | 2;
|
|
329
|
+
row: 0 | 1 | 2;
|
|
330
|
+
};
|
|
331
|
+
}>;
|
|
332
|
+
filaments: z.ZodObject<{
|
|
333
|
+
background: z.ZodString;
|
|
334
|
+
text: z.ZodString;
|
|
335
|
+
accent: z.ZodString;
|
|
336
|
+
}, "strip", z.ZodTypeAny, {
|
|
337
|
+
background: string;
|
|
338
|
+
text: string;
|
|
339
|
+
accent: string;
|
|
340
|
+
}, {
|
|
341
|
+
background: string;
|
|
342
|
+
text: string;
|
|
343
|
+
accent: string;
|
|
344
|
+
}>;
|
|
345
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
346
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
347
|
+
text: z.ZodString;
|
|
348
|
+
sizeMm: z.ZodNumber;
|
|
349
|
+
weight: z.ZodNumber;
|
|
350
|
+
role: z.ZodEnum<["text", "accent"]>;
|
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
text: string;
|
|
353
|
+
sizeMm: number;
|
|
354
|
+
weight: number;
|
|
355
|
+
role: "text" | "accent";
|
|
356
|
+
}, {
|
|
357
|
+
text: string;
|
|
358
|
+
sizeMm: number;
|
|
359
|
+
weight: number;
|
|
360
|
+
role: "text" | "accent";
|
|
361
|
+
}>, "many">;
|
|
362
|
+
}, "strip", z.ZodTypeAny, {
|
|
363
|
+
lines: {
|
|
364
|
+
text: string;
|
|
365
|
+
sizeMm: number;
|
|
366
|
+
weight: number;
|
|
367
|
+
role: "text" | "accent";
|
|
368
|
+
}[];
|
|
369
|
+
}, {
|
|
370
|
+
lines: {
|
|
371
|
+
text: string;
|
|
372
|
+
sizeMm: number;
|
|
373
|
+
weight: number;
|
|
374
|
+
role: "text" | "accent";
|
|
375
|
+
}[];
|
|
376
|
+
}>>;
|
|
377
|
+
qr: z.ZodOptional<z.ZodObject<{
|
|
378
|
+
enabled: z.ZodBoolean;
|
|
379
|
+
url: z.ZodString;
|
|
380
|
+
}, "strip", z.ZodTypeAny, {
|
|
381
|
+
enabled: boolean;
|
|
382
|
+
url: string;
|
|
383
|
+
}, {
|
|
384
|
+
enabled: boolean;
|
|
385
|
+
url: string;
|
|
386
|
+
}>>;
|
|
387
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
388
|
+
svg: z.ZodOptional<z.ZodString>;
|
|
389
|
+
svgPath: z.ZodOptional<z.ZodString>;
|
|
390
|
+
}, "strip", z.ZodTypeAny, {
|
|
391
|
+
svg?: string | undefined;
|
|
392
|
+
svgPath?: string | undefined;
|
|
393
|
+
}, {
|
|
394
|
+
svg?: string | undefined;
|
|
395
|
+
svgPath?: string | undefined;
|
|
396
|
+
}>>;
|
|
397
|
+
wordmark: z.ZodOptional<z.ZodBoolean>;
|
|
398
|
+
contentFace: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
|
|
399
|
+
}, "strip", z.ZodTypeAny, {
|
|
400
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
401
|
+
designType: "custom" | "template";
|
|
402
|
+
thicknessMm: number;
|
|
403
|
+
pattern: {
|
|
404
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
405
|
+
variant: "pulse" | "bell";
|
|
406
|
+
density: number;
|
|
407
|
+
holeMinMm: number;
|
|
408
|
+
holeMaxMm: number;
|
|
409
|
+
intensity: number;
|
|
410
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
411
|
+
cellRotationDeg: number;
|
|
412
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
413
|
+
chipRotationDeg: number;
|
|
414
|
+
} | null;
|
|
415
|
+
layout: {
|
|
416
|
+
chipAnchor: {
|
|
417
|
+
col: 0 | 1 | 2;
|
|
418
|
+
row: 0 | 1 | 2;
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
filaments: {
|
|
422
|
+
background: string;
|
|
423
|
+
text: string;
|
|
424
|
+
accent: string;
|
|
425
|
+
};
|
|
426
|
+
templateId?: string | undefined;
|
|
427
|
+
content?: {
|
|
428
|
+
lines: {
|
|
429
|
+
text: string;
|
|
430
|
+
sizeMm: number;
|
|
431
|
+
weight: number;
|
|
432
|
+
role: "text" | "accent";
|
|
433
|
+
}[];
|
|
434
|
+
} | undefined;
|
|
435
|
+
qr?: {
|
|
436
|
+
enabled: boolean;
|
|
437
|
+
url: string;
|
|
438
|
+
} | undefined;
|
|
439
|
+
logo?: {
|
|
440
|
+
svg?: string | undefined;
|
|
441
|
+
svgPath?: string | undefined;
|
|
442
|
+
} | undefined;
|
|
443
|
+
wordmark?: boolean | undefined;
|
|
444
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
445
|
+
}, {
|
|
446
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
447
|
+
designType: "custom" | "template";
|
|
448
|
+
thicknessMm: number;
|
|
449
|
+
pattern: {
|
|
450
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
451
|
+
variant: "pulse" | "bell";
|
|
452
|
+
density: number;
|
|
453
|
+
holeMinMm: number;
|
|
454
|
+
holeMaxMm: number;
|
|
455
|
+
intensity: number;
|
|
456
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
457
|
+
cellRotationDeg: number;
|
|
458
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
459
|
+
chipRotationDeg: number;
|
|
460
|
+
} | null;
|
|
461
|
+
layout: {
|
|
462
|
+
chipAnchor: {
|
|
463
|
+
col: 0 | 1 | 2;
|
|
464
|
+
row: 0 | 1 | 2;
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
filaments: {
|
|
468
|
+
background: string;
|
|
469
|
+
text: string;
|
|
470
|
+
accent: string;
|
|
471
|
+
};
|
|
472
|
+
templateId?: string | undefined;
|
|
473
|
+
content?: {
|
|
474
|
+
lines: {
|
|
475
|
+
text: string;
|
|
476
|
+
sizeMm: number;
|
|
477
|
+
weight: number;
|
|
478
|
+
role: "text" | "accent";
|
|
479
|
+
}[];
|
|
480
|
+
} | undefined;
|
|
481
|
+
qr?: {
|
|
482
|
+
enabled: boolean;
|
|
483
|
+
url: string;
|
|
484
|
+
} | undefined;
|
|
485
|
+
logo?: {
|
|
486
|
+
svg?: string | undefined;
|
|
487
|
+
svgPath?: string | undefined;
|
|
488
|
+
} | undefined;
|
|
489
|
+
wordmark?: boolean | undefined;
|
|
490
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
491
|
+
}>;
|
|
492
|
+
declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
192
493
|
material: z.ZodEnum<["plastic", "3dprint_standard", "metal", "bamboo"]>;
|
|
193
494
|
colour: z.ZodOptional<z.ZodString>;
|
|
194
495
|
comboId: z.ZodEnum<["A1", "A2", "B1", "B2", "C1", "C2", "D1", "D2", "E1", "E2"]>;
|
|
@@ -302,6 +603,249 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
302
603
|
displayName?: string | undefined;
|
|
303
604
|
}>>;
|
|
304
605
|
companyLogoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
606
|
+
cardDesign: z.ZodOptional<z.ZodObject<{
|
|
607
|
+
material: z.ZodEnum<["3dprint_standard", "metal", "bamboo"]>;
|
|
608
|
+
designType: z.ZodEnum<["template", "custom"]>;
|
|
609
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
610
|
+
thicknessMm: z.ZodNumber;
|
|
611
|
+
pattern: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
612
|
+
family: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
613
|
+
variant: z.ZodEnum<["pulse", "bell"]>;
|
|
614
|
+
density: z.ZodNumber;
|
|
615
|
+
holeMinMm: z.ZodNumber;
|
|
616
|
+
holeMaxMm: z.ZodNumber;
|
|
617
|
+
intensity: z.ZodNumber;
|
|
618
|
+
cellShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
619
|
+
cellRotationDeg: z.ZodNumber;
|
|
620
|
+
chipShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
621
|
+
chipRotationDeg: z.ZodNumber;
|
|
622
|
+
}, "strip", z.ZodTypeAny, {
|
|
623
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
624
|
+
variant: "pulse" | "bell";
|
|
625
|
+
density: number;
|
|
626
|
+
holeMinMm: number;
|
|
627
|
+
holeMaxMm: number;
|
|
628
|
+
intensity: number;
|
|
629
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
630
|
+
cellRotationDeg: number;
|
|
631
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
632
|
+
chipRotationDeg: number;
|
|
633
|
+
}, {
|
|
634
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
635
|
+
variant: "pulse" | "bell";
|
|
636
|
+
density: number;
|
|
637
|
+
holeMinMm: number;
|
|
638
|
+
holeMaxMm: number;
|
|
639
|
+
intensity: number;
|
|
640
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
641
|
+
cellRotationDeg: number;
|
|
642
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
643
|
+
chipRotationDeg: number;
|
|
644
|
+
}>, {
|
|
645
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
646
|
+
variant: "pulse" | "bell";
|
|
647
|
+
density: number;
|
|
648
|
+
holeMinMm: number;
|
|
649
|
+
holeMaxMm: number;
|
|
650
|
+
intensity: number;
|
|
651
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
652
|
+
cellRotationDeg: number;
|
|
653
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
654
|
+
chipRotationDeg: number;
|
|
655
|
+
}, {
|
|
656
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
657
|
+
variant: "pulse" | "bell";
|
|
658
|
+
density: number;
|
|
659
|
+
holeMinMm: number;
|
|
660
|
+
holeMaxMm: number;
|
|
661
|
+
intensity: number;
|
|
662
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
663
|
+
cellRotationDeg: number;
|
|
664
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
665
|
+
chipRotationDeg: number;
|
|
666
|
+
}>>;
|
|
667
|
+
layout: z.ZodObject<{
|
|
668
|
+
chipAnchor: z.ZodObject<{
|
|
669
|
+
col: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
670
|
+
row: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
671
|
+
}, "strip", z.ZodTypeAny, {
|
|
672
|
+
col: 0 | 1 | 2;
|
|
673
|
+
row: 0 | 1 | 2;
|
|
674
|
+
}, {
|
|
675
|
+
col: 0 | 1 | 2;
|
|
676
|
+
row: 0 | 1 | 2;
|
|
677
|
+
}>;
|
|
678
|
+
}, "strip", z.ZodTypeAny, {
|
|
679
|
+
chipAnchor: {
|
|
680
|
+
col: 0 | 1 | 2;
|
|
681
|
+
row: 0 | 1 | 2;
|
|
682
|
+
};
|
|
683
|
+
}, {
|
|
684
|
+
chipAnchor: {
|
|
685
|
+
col: 0 | 1 | 2;
|
|
686
|
+
row: 0 | 1 | 2;
|
|
687
|
+
};
|
|
688
|
+
}>;
|
|
689
|
+
filaments: z.ZodObject<{
|
|
690
|
+
background: z.ZodString;
|
|
691
|
+
text: z.ZodString;
|
|
692
|
+
accent: z.ZodString;
|
|
693
|
+
}, "strip", z.ZodTypeAny, {
|
|
694
|
+
background: string;
|
|
695
|
+
text: string;
|
|
696
|
+
accent: string;
|
|
697
|
+
}, {
|
|
698
|
+
background: string;
|
|
699
|
+
text: string;
|
|
700
|
+
accent: string;
|
|
701
|
+
}>;
|
|
702
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
703
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
704
|
+
text: z.ZodString;
|
|
705
|
+
sizeMm: z.ZodNumber;
|
|
706
|
+
weight: z.ZodNumber;
|
|
707
|
+
role: z.ZodEnum<["text", "accent"]>;
|
|
708
|
+
}, "strip", z.ZodTypeAny, {
|
|
709
|
+
text: string;
|
|
710
|
+
sizeMm: number;
|
|
711
|
+
weight: number;
|
|
712
|
+
role: "text" | "accent";
|
|
713
|
+
}, {
|
|
714
|
+
text: string;
|
|
715
|
+
sizeMm: number;
|
|
716
|
+
weight: number;
|
|
717
|
+
role: "text" | "accent";
|
|
718
|
+
}>, "many">;
|
|
719
|
+
}, "strip", z.ZodTypeAny, {
|
|
720
|
+
lines: {
|
|
721
|
+
text: string;
|
|
722
|
+
sizeMm: number;
|
|
723
|
+
weight: number;
|
|
724
|
+
role: "text" | "accent";
|
|
725
|
+
}[];
|
|
726
|
+
}, {
|
|
727
|
+
lines: {
|
|
728
|
+
text: string;
|
|
729
|
+
sizeMm: number;
|
|
730
|
+
weight: number;
|
|
731
|
+
role: "text" | "accent";
|
|
732
|
+
}[];
|
|
733
|
+
}>>;
|
|
734
|
+
qr: z.ZodOptional<z.ZodObject<{
|
|
735
|
+
enabled: z.ZodBoolean;
|
|
736
|
+
url: z.ZodString;
|
|
737
|
+
}, "strip", z.ZodTypeAny, {
|
|
738
|
+
enabled: boolean;
|
|
739
|
+
url: string;
|
|
740
|
+
}, {
|
|
741
|
+
enabled: boolean;
|
|
742
|
+
url: string;
|
|
743
|
+
}>>;
|
|
744
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
745
|
+
svg: z.ZodOptional<z.ZodString>;
|
|
746
|
+
svgPath: z.ZodOptional<z.ZodString>;
|
|
747
|
+
}, "strip", z.ZodTypeAny, {
|
|
748
|
+
svg?: string | undefined;
|
|
749
|
+
svgPath?: string | undefined;
|
|
750
|
+
}, {
|
|
751
|
+
svg?: string | undefined;
|
|
752
|
+
svgPath?: string | undefined;
|
|
753
|
+
}>>;
|
|
754
|
+
wordmark: z.ZodOptional<z.ZodBoolean>;
|
|
755
|
+
contentFace: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
|
|
756
|
+
}, "strip", z.ZodTypeAny, {
|
|
757
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
758
|
+
designType: "custom" | "template";
|
|
759
|
+
thicknessMm: number;
|
|
760
|
+
pattern: {
|
|
761
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
762
|
+
variant: "pulse" | "bell";
|
|
763
|
+
density: number;
|
|
764
|
+
holeMinMm: number;
|
|
765
|
+
holeMaxMm: number;
|
|
766
|
+
intensity: number;
|
|
767
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
768
|
+
cellRotationDeg: number;
|
|
769
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
770
|
+
chipRotationDeg: number;
|
|
771
|
+
} | null;
|
|
772
|
+
layout: {
|
|
773
|
+
chipAnchor: {
|
|
774
|
+
col: 0 | 1 | 2;
|
|
775
|
+
row: 0 | 1 | 2;
|
|
776
|
+
};
|
|
777
|
+
};
|
|
778
|
+
filaments: {
|
|
779
|
+
background: string;
|
|
780
|
+
text: string;
|
|
781
|
+
accent: string;
|
|
782
|
+
};
|
|
783
|
+
templateId?: string | undefined;
|
|
784
|
+
content?: {
|
|
785
|
+
lines: {
|
|
786
|
+
text: string;
|
|
787
|
+
sizeMm: number;
|
|
788
|
+
weight: number;
|
|
789
|
+
role: "text" | "accent";
|
|
790
|
+
}[];
|
|
791
|
+
} | undefined;
|
|
792
|
+
qr?: {
|
|
793
|
+
enabled: boolean;
|
|
794
|
+
url: string;
|
|
795
|
+
} | undefined;
|
|
796
|
+
logo?: {
|
|
797
|
+
svg?: string | undefined;
|
|
798
|
+
svgPath?: string | undefined;
|
|
799
|
+
} | undefined;
|
|
800
|
+
wordmark?: boolean | undefined;
|
|
801
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
802
|
+
}, {
|
|
803
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
804
|
+
designType: "custom" | "template";
|
|
805
|
+
thicknessMm: number;
|
|
806
|
+
pattern: {
|
|
807
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
808
|
+
variant: "pulse" | "bell";
|
|
809
|
+
density: number;
|
|
810
|
+
holeMinMm: number;
|
|
811
|
+
holeMaxMm: number;
|
|
812
|
+
intensity: number;
|
|
813
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
814
|
+
cellRotationDeg: number;
|
|
815
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
816
|
+
chipRotationDeg: number;
|
|
817
|
+
} | null;
|
|
818
|
+
layout: {
|
|
819
|
+
chipAnchor: {
|
|
820
|
+
col: 0 | 1 | 2;
|
|
821
|
+
row: 0 | 1 | 2;
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
filaments: {
|
|
825
|
+
background: string;
|
|
826
|
+
text: string;
|
|
827
|
+
accent: string;
|
|
828
|
+
};
|
|
829
|
+
templateId?: string | undefined;
|
|
830
|
+
content?: {
|
|
831
|
+
lines: {
|
|
832
|
+
text: string;
|
|
833
|
+
sizeMm: number;
|
|
834
|
+
weight: number;
|
|
835
|
+
role: "text" | "accent";
|
|
836
|
+
}[];
|
|
837
|
+
} | undefined;
|
|
838
|
+
qr?: {
|
|
839
|
+
enabled: boolean;
|
|
840
|
+
url: string;
|
|
841
|
+
} | undefined;
|
|
842
|
+
logo?: {
|
|
843
|
+
svg?: string | undefined;
|
|
844
|
+
svgPath?: string | undefined;
|
|
845
|
+
} | undefined;
|
|
846
|
+
wordmark?: boolean | undefined;
|
|
847
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
848
|
+
}>>;
|
|
305
849
|
}, "strip", z.ZodTypeAny, {
|
|
306
850
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
307
851
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -348,6 +892,53 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
348
892
|
company?: string | undefined;
|
|
349
893
|
displayName?: string | undefined;
|
|
350
894
|
} | undefined;
|
|
895
|
+
cardDesign?: {
|
|
896
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
897
|
+
designType: "custom" | "template";
|
|
898
|
+
thicknessMm: number;
|
|
899
|
+
pattern: {
|
|
900
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
901
|
+
variant: "pulse" | "bell";
|
|
902
|
+
density: number;
|
|
903
|
+
holeMinMm: number;
|
|
904
|
+
holeMaxMm: number;
|
|
905
|
+
intensity: number;
|
|
906
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
907
|
+
cellRotationDeg: number;
|
|
908
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
909
|
+
chipRotationDeg: number;
|
|
910
|
+
} | null;
|
|
911
|
+
layout: {
|
|
912
|
+
chipAnchor: {
|
|
913
|
+
col: 0 | 1 | 2;
|
|
914
|
+
row: 0 | 1 | 2;
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
filaments: {
|
|
918
|
+
background: string;
|
|
919
|
+
text: string;
|
|
920
|
+
accent: string;
|
|
921
|
+
};
|
|
922
|
+
templateId?: string | undefined;
|
|
923
|
+
content?: {
|
|
924
|
+
lines: {
|
|
925
|
+
text: string;
|
|
926
|
+
sizeMm: number;
|
|
927
|
+
weight: number;
|
|
928
|
+
role: "text" | "accent";
|
|
929
|
+
}[];
|
|
930
|
+
} | undefined;
|
|
931
|
+
qr?: {
|
|
932
|
+
enabled: boolean;
|
|
933
|
+
url: string;
|
|
934
|
+
} | undefined;
|
|
935
|
+
logo?: {
|
|
936
|
+
svg?: string | undefined;
|
|
937
|
+
svgPath?: string | undefined;
|
|
938
|
+
} | undefined;
|
|
939
|
+
wordmark?: boolean | undefined;
|
|
940
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
941
|
+
} | undefined;
|
|
351
942
|
}, {
|
|
352
943
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
353
944
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -394,6 +985,53 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
394
985
|
company?: string | undefined;
|
|
395
986
|
displayName?: string | undefined;
|
|
396
987
|
} | undefined;
|
|
988
|
+
cardDesign?: {
|
|
989
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
990
|
+
designType: "custom" | "template";
|
|
991
|
+
thicknessMm: number;
|
|
992
|
+
pattern: {
|
|
993
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
994
|
+
variant: "pulse" | "bell";
|
|
995
|
+
density: number;
|
|
996
|
+
holeMinMm: number;
|
|
997
|
+
holeMaxMm: number;
|
|
998
|
+
intensity: number;
|
|
999
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1000
|
+
cellRotationDeg: number;
|
|
1001
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1002
|
+
chipRotationDeg: number;
|
|
1003
|
+
} | null;
|
|
1004
|
+
layout: {
|
|
1005
|
+
chipAnchor: {
|
|
1006
|
+
col: 0 | 1 | 2;
|
|
1007
|
+
row: 0 | 1 | 2;
|
|
1008
|
+
};
|
|
1009
|
+
};
|
|
1010
|
+
filaments: {
|
|
1011
|
+
background: string;
|
|
1012
|
+
text: string;
|
|
1013
|
+
accent: string;
|
|
1014
|
+
};
|
|
1015
|
+
templateId?: string | undefined;
|
|
1016
|
+
content?: {
|
|
1017
|
+
lines: {
|
|
1018
|
+
text: string;
|
|
1019
|
+
sizeMm: number;
|
|
1020
|
+
weight: number;
|
|
1021
|
+
role: "text" | "accent";
|
|
1022
|
+
}[];
|
|
1023
|
+
} | undefined;
|
|
1024
|
+
qr?: {
|
|
1025
|
+
enabled: boolean;
|
|
1026
|
+
url: string;
|
|
1027
|
+
} | undefined;
|
|
1028
|
+
logo?: {
|
|
1029
|
+
svg?: string | undefined;
|
|
1030
|
+
svgPath?: string | undefined;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
wordmark?: boolean | undefined;
|
|
1033
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
1034
|
+
} | undefined;
|
|
397
1035
|
}>, {
|
|
398
1036
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
399
1037
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -440,6 +1078,53 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
440
1078
|
company?: string | undefined;
|
|
441
1079
|
displayName?: string | undefined;
|
|
442
1080
|
} | undefined;
|
|
1081
|
+
cardDesign?: {
|
|
1082
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
1083
|
+
designType: "custom" | "template";
|
|
1084
|
+
thicknessMm: number;
|
|
1085
|
+
pattern: {
|
|
1086
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1087
|
+
variant: "pulse" | "bell";
|
|
1088
|
+
density: number;
|
|
1089
|
+
holeMinMm: number;
|
|
1090
|
+
holeMaxMm: number;
|
|
1091
|
+
intensity: number;
|
|
1092
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1093
|
+
cellRotationDeg: number;
|
|
1094
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1095
|
+
chipRotationDeg: number;
|
|
1096
|
+
} | null;
|
|
1097
|
+
layout: {
|
|
1098
|
+
chipAnchor: {
|
|
1099
|
+
col: 0 | 1 | 2;
|
|
1100
|
+
row: 0 | 1 | 2;
|
|
1101
|
+
};
|
|
1102
|
+
};
|
|
1103
|
+
filaments: {
|
|
1104
|
+
background: string;
|
|
1105
|
+
text: string;
|
|
1106
|
+
accent: string;
|
|
1107
|
+
};
|
|
1108
|
+
templateId?: string | undefined;
|
|
1109
|
+
content?: {
|
|
1110
|
+
lines: {
|
|
1111
|
+
text: string;
|
|
1112
|
+
sizeMm: number;
|
|
1113
|
+
weight: number;
|
|
1114
|
+
role: "text" | "accent";
|
|
1115
|
+
}[];
|
|
1116
|
+
} | undefined;
|
|
1117
|
+
qr?: {
|
|
1118
|
+
enabled: boolean;
|
|
1119
|
+
url: string;
|
|
1120
|
+
} | undefined;
|
|
1121
|
+
logo?: {
|
|
1122
|
+
svg?: string | undefined;
|
|
1123
|
+
svgPath?: string | undefined;
|
|
1124
|
+
} | undefined;
|
|
1125
|
+
wordmark?: boolean | undefined;
|
|
1126
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
1127
|
+
} | undefined;
|
|
443
1128
|
}, {
|
|
444
1129
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
445
1130
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -486,6 +1171,239 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
486
1171
|
company?: string | undefined;
|
|
487
1172
|
displayName?: string | undefined;
|
|
488
1173
|
} | undefined;
|
|
1174
|
+
cardDesign?: {
|
|
1175
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
1176
|
+
designType: "custom" | "template";
|
|
1177
|
+
thicknessMm: number;
|
|
1178
|
+
pattern: {
|
|
1179
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1180
|
+
variant: "pulse" | "bell";
|
|
1181
|
+
density: number;
|
|
1182
|
+
holeMinMm: number;
|
|
1183
|
+
holeMaxMm: number;
|
|
1184
|
+
intensity: number;
|
|
1185
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1186
|
+
cellRotationDeg: number;
|
|
1187
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1188
|
+
chipRotationDeg: number;
|
|
1189
|
+
} | null;
|
|
1190
|
+
layout: {
|
|
1191
|
+
chipAnchor: {
|
|
1192
|
+
col: 0 | 1 | 2;
|
|
1193
|
+
row: 0 | 1 | 2;
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
filaments: {
|
|
1197
|
+
background: string;
|
|
1198
|
+
text: string;
|
|
1199
|
+
accent: string;
|
|
1200
|
+
};
|
|
1201
|
+
templateId?: string | undefined;
|
|
1202
|
+
content?: {
|
|
1203
|
+
lines: {
|
|
1204
|
+
text: string;
|
|
1205
|
+
sizeMm: number;
|
|
1206
|
+
weight: number;
|
|
1207
|
+
role: "text" | "accent";
|
|
1208
|
+
}[];
|
|
1209
|
+
} | undefined;
|
|
1210
|
+
qr?: {
|
|
1211
|
+
enabled: boolean;
|
|
1212
|
+
url: string;
|
|
1213
|
+
} | undefined;
|
|
1214
|
+
logo?: {
|
|
1215
|
+
svg?: string | undefined;
|
|
1216
|
+
svgPath?: string | undefined;
|
|
1217
|
+
} | undefined;
|
|
1218
|
+
wordmark?: boolean | undefined;
|
|
1219
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
1220
|
+
} | undefined;
|
|
1221
|
+
}>, {
|
|
1222
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
1223
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
1224
|
+
frontElements: {
|
|
1225
|
+
showName: boolean;
|
|
1226
|
+
showPosition: boolean;
|
|
1227
|
+
showEmail: boolean;
|
|
1228
|
+
showPhone: boolean;
|
|
1229
|
+
showCompany: boolean;
|
|
1230
|
+
showLogo: boolean;
|
|
1231
|
+
showQr: boolean;
|
|
1232
|
+
showPhoto: boolean;
|
|
1233
|
+
};
|
|
1234
|
+
backElements: {
|
|
1235
|
+
showName: boolean;
|
|
1236
|
+
showPosition: boolean;
|
|
1237
|
+
showEmail: boolean;
|
|
1238
|
+
showPhone: boolean;
|
|
1239
|
+
showCompany: boolean;
|
|
1240
|
+
showLogo: boolean;
|
|
1241
|
+
showQr: boolean;
|
|
1242
|
+
showPhoto: boolean;
|
|
1243
|
+
};
|
|
1244
|
+
companyLogoUrl?: string | undefined;
|
|
1245
|
+
colour?: string | undefined;
|
|
1246
|
+
qrTargetUrl?: string | undefined;
|
|
1247
|
+
customDesignRequest?: string | undefined;
|
|
1248
|
+
frontContactToggles?: {
|
|
1249
|
+
showEmail?: boolean | undefined;
|
|
1250
|
+
showPhone?: boolean | undefined;
|
|
1251
|
+
showLocation?: boolean | undefined;
|
|
1252
|
+
} | undefined;
|
|
1253
|
+
backContactToggles?: {
|
|
1254
|
+
showEmail?: boolean | undefined;
|
|
1255
|
+
showPhone?: boolean | undefined;
|
|
1256
|
+
showLocation?: boolean | undefined;
|
|
1257
|
+
} | undefined;
|
|
1258
|
+
contentOverrides?: {
|
|
1259
|
+
position?: string | undefined;
|
|
1260
|
+
email?: string | undefined;
|
|
1261
|
+
phone?: string | undefined;
|
|
1262
|
+
phoneCountryCode?: string | undefined;
|
|
1263
|
+
location?: string | undefined;
|
|
1264
|
+
company?: string | undefined;
|
|
1265
|
+
displayName?: string | undefined;
|
|
1266
|
+
} | undefined;
|
|
1267
|
+
cardDesign?: {
|
|
1268
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
1269
|
+
designType: "custom" | "template";
|
|
1270
|
+
thicknessMm: number;
|
|
1271
|
+
pattern: {
|
|
1272
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1273
|
+
variant: "pulse" | "bell";
|
|
1274
|
+
density: number;
|
|
1275
|
+
holeMinMm: number;
|
|
1276
|
+
holeMaxMm: number;
|
|
1277
|
+
intensity: number;
|
|
1278
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1279
|
+
cellRotationDeg: number;
|
|
1280
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1281
|
+
chipRotationDeg: number;
|
|
1282
|
+
} | null;
|
|
1283
|
+
layout: {
|
|
1284
|
+
chipAnchor: {
|
|
1285
|
+
col: 0 | 1 | 2;
|
|
1286
|
+
row: 0 | 1 | 2;
|
|
1287
|
+
};
|
|
1288
|
+
};
|
|
1289
|
+
filaments: {
|
|
1290
|
+
background: string;
|
|
1291
|
+
text: string;
|
|
1292
|
+
accent: string;
|
|
1293
|
+
};
|
|
1294
|
+
templateId?: string | undefined;
|
|
1295
|
+
content?: {
|
|
1296
|
+
lines: {
|
|
1297
|
+
text: string;
|
|
1298
|
+
sizeMm: number;
|
|
1299
|
+
weight: number;
|
|
1300
|
+
role: "text" | "accent";
|
|
1301
|
+
}[];
|
|
1302
|
+
} | undefined;
|
|
1303
|
+
qr?: {
|
|
1304
|
+
enabled: boolean;
|
|
1305
|
+
url: string;
|
|
1306
|
+
} | undefined;
|
|
1307
|
+
logo?: {
|
|
1308
|
+
svg?: string | undefined;
|
|
1309
|
+
svgPath?: string | undefined;
|
|
1310
|
+
} | undefined;
|
|
1311
|
+
wordmark?: boolean | undefined;
|
|
1312
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
1313
|
+
} | undefined;
|
|
1314
|
+
}, {
|
|
1315
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
1316
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
1317
|
+
frontElements: {
|
|
1318
|
+
showName: boolean;
|
|
1319
|
+
showPosition: boolean;
|
|
1320
|
+
showEmail: boolean;
|
|
1321
|
+
showPhone: boolean;
|
|
1322
|
+
showCompany: boolean;
|
|
1323
|
+
showLogo: boolean;
|
|
1324
|
+
showQr: boolean;
|
|
1325
|
+
showPhoto: boolean;
|
|
1326
|
+
};
|
|
1327
|
+
backElements: {
|
|
1328
|
+
showName: boolean;
|
|
1329
|
+
showPosition: boolean;
|
|
1330
|
+
showEmail: boolean;
|
|
1331
|
+
showPhone: boolean;
|
|
1332
|
+
showCompany: boolean;
|
|
1333
|
+
showLogo: boolean;
|
|
1334
|
+
showQr: boolean;
|
|
1335
|
+
showPhoto: boolean;
|
|
1336
|
+
};
|
|
1337
|
+
companyLogoUrl?: string | undefined;
|
|
1338
|
+
colour?: string | undefined;
|
|
1339
|
+
qrTargetUrl?: string | undefined;
|
|
1340
|
+
customDesignRequest?: string | undefined;
|
|
1341
|
+
frontContactToggles?: {
|
|
1342
|
+
showEmail?: boolean | undefined;
|
|
1343
|
+
showPhone?: boolean | undefined;
|
|
1344
|
+
showLocation?: boolean | undefined;
|
|
1345
|
+
} | undefined;
|
|
1346
|
+
backContactToggles?: {
|
|
1347
|
+
showEmail?: boolean | undefined;
|
|
1348
|
+
showPhone?: boolean | undefined;
|
|
1349
|
+
showLocation?: boolean | undefined;
|
|
1350
|
+
} | undefined;
|
|
1351
|
+
contentOverrides?: {
|
|
1352
|
+
position?: string | undefined;
|
|
1353
|
+
email?: string | undefined;
|
|
1354
|
+
phone?: string | undefined;
|
|
1355
|
+
phoneCountryCode?: string | undefined;
|
|
1356
|
+
location?: string | undefined;
|
|
1357
|
+
company?: string | undefined;
|
|
1358
|
+
displayName?: string | undefined;
|
|
1359
|
+
} | undefined;
|
|
1360
|
+
cardDesign?: {
|
|
1361
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
1362
|
+
designType: "custom" | "template";
|
|
1363
|
+
thicknessMm: number;
|
|
1364
|
+
pattern: {
|
|
1365
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1366
|
+
variant: "pulse" | "bell";
|
|
1367
|
+
density: number;
|
|
1368
|
+
holeMinMm: number;
|
|
1369
|
+
holeMaxMm: number;
|
|
1370
|
+
intensity: number;
|
|
1371
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1372
|
+
cellRotationDeg: number;
|
|
1373
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1374
|
+
chipRotationDeg: number;
|
|
1375
|
+
} | null;
|
|
1376
|
+
layout: {
|
|
1377
|
+
chipAnchor: {
|
|
1378
|
+
col: 0 | 1 | 2;
|
|
1379
|
+
row: 0 | 1 | 2;
|
|
1380
|
+
};
|
|
1381
|
+
};
|
|
1382
|
+
filaments: {
|
|
1383
|
+
background: string;
|
|
1384
|
+
text: string;
|
|
1385
|
+
accent: string;
|
|
1386
|
+
};
|
|
1387
|
+
templateId?: string | undefined;
|
|
1388
|
+
content?: {
|
|
1389
|
+
lines: {
|
|
1390
|
+
text: string;
|
|
1391
|
+
sizeMm: number;
|
|
1392
|
+
weight: number;
|
|
1393
|
+
role: "text" | "accent";
|
|
1394
|
+
}[];
|
|
1395
|
+
} | undefined;
|
|
1396
|
+
qr?: {
|
|
1397
|
+
enabled: boolean;
|
|
1398
|
+
url: string;
|
|
1399
|
+
} | undefined;
|
|
1400
|
+
logo?: {
|
|
1401
|
+
svg?: string | undefined;
|
|
1402
|
+
svgPath?: string | undefined;
|
|
1403
|
+
} | undefined;
|
|
1404
|
+
wordmark?: boolean | undefined;
|
|
1405
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
1406
|
+
} | undefined;
|
|
489
1407
|
}>;
|
|
490
1408
|
declare const digitalVisibilitySchema: z.ZodObject<{
|
|
491
1409
|
showName: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -740,7 +1658,7 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
740
1658
|
customUrlLabel?: string | undefined;
|
|
741
1659
|
} | undefined;
|
|
742
1660
|
}>;
|
|
743
|
-
physicalConfig: z.ZodEffects<z.ZodObject<{
|
|
1661
|
+
physicalConfig: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
744
1662
|
material: z.ZodEnum<["plastic", "3dprint_standard", "metal", "bamboo"]>;
|
|
745
1663
|
colour: z.ZodOptional<z.ZodString>;
|
|
746
1664
|
comboId: z.ZodEnum<["A1", "A2", "B1", "B2", "C1", "C2", "D1", "D2", "E1", "E2"]>;
|
|
@@ -854,6 +1772,249 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
854
1772
|
displayName?: string | undefined;
|
|
855
1773
|
}>>;
|
|
856
1774
|
companyLogoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1775
|
+
cardDesign: z.ZodOptional<z.ZodObject<{
|
|
1776
|
+
material: z.ZodEnum<["3dprint_standard", "metal", "bamboo"]>;
|
|
1777
|
+
designType: z.ZodEnum<["template", "custom"]>;
|
|
1778
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1779
|
+
thicknessMm: z.ZodNumber;
|
|
1780
|
+
pattern: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
1781
|
+
family: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
1782
|
+
variant: z.ZodEnum<["pulse", "bell"]>;
|
|
1783
|
+
density: z.ZodNumber;
|
|
1784
|
+
holeMinMm: z.ZodNumber;
|
|
1785
|
+
holeMaxMm: z.ZodNumber;
|
|
1786
|
+
intensity: z.ZodNumber;
|
|
1787
|
+
cellShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
1788
|
+
cellRotationDeg: z.ZodNumber;
|
|
1789
|
+
chipShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
1790
|
+
chipRotationDeg: z.ZodNumber;
|
|
1791
|
+
}, "strip", z.ZodTypeAny, {
|
|
1792
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1793
|
+
variant: "pulse" | "bell";
|
|
1794
|
+
density: number;
|
|
1795
|
+
holeMinMm: number;
|
|
1796
|
+
holeMaxMm: number;
|
|
1797
|
+
intensity: number;
|
|
1798
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1799
|
+
cellRotationDeg: number;
|
|
1800
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1801
|
+
chipRotationDeg: number;
|
|
1802
|
+
}, {
|
|
1803
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1804
|
+
variant: "pulse" | "bell";
|
|
1805
|
+
density: number;
|
|
1806
|
+
holeMinMm: number;
|
|
1807
|
+
holeMaxMm: number;
|
|
1808
|
+
intensity: number;
|
|
1809
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1810
|
+
cellRotationDeg: number;
|
|
1811
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1812
|
+
chipRotationDeg: number;
|
|
1813
|
+
}>, {
|
|
1814
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1815
|
+
variant: "pulse" | "bell";
|
|
1816
|
+
density: number;
|
|
1817
|
+
holeMinMm: number;
|
|
1818
|
+
holeMaxMm: number;
|
|
1819
|
+
intensity: number;
|
|
1820
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1821
|
+
cellRotationDeg: number;
|
|
1822
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1823
|
+
chipRotationDeg: number;
|
|
1824
|
+
}, {
|
|
1825
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1826
|
+
variant: "pulse" | "bell";
|
|
1827
|
+
density: number;
|
|
1828
|
+
holeMinMm: number;
|
|
1829
|
+
holeMaxMm: number;
|
|
1830
|
+
intensity: number;
|
|
1831
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1832
|
+
cellRotationDeg: number;
|
|
1833
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1834
|
+
chipRotationDeg: number;
|
|
1835
|
+
}>>;
|
|
1836
|
+
layout: z.ZodObject<{
|
|
1837
|
+
chipAnchor: z.ZodObject<{
|
|
1838
|
+
col: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1839
|
+
row: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1840
|
+
}, "strip", z.ZodTypeAny, {
|
|
1841
|
+
col: 0 | 1 | 2;
|
|
1842
|
+
row: 0 | 1 | 2;
|
|
1843
|
+
}, {
|
|
1844
|
+
col: 0 | 1 | 2;
|
|
1845
|
+
row: 0 | 1 | 2;
|
|
1846
|
+
}>;
|
|
1847
|
+
}, "strip", z.ZodTypeAny, {
|
|
1848
|
+
chipAnchor: {
|
|
1849
|
+
col: 0 | 1 | 2;
|
|
1850
|
+
row: 0 | 1 | 2;
|
|
1851
|
+
};
|
|
1852
|
+
}, {
|
|
1853
|
+
chipAnchor: {
|
|
1854
|
+
col: 0 | 1 | 2;
|
|
1855
|
+
row: 0 | 1 | 2;
|
|
1856
|
+
};
|
|
1857
|
+
}>;
|
|
1858
|
+
filaments: z.ZodObject<{
|
|
1859
|
+
background: z.ZodString;
|
|
1860
|
+
text: z.ZodString;
|
|
1861
|
+
accent: z.ZodString;
|
|
1862
|
+
}, "strip", z.ZodTypeAny, {
|
|
1863
|
+
background: string;
|
|
1864
|
+
text: string;
|
|
1865
|
+
accent: string;
|
|
1866
|
+
}, {
|
|
1867
|
+
background: string;
|
|
1868
|
+
text: string;
|
|
1869
|
+
accent: string;
|
|
1870
|
+
}>;
|
|
1871
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
1872
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
1873
|
+
text: z.ZodString;
|
|
1874
|
+
sizeMm: z.ZodNumber;
|
|
1875
|
+
weight: z.ZodNumber;
|
|
1876
|
+
role: z.ZodEnum<["text", "accent"]>;
|
|
1877
|
+
}, "strip", z.ZodTypeAny, {
|
|
1878
|
+
text: string;
|
|
1879
|
+
sizeMm: number;
|
|
1880
|
+
weight: number;
|
|
1881
|
+
role: "text" | "accent";
|
|
1882
|
+
}, {
|
|
1883
|
+
text: string;
|
|
1884
|
+
sizeMm: number;
|
|
1885
|
+
weight: number;
|
|
1886
|
+
role: "text" | "accent";
|
|
1887
|
+
}>, "many">;
|
|
1888
|
+
}, "strip", z.ZodTypeAny, {
|
|
1889
|
+
lines: {
|
|
1890
|
+
text: string;
|
|
1891
|
+
sizeMm: number;
|
|
1892
|
+
weight: number;
|
|
1893
|
+
role: "text" | "accent";
|
|
1894
|
+
}[];
|
|
1895
|
+
}, {
|
|
1896
|
+
lines: {
|
|
1897
|
+
text: string;
|
|
1898
|
+
sizeMm: number;
|
|
1899
|
+
weight: number;
|
|
1900
|
+
role: "text" | "accent";
|
|
1901
|
+
}[];
|
|
1902
|
+
}>>;
|
|
1903
|
+
qr: z.ZodOptional<z.ZodObject<{
|
|
1904
|
+
enabled: z.ZodBoolean;
|
|
1905
|
+
url: z.ZodString;
|
|
1906
|
+
}, "strip", z.ZodTypeAny, {
|
|
1907
|
+
enabled: boolean;
|
|
1908
|
+
url: string;
|
|
1909
|
+
}, {
|
|
1910
|
+
enabled: boolean;
|
|
1911
|
+
url: string;
|
|
1912
|
+
}>>;
|
|
1913
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
1914
|
+
svg: z.ZodOptional<z.ZodString>;
|
|
1915
|
+
svgPath: z.ZodOptional<z.ZodString>;
|
|
1916
|
+
}, "strip", z.ZodTypeAny, {
|
|
1917
|
+
svg?: string | undefined;
|
|
1918
|
+
svgPath?: string | undefined;
|
|
1919
|
+
}, {
|
|
1920
|
+
svg?: string | undefined;
|
|
1921
|
+
svgPath?: string | undefined;
|
|
1922
|
+
}>>;
|
|
1923
|
+
wordmark: z.ZodOptional<z.ZodBoolean>;
|
|
1924
|
+
contentFace: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
|
|
1925
|
+
}, "strip", z.ZodTypeAny, {
|
|
1926
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
1927
|
+
designType: "custom" | "template";
|
|
1928
|
+
thicknessMm: number;
|
|
1929
|
+
pattern: {
|
|
1930
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1931
|
+
variant: "pulse" | "bell";
|
|
1932
|
+
density: number;
|
|
1933
|
+
holeMinMm: number;
|
|
1934
|
+
holeMaxMm: number;
|
|
1935
|
+
intensity: number;
|
|
1936
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1937
|
+
cellRotationDeg: number;
|
|
1938
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1939
|
+
chipRotationDeg: number;
|
|
1940
|
+
} | null;
|
|
1941
|
+
layout: {
|
|
1942
|
+
chipAnchor: {
|
|
1943
|
+
col: 0 | 1 | 2;
|
|
1944
|
+
row: 0 | 1 | 2;
|
|
1945
|
+
};
|
|
1946
|
+
};
|
|
1947
|
+
filaments: {
|
|
1948
|
+
background: string;
|
|
1949
|
+
text: string;
|
|
1950
|
+
accent: string;
|
|
1951
|
+
};
|
|
1952
|
+
templateId?: string | undefined;
|
|
1953
|
+
content?: {
|
|
1954
|
+
lines: {
|
|
1955
|
+
text: string;
|
|
1956
|
+
sizeMm: number;
|
|
1957
|
+
weight: number;
|
|
1958
|
+
role: "text" | "accent";
|
|
1959
|
+
}[];
|
|
1960
|
+
} | undefined;
|
|
1961
|
+
qr?: {
|
|
1962
|
+
enabled: boolean;
|
|
1963
|
+
url: string;
|
|
1964
|
+
} | undefined;
|
|
1965
|
+
logo?: {
|
|
1966
|
+
svg?: string | undefined;
|
|
1967
|
+
svgPath?: string | undefined;
|
|
1968
|
+
} | undefined;
|
|
1969
|
+
wordmark?: boolean | undefined;
|
|
1970
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
1971
|
+
}, {
|
|
1972
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
1973
|
+
designType: "custom" | "template";
|
|
1974
|
+
thicknessMm: number;
|
|
1975
|
+
pattern: {
|
|
1976
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
1977
|
+
variant: "pulse" | "bell";
|
|
1978
|
+
density: number;
|
|
1979
|
+
holeMinMm: number;
|
|
1980
|
+
holeMaxMm: number;
|
|
1981
|
+
intensity: number;
|
|
1982
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
1983
|
+
cellRotationDeg: number;
|
|
1984
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
1985
|
+
chipRotationDeg: number;
|
|
1986
|
+
} | null;
|
|
1987
|
+
layout: {
|
|
1988
|
+
chipAnchor: {
|
|
1989
|
+
col: 0 | 1 | 2;
|
|
1990
|
+
row: 0 | 1 | 2;
|
|
1991
|
+
};
|
|
1992
|
+
};
|
|
1993
|
+
filaments: {
|
|
1994
|
+
background: string;
|
|
1995
|
+
text: string;
|
|
1996
|
+
accent: string;
|
|
1997
|
+
};
|
|
1998
|
+
templateId?: string | undefined;
|
|
1999
|
+
content?: {
|
|
2000
|
+
lines: {
|
|
2001
|
+
text: string;
|
|
2002
|
+
sizeMm: number;
|
|
2003
|
+
weight: number;
|
|
2004
|
+
role: "text" | "accent";
|
|
2005
|
+
}[];
|
|
2006
|
+
} | undefined;
|
|
2007
|
+
qr?: {
|
|
2008
|
+
enabled: boolean;
|
|
2009
|
+
url: string;
|
|
2010
|
+
} | undefined;
|
|
2011
|
+
logo?: {
|
|
2012
|
+
svg?: string | undefined;
|
|
2013
|
+
svgPath?: string | undefined;
|
|
2014
|
+
} | undefined;
|
|
2015
|
+
wordmark?: boolean | undefined;
|
|
2016
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2017
|
+
}>>;
|
|
857
2018
|
}, "strip", z.ZodTypeAny, {
|
|
858
2019
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
859
2020
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -900,6 +2061,239 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
900
2061
|
company?: string | undefined;
|
|
901
2062
|
displayName?: string | undefined;
|
|
902
2063
|
} | undefined;
|
|
2064
|
+
cardDesign?: {
|
|
2065
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2066
|
+
designType: "custom" | "template";
|
|
2067
|
+
thicknessMm: number;
|
|
2068
|
+
pattern: {
|
|
2069
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2070
|
+
variant: "pulse" | "bell";
|
|
2071
|
+
density: number;
|
|
2072
|
+
holeMinMm: number;
|
|
2073
|
+
holeMaxMm: number;
|
|
2074
|
+
intensity: number;
|
|
2075
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2076
|
+
cellRotationDeg: number;
|
|
2077
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2078
|
+
chipRotationDeg: number;
|
|
2079
|
+
} | null;
|
|
2080
|
+
layout: {
|
|
2081
|
+
chipAnchor: {
|
|
2082
|
+
col: 0 | 1 | 2;
|
|
2083
|
+
row: 0 | 1 | 2;
|
|
2084
|
+
};
|
|
2085
|
+
};
|
|
2086
|
+
filaments: {
|
|
2087
|
+
background: string;
|
|
2088
|
+
text: string;
|
|
2089
|
+
accent: string;
|
|
2090
|
+
};
|
|
2091
|
+
templateId?: string | undefined;
|
|
2092
|
+
content?: {
|
|
2093
|
+
lines: {
|
|
2094
|
+
text: string;
|
|
2095
|
+
sizeMm: number;
|
|
2096
|
+
weight: number;
|
|
2097
|
+
role: "text" | "accent";
|
|
2098
|
+
}[];
|
|
2099
|
+
} | undefined;
|
|
2100
|
+
qr?: {
|
|
2101
|
+
enabled: boolean;
|
|
2102
|
+
url: string;
|
|
2103
|
+
} | undefined;
|
|
2104
|
+
logo?: {
|
|
2105
|
+
svg?: string | undefined;
|
|
2106
|
+
svgPath?: string | undefined;
|
|
2107
|
+
} | undefined;
|
|
2108
|
+
wordmark?: boolean | undefined;
|
|
2109
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2110
|
+
} | undefined;
|
|
2111
|
+
}, {
|
|
2112
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
2113
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
2114
|
+
frontElements: {
|
|
2115
|
+
showName: boolean;
|
|
2116
|
+
showPosition: boolean;
|
|
2117
|
+
showEmail: boolean;
|
|
2118
|
+
showPhone: boolean;
|
|
2119
|
+
showCompany: boolean;
|
|
2120
|
+
showLogo: boolean;
|
|
2121
|
+
showQr: boolean;
|
|
2122
|
+
showPhoto: boolean;
|
|
2123
|
+
};
|
|
2124
|
+
backElements: {
|
|
2125
|
+
showName: boolean;
|
|
2126
|
+
showPosition: boolean;
|
|
2127
|
+
showEmail: boolean;
|
|
2128
|
+
showPhone: boolean;
|
|
2129
|
+
showCompany: boolean;
|
|
2130
|
+
showLogo: boolean;
|
|
2131
|
+
showQr: boolean;
|
|
2132
|
+
showPhoto: boolean;
|
|
2133
|
+
};
|
|
2134
|
+
companyLogoUrl?: string | undefined;
|
|
2135
|
+
colour?: string | undefined;
|
|
2136
|
+
qrTargetUrl?: string | undefined;
|
|
2137
|
+
customDesignRequest?: string | undefined;
|
|
2138
|
+
frontContactToggles?: {
|
|
2139
|
+
showEmail?: boolean | undefined;
|
|
2140
|
+
showPhone?: boolean | undefined;
|
|
2141
|
+
showLocation?: boolean | undefined;
|
|
2142
|
+
} | undefined;
|
|
2143
|
+
backContactToggles?: {
|
|
2144
|
+
showEmail?: boolean | undefined;
|
|
2145
|
+
showPhone?: boolean | undefined;
|
|
2146
|
+
showLocation?: boolean | undefined;
|
|
2147
|
+
} | undefined;
|
|
2148
|
+
contentOverrides?: {
|
|
2149
|
+
position?: string | undefined;
|
|
2150
|
+
email?: string | undefined;
|
|
2151
|
+
phone?: string | undefined;
|
|
2152
|
+
phoneCountryCode?: string | undefined;
|
|
2153
|
+
location?: string | undefined;
|
|
2154
|
+
company?: string | undefined;
|
|
2155
|
+
displayName?: string | undefined;
|
|
2156
|
+
} | undefined;
|
|
2157
|
+
cardDesign?: {
|
|
2158
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2159
|
+
designType: "custom" | "template";
|
|
2160
|
+
thicknessMm: number;
|
|
2161
|
+
pattern: {
|
|
2162
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2163
|
+
variant: "pulse" | "bell";
|
|
2164
|
+
density: number;
|
|
2165
|
+
holeMinMm: number;
|
|
2166
|
+
holeMaxMm: number;
|
|
2167
|
+
intensity: number;
|
|
2168
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2169
|
+
cellRotationDeg: number;
|
|
2170
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2171
|
+
chipRotationDeg: number;
|
|
2172
|
+
} | null;
|
|
2173
|
+
layout: {
|
|
2174
|
+
chipAnchor: {
|
|
2175
|
+
col: 0 | 1 | 2;
|
|
2176
|
+
row: 0 | 1 | 2;
|
|
2177
|
+
};
|
|
2178
|
+
};
|
|
2179
|
+
filaments: {
|
|
2180
|
+
background: string;
|
|
2181
|
+
text: string;
|
|
2182
|
+
accent: string;
|
|
2183
|
+
};
|
|
2184
|
+
templateId?: string | undefined;
|
|
2185
|
+
content?: {
|
|
2186
|
+
lines: {
|
|
2187
|
+
text: string;
|
|
2188
|
+
sizeMm: number;
|
|
2189
|
+
weight: number;
|
|
2190
|
+
role: "text" | "accent";
|
|
2191
|
+
}[];
|
|
2192
|
+
} | undefined;
|
|
2193
|
+
qr?: {
|
|
2194
|
+
enabled: boolean;
|
|
2195
|
+
url: string;
|
|
2196
|
+
} | undefined;
|
|
2197
|
+
logo?: {
|
|
2198
|
+
svg?: string | undefined;
|
|
2199
|
+
svgPath?: string | undefined;
|
|
2200
|
+
} | undefined;
|
|
2201
|
+
wordmark?: boolean | undefined;
|
|
2202
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2203
|
+
} | undefined;
|
|
2204
|
+
}>, {
|
|
2205
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
2206
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
2207
|
+
frontElements: {
|
|
2208
|
+
showName: boolean;
|
|
2209
|
+
showPosition: boolean;
|
|
2210
|
+
showEmail: boolean;
|
|
2211
|
+
showPhone: boolean;
|
|
2212
|
+
showCompany: boolean;
|
|
2213
|
+
showLogo: boolean;
|
|
2214
|
+
showQr: boolean;
|
|
2215
|
+
showPhoto: boolean;
|
|
2216
|
+
};
|
|
2217
|
+
backElements: {
|
|
2218
|
+
showName: boolean;
|
|
2219
|
+
showPosition: boolean;
|
|
2220
|
+
showEmail: boolean;
|
|
2221
|
+
showPhone: boolean;
|
|
2222
|
+
showCompany: boolean;
|
|
2223
|
+
showLogo: boolean;
|
|
2224
|
+
showQr: boolean;
|
|
2225
|
+
showPhoto: boolean;
|
|
2226
|
+
};
|
|
2227
|
+
companyLogoUrl?: string | undefined;
|
|
2228
|
+
colour?: string | undefined;
|
|
2229
|
+
qrTargetUrl?: string | undefined;
|
|
2230
|
+
customDesignRequest?: string | undefined;
|
|
2231
|
+
frontContactToggles?: {
|
|
2232
|
+
showEmail?: boolean | undefined;
|
|
2233
|
+
showPhone?: boolean | undefined;
|
|
2234
|
+
showLocation?: boolean | undefined;
|
|
2235
|
+
} | undefined;
|
|
2236
|
+
backContactToggles?: {
|
|
2237
|
+
showEmail?: boolean | undefined;
|
|
2238
|
+
showPhone?: boolean | undefined;
|
|
2239
|
+
showLocation?: boolean | undefined;
|
|
2240
|
+
} | undefined;
|
|
2241
|
+
contentOverrides?: {
|
|
2242
|
+
position?: string | undefined;
|
|
2243
|
+
email?: string | undefined;
|
|
2244
|
+
phone?: string | undefined;
|
|
2245
|
+
phoneCountryCode?: string | undefined;
|
|
2246
|
+
location?: string | undefined;
|
|
2247
|
+
company?: string | undefined;
|
|
2248
|
+
displayName?: string | undefined;
|
|
2249
|
+
} | undefined;
|
|
2250
|
+
cardDesign?: {
|
|
2251
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2252
|
+
designType: "custom" | "template";
|
|
2253
|
+
thicknessMm: number;
|
|
2254
|
+
pattern: {
|
|
2255
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2256
|
+
variant: "pulse" | "bell";
|
|
2257
|
+
density: number;
|
|
2258
|
+
holeMinMm: number;
|
|
2259
|
+
holeMaxMm: number;
|
|
2260
|
+
intensity: number;
|
|
2261
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2262
|
+
cellRotationDeg: number;
|
|
2263
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2264
|
+
chipRotationDeg: number;
|
|
2265
|
+
} | null;
|
|
2266
|
+
layout: {
|
|
2267
|
+
chipAnchor: {
|
|
2268
|
+
col: 0 | 1 | 2;
|
|
2269
|
+
row: 0 | 1 | 2;
|
|
2270
|
+
};
|
|
2271
|
+
};
|
|
2272
|
+
filaments: {
|
|
2273
|
+
background: string;
|
|
2274
|
+
text: string;
|
|
2275
|
+
accent: string;
|
|
2276
|
+
};
|
|
2277
|
+
templateId?: string | undefined;
|
|
2278
|
+
content?: {
|
|
2279
|
+
lines: {
|
|
2280
|
+
text: string;
|
|
2281
|
+
sizeMm: number;
|
|
2282
|
+
weight: number;
|
|
2283
|
+
role: "text" | "accent";
|
|
2284
|
+
}[];
|
|
2285
|
+
} | undefined;
|
|
2286
|
+
qr?: {
|
|
2287
|
+
enabled: boolean;
|
|
2288
|
+
url: string;
|
|
2289
|
+
} | undefined;
|
|
2290
|
+
logo?: {
|
|
2291
|
+
svg?: string | undefined;
|
|
2292
|
+
svgPath?: string | undefined;
|
|
2293
|
+
} | undefined;
|
|
2294
|
+
wordmark?: boolean | undefined;
|
|
2295
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2296
|
+
} | undefined;
|
|
903
2297
|
}, {
|
|
904
2298
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
905
2299
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -946,6 +2340,53 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
946
2340
|
company?: string | undefined;
|
|
947
2341
|
displayName?: string | undefined;
|
|
948
2342
|
} | undefined;
|
|
2343
|
+
cardDesign?: {
|
|
2344
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2345
|
+
designType: "custom" | "template";
|
|
2346
|
+
thicknessMm: number;
|
|
2347
|
+
pattern: {
|
|
2348
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2349
|
+
variant: "pulse" | "bell";
|
|
2350
|
+
density: number;
|
|
2351
|
+
holeMinMm: number;
|
|
2352
|
+
holeMaxMm: number;
|
|
2353
|
+
intensity: number;
|
|
2354
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2355
|
+
cellRotationDeg: number;
|
|
2356
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2357
|
+
chipRotationDeg: number;
|
|
2358
|
+
} | null;
|
|
2359
|
+
layout: {
|
|
2360
|
+
chipAnchor: {
|
|
2361
|
+
col: 0 | 1 | 2;
|
|
2362
|
+
row: 0 | 1 | 2;
|
|
2363
|
+
};
|
|
2364
|
+
};
|
|
2365
|
+
filaments: {
|
|
2366
|
+
background: string;
|
|
2367
|
+
text: string;
|
|
2368
|
+
accent: string;
|
|
2369
|
+
};
|
|
2370
|
+
templateId?: string | undefined;
|
|
2371
|
+
content?: {
|
|
2372
|
+
lines: {
|
|
2373
|
+
text: string;
|
|
2374
|
+
sizeMm: number;
|
|
2375
|
+
weight: number;
|
|
2376
|
+
role: "text" | "accent";
|
|
2377
|
+
}[];
|
|
2378
|
+
} | undefined;
|
|
2379
|
+
qr?: {
|
|
2380
|
+
enabled: boolean;
|
|
2381
|
+
url: string;
|
|
2382
|
+
} | undefined;
|
|
2383
|
+
logo?: {
|
|
2384
|
+
svg?: string | undefined;
|
|
2385
|
+
svgPath?: string | undefined;
|
|
2386
|
+
} | undefined;
|
|
2387
|
+
wordmark?: boolean | undefined;
|
|
2388
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2389
|
+
} | undefined;
|
|
949
2390
|
}>, {
|
|
950
2391
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
951
2392
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -992,6 +2433,53 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
992
2433
|
company?: string | undefined;
|
|
993
2434
|
displayName?: string | undefined;
|
|
994
2435
|
} | undefined;
|
|
2436
|
+
cardDesign?: {
|
|
2437
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2438
|
+
designType: "custom" | "template";
|
|
2439
|
+
thicknessMm: number;
|
|
2440
|
+
pattern: {
|
|
2441
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2442
|
+
variant: "pulse" | "bell";
|
|
2443
|
+
density: number;
|
|
2444
|
+
holeMinMm: number;
|
|
2445
|
+
holeMaxMm: number;
|
|
2446
|
+
intensity: number;
|
|
2447
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2448
|
+
cellRotationDeg: number;
|
|
2449
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2450
|
+
chipRotationDeg: number;
|
|
2451
|
+
} | null;
|
|
2452
|
+
layout: {
|
|
2453
|
+
chipAnchor: {
|
|
2454
|
+
col: 0 | 1 | 2;
|
|
2455
|
+
row: 0 | 1 | 2;
|
|
2456
|
+
};
|
|
2457
|
+
};
|
|
2458
|
+
filaments: {
|
|
2459
|
+
background: string;
|
|
2460
|
+
text: string;
|
|
2461
|
+
accent: string;
|
|
2462
|
+
};
|
|
2463
|
+
templateId?: string | undefined;
|
|
2464
|
+
content?: {
|
|
2465
|
+
lines: {
|
|
2466
|
+
text: string;
|
|
2467
|
+
sizeMm: number;
|
|
2468
|
+
weight: number;
|
|
2469
|
+
role: "text" | "accent";
|
|
2470
|
+
}[];
|
|
2471
|
+
} | undefined;
|
|
2472
|
+
qr?: {
|
|
2473
|
+
enabled: boolean;
|
|
2474
|
+
url: string;
|
|
2475
|
+
} | undefined;
|
|
2476
|
+
logo?: {
|
|
2477
|
+
svg?: string | undefined;
|
|
2478
|
+
svgPath?: string | undefined;
|
|
2479
|
+
} | undefined;
|
|
2480
|
+
wordmark?: boolean | undefined;
|
|
2481
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2482
|
+
} | undefined;
|
|
995
2483
|
}, {
|
|
996
2484
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
997
2485
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -1038,6 +2526,53 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
1038
2526
|
company?: string | undefined;
|
|
1039
2527
|
displayName?: string | undefined;
|
|
1040
2528
|
} | undefined;
|
|
2529
|
+
cardDesign?: {
|
|
2530
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2531
|
+
designType: "custom" | "template";
|
|
2532
|
+
thicknessMm: number;
|
|
2533
|
+
pattern: {
|
|
2534
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2535
|
+
variant: "pulse" | "bell";
|
|
2536
|
+
density: number;
|
|
2537
|
+
holeMinMm: number;
|
|
2538
|
+
holeMaxMm: number;
|
|
2539
|
+
intensity: number;
|
|
2540
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2541
|
+
cellRotationDeg: number;
|
|
2542
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2543
|
+
chipRotationDeg: number;
|
|
2544
|
+
} | null;
|
|
2545
|
+
layout: {
|
|
2546
|
+
chipAnchor: {
|
|
2547
|
+
col: 0 | 1 | 2;
|
|
2548
|
+
row: 0 | 1 | 2;
|
|
2549
|
+
};
|
|
2550
|
+
};
|
|
2551
|
+
filaments: {
|
|
2552
|
+
background: string;
|
|
2553
|
+
text: string;
|
|
2554
|
+
accent: string;
|
|
2555
|
+
};
|
|
2556
|
+
templateId?: string | undefined;
|
|
2557
|
+
content?: {
|
|
2558
|
+
lines: {
|
|
2559
|
+
text: string;
|
|
2560
|
+
sizeMm: number;
|
|
2561
|
+
weight: number;
|
|
2562
|
+
role: "text" | "accent";
|
|
2563
|
+
}[];
|
|
2564
|
+
} | undefined;
|
|
2565
|
+
qr?: {
|
|
2566
|
+
enabled: boolean;
|
|
2567
|
+
url: string;
|
|
2568
|
+
} | undefined;
|
|
2569
|
+
logo?: {
|
|
2570
|
+
svg?: string | undefined;
|
|
2571
|
+
svgPath?: string | undefined;
|
|
2572
|
+
} | undefined;
|
|
2573
|
+
wordmark?: boolean | undefined;
|
|
2574
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2575
|
+
} | undefined;
|
|
1041
2576
|
}>;
|
|
1042
2577
|
digitalConfig: z.ZodObject<{
|
|
1043
2578
|
templateId: z.ZodEnum<["minimal", "bold", "card", "aurora"]>;
|
|
@@ -1243,6 +2778,53 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
1243
2778
|
company?: string | undefined;
|
|
1244
2779
|
displayName?: string | undefined;
|
|
1245
2780
|
} | undefined;
|
|
2781
|
+
cardDesign?: {
|
|
2782
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2783
|
+
designType: "custom" | "template";
|
|
2784
|
+
thicknessMm: number;
|
|
2785
|
+
pattern: {
|
|
2786
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2787
|
+
variant: "pulse" | "bell";
|
|
2788
|
+
density: number;
|
|
2789
|
+
holeMinMm: number;
|
|
2790
|
+
holeMaxMm: number;
|
|
2791
|
+
intensity: number;
|
|
2792
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2793
|
+
cellRotationDeg: number;
|
|
2794
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2795
|
+
chipRotationDeg: number;
|
|
2796
|
+
} | null;
|
|
2797
|
+
layout: {
|
|
2798
|
+
chipAnchor: {
|
|
2799
|
+
col: 0 | 1 | 2;
|
|
2800
|
+
row: 0 | 1 | 2;
|
|
2801
|
+
};
|
|
2802
|
+
};
|
|
2803
|
+
filaments: {
|
|
2804
|
+
background: string;
|
|
2805
|
+
text: string;
|
|
2806
|
+
accent: string;
|
|
2807
|
+
};
|
|
2808
|
+
templateId?: string | undefined;
|
|
2809
|
+
content?: {
|
|
2810
|
+
lines: {
|
|
2811
|
+
text: string;
|
|
2812
|
+
sizeMm: number;
|
|
2813
|
+
weight: number;
|
|
2814
|
+
role: "text" | "accent";
|
|
2815
|
+
}[];
|
|
2816
|
+
} | undefined;
|
|
2817
|
+
qr?: {
|
|
2818
|
+
enabled: boolean;
|
|
2819
|
+
url: string;
|
|
2820
|
+
} | undefined;
|
|
2821
|
+
logo?: {
|
|
2822
|
+
svg?: string | undefined;
|
|
2823
|
+
svgPath?: string | undefined;
|
|
2824
|
+
} | undefined;
|
|
2825
|
+
wordmark?: boolean | undefined;
|
|
2826
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2827
|
+
} | undefined;
|
|
1246
2828
|
};
|
|
1247
2829
|
digitalConfig: {
|
|
1248
2830
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
@@ -1350,6 +2932,53 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
1350
2932
|
company?: string | undefined;
|
|
1351
2933
|
displayName?: string | undefined;
|
|
1352
2934
|
} | undefined;
|
|
2935
|
+
cardDesign?: {
|
|
2936
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
2937
|
+
designType: "custom" | "template";
|
|
2938
|
+
thicknessMm: number;
|
|
2939
|
+
pattern: {
|
|
2940
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
2941
|
+
variant: "pulse" | "bell";
|
|
2942
|
+
density: number;
|
|
2943
|
+
holeMinMm: number;
|
|
2944
|
+
holeMaxMm: number;
|
|
2945
|
+
intensity: number;
|
|
2946
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
2947
|
+
cellRotationDeg: number;
|
|
2948
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
2949
|
+
chipRotationDeg: number;
|
|
2950
|
+
} | null;
|
|
2951
|
+
layout: {
|
|
2952
|
+
chipAnchor: {
|
|
2953
|
+
col: 0 | 1 | 2;
|
|
2954
|
+
row: 0 | 1 | 2;
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
filaments: {
|
|
2958
|
+
background: string;
|
|
2959
|
+
text: string;
|
|
2960
|
+
accent: string;
|
|
2961
|
+
};
|
|
2962
|
+
templateId?: string | undefined;
|
|
2963
|
+
content?: {
|
|
2964
|
+
lines: {
|
|
2965
|
+
text: string;
|
|
2966
|
+
sizeMm: number;
|
|
2967
|
+
weight: number;
|
|
2968
|
+
role: "text" | "accent";
|
|
2969
|
+
}[];
|
|
2970
|
+
} | undefined;
|
|
2971
|
+
qr?: {
|
|
2972
|
+
enabled: boolean;
|
|
2973
|
+
url: string;
|
|
2974
|
+
} | undefined;
|
|
2975
|
+
logo?: {
|
|
2976
|
+
svg?: string | undefined;
|
|
2977
|
+
svgPath?: string | undefined;
|
|
2978
|
+
} | undefined;
|
|
2979
|
+
wordmark?: boolean | undefined;
|
|
2980
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
2981
|
+
} | undefined;
|
|
1353
2982
|
};
|
|
1354
2983
|
digitalConfig: {
|
|
1355
2984
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
@@ -1475,7 +3104,7 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1475
3104
|
customUrlLabel?: string | undefined;
|
|
1476
3105
|
} | undefined;
|
|
1477
3106
|
}>>;
|
|
1478
|
-
physicalConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
3107
|
+
physicalConfig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1479
3108
|
material: z.ZodEnum<["plastic", "3dprint_standard", "metal", "bamboo"]>;
|
|
1480
3109
|
colour: z.ZodOptional<z.ZodString>;
|
|
1481
3110
|
comboId: z.ZodEnum<["A1", "A2", "B1", "B2", "C1", "C2", "D1", "D2", "E1", "E2"]>;
|
|
@@ -1589,6 +3218,249 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1589
3218
|
displayName?: string | undefined;
|
|
1590
3219
|
}>>;
|
|
1591
3220
|
companyLogoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3221
|
+
cardDesign: z.ZodOptional<z.ZodObject<{
|
|
3222
|
+
material: z.ZodEnum<["3dprint_standard", "metal", "bamboo"]>;
|
|
3223
|
+
designType: z.ZodEnum<["template", "custom"]>;
|
|
3224
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
3225
|
+
thicknessMm: z.ZodNumber;
|
|
3226
|
+
pattern: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
3227
|
+
family: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
3228
|
+
variant: z.ZodEnum<["pulse", "bell"]>;
|
|
3229
|
+
density: z.ZodNumber;
|
|
3230
|
+
holeMinMm: z.ZodNumber;
|
|
3231
|
+
holeMaxMm: z.ZodNumber;
|
|
3232
|
+
intensity: z.ZodNumber;
|
|
3233
|
+
cellShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
3234
|
+
cellRotationDeg: z.ZodNumber;
|
|
3235
|
+
chipShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
3236
|
+
chipRotationDeg: z.ZodNumber;
|
|
3237
|
+
}, "strip", z.ZodTypeAny, {
|
|
3238
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3239
|
+
variant: "pulse" | "bell";
|
|
3240
|
+
density: number;
|
|
3241
|
+
holeMinMm: number;
|
|
3242
|
+
holeMaxMm: number;
|
|
3243
|
+
intensity: number;
|
|
3244
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3245
|
+
cellRotationDeg: number;
|
|
3246
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3247
|
+
chipRotationDeg: number;
|
|
3248
|
+
}, {
|
|
3249
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3250
|
+
variant: "pulse" | "bell";
|
|
3251
|
+
density: number;
|
|
3252
|
+
holeMinMm: number;
|
|
3253
|
+
holeMaxMm: number;
|
|
3254
|
+
intensity: number;
|
|
3255
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3256
|
+
cellRotationDeg: number;
|
|
3257
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3258
|
+
chipRotationDeg: number;
|
|
3259
|
+
}>, {
|
|
3260
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3261
|
+
variant: "pulse" | "bell";
|
|
3262
|
+
density: number;
|
|
3263
|
+
holeMinMm: number;
|
|
3264
|
+
holeMaxMm: number;
|
|
3265
|
+
intensity: number;
|
|
3266
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3267
|
+
cellRotationDeg: number;
|
|
3268
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3269
|
+
chipRotationDeg: number;
|
|
3270
|
+
}, {
|
|
3271
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3272
|
+
variant: "pulse" | "bell";
|
|
3273
|
+
density: number;
|
|
3274
|
+
holeMinMm: number;
|
|
3275
|
+
holeMaxMm: number;
|
|
3276
|
+
intensity: number;
|
|
3277
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3278
|
+
cellRotationDeg: number;
|
|
3279
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3280
|
+
chipRotationDeg: number;
|
|
3281
|
+
}>>;
|
|
3282
|
+
layout: z.ZodObject<{
|
|
3283
|
+
chipAnchor: z.ZodObject<{
|
|
3284
|
+
col: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3285
|
+
row: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3286
|
+
}, "strip", z.ZodTypeAny, {
|
|
3287
|
+
col: 0 | 1 | 2;
|
|
3288
|
+
row: 0 | 1 | 2;
|
|
3289
|
+
}, {
|
|
3290
|
+
col: 0 | 1 | 2;
|
|
3291
|
+
row: 0 | 1 | 2;
|
|
3292
|
+
}>;
|
|
3293
|
+
}, "strip", z.ZodTypeAny, {
|
|
3294
|
+
chipAnchor: {
|
|
3295
|
+
col: 0 | 1 | 2;
|
|
3296
|
+
row: 0 | 1 | 2;
|
|
3297
|
+
};
|
|
3298
|
+
}, {
|
|
3299
|
+
chipAnchor: {
|
|
3300
|
+
col: 0 | 1 | 2;
|
|
3301
|
+
row: 0 | 1 | 2;
|
|
3302
|
+
};
|
|
3303
|
+
}>;
|
|
3304
|
+
filaments: z.ZodObject<{
|
|
3305
|
+
background: z.ZodString;
|
|
3306
|
+
text: z.ZodString;
|
|
3307
|
+
accent: z.ZodString;
|
|
3308
|
+
}, "strip", z.ZodTypeAny, {
|
|
3309
|
+
background: string;
|
|
3310
|
+
text: string;
|
|
3311
|
+
accent: string;
|
|
3312
|
+
}, {
|
|
3313
|
+
background: string;
|
|
3314
|
+
text: string;
|
|
3315
|
+
accent: string;
|
|
3316
|
+
}>;
|
|
3317
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
3318
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
3319
|
+
text: z.ZodString;
|
|
3320
|
+
sizeMm: z.ZodNumber;
|
|
3321
|
+
weight: z.ZodNumber;
|
|
3322
|
+
role: z.ZodEnum<["text", "accent"]>;
|
|
3323
|
+
}, "strip", z.ZodTypeAny, {
|
|
3324
|
+
text: string;
|
|
3325
|
+
sizeMm: number;
|
|
3326
|
+
weight: number;
|
|
3327
|
+
role: "text" | "accent";
|
|
3328
|
+
}, {
|
|
3329
|
+
text: string;
|
|
3330
|
+
sizeMm: number;
|
|
3331
|
+
weight: number;
|
|
3332
|
+
role: "text" | "accent";
|
|
3333
|
+
}>, "many">;
|
|
3334
|
+
}, "strip", z.ZodTypeAny, {
|
|
3335
|
+
lines: {
|
|
3336
|
+
text: string;
|
|
3337
|
+
sizeMm: number;
|
|
3338
|
+
weight: number;
|
|
3339
|
+
role: "text" | "accent";
|
|
3340
|
+
}[];
|
|
3341
|
+
}, {
|
|
3342
|
+
lines: {
|
|
3343
|
+
text: string;
|
|
3344
|
+
sizeMm: number;
|
|
3345
|
+
weight: number;
|
|
3346
|
+
role: "text" | "accent";
|
|
3347
|
+
}[];
|
|
3348
|
+
}>>;
|
|
3349
|
+
qr: z.ZodOptional<z.ZodObject<{
|
|
3350
|
+
enabled: z.ZodBoolean;
|
|
3351
|
+
url: z.ZodString;
|
|
3352
|
+
}, "strip", z.ZodTypeAny, {
|
|
3353
|
+
enabled: boolean;
|
|
3354
|
+
url: string;
|
|
3355
|
+
}, {
|
|
3356
|
+
enabled: boolean;
|
|
3357
|
+
url: string;
|
|
3358
|
+
}>>;
|
|
3359
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
3360
|
+
svg: z.ZodOptional<z.ZodString>;
|
|
3361
|
+
svgPath: z.ZodOptional<z.ZodString>;
|
|
3362
|
+
}, "strip", z.ZodTypeAny, {
|
|
3363
|
+
svg?: string | undefined;
|
|
3364
|
+
svgPath?: string | undefined;
|
|
3365
|
+
}, {
|
|
3366
|
+
svg?: string | undefined;
|
|
3367
|
+
svgPath?: string | undefined;
|
|
3368
|
+
}>>;
|
|
3369
|
+
wordmark: z.ZodOptional<z.ZodBoolean>;
|
|
3370
|
+
contentFace: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
|
|
3371
|
+
}, "strip", z.ZodTypeAny, {
|
|
3372
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3373
|
+
designType: "custom" | "template";
|
|
3374
|
+
thicknessMm: number;
|
|
3375
|
+
pattern: {
|
|
3376
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3377
|
+
variant: "pulse" | "bell";
|
|
3378
|
+
density: number;
|
|
3379
|
+
holeMinMm: number;
|
|
3380
|
+
holeMaxMm: number;
|
|
3381
|
+
intensity: number;
|
|
3382
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3383
|
+
cellRotationDeg: number;
|
|
3384
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3385
|
+
chipRotationDeg: number;
|
|
3386
|
+
} | null;
|
|
3387
|
+
layout: {
|
|
3388
|
+
chipAnchor: {
|
|
3389
|
+
col: 0 | 1 | 2;
|
|
3390
|
+
row: 0 | 1 | 2;
|
|
3391
|
+
};
|
|
3392
|
+
};
|
|
3393
|
+
filaments: {
|
|
3394
|
+
background: string;
|
|
3395
|
+
text: string;
|
|
3396
|
+
accent: string;
|
|
3397
|
+
};
|
|
3398
|
+
templateId?: string | undefined;
|
|
3399
|
+
content?: {
|
|
3400
|
+
lines: {
|
|
3401
|
+
text: string;
|
|
3402
|
+
sizeMm: number;
|
|
3403
|
+
weight: number;
|
|
3404
|
+
role: "text" | "accent";
|
|
3405
|
+
}[];
|
|
3406
|
+
} | undefined;
|
|
3407
|
+
qr?: {
|
|
3408
|
+
enabled: boolean;
|
|
3409
|
+
url: string;
|
|
3410
|
+
} | undefined;
|
|
3411
|
+
logo?: {
|
|
3412
|
+
svg?: string | undefined;
|
|
3413
|
+
svgPath?: string | undefined;
|
|
3414
|
+
} | undefined;
|
|
3415
|
+
wordmark?: boolean | undefined;
|
|
3416
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3417
|
+
}, {
|
|
3418
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3419
|
+
designType: "custom" | "template";
|
|
3420
|
+
thicknessMm: number;
|
|
3421
|
+
pattern: {
|
|
3422
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3423
|
+
variant: "pulse" | "bell";
|
|
3424
|
+
density: number;
|
|
3425
|
+
holeMinMm: number;
|
|
3426
|
+
holeMaxMm: number;
|
|
3427
|
+
intensity: number;
|
|
3428
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3429
|
+
cellRotationDeg: number;
|
|
3430
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3431
|
+
chipRotationDeg: number;
|
|
3432
|
+
} | null;
|
|
3433
|
+
layout: {
|
|
3434
|
+
chipAnchor: {
|
|
3435
|
+
col: 0 | 1 | 2;
|
|
3436
|
+
row: 0 | 1 | 2;
|
|
3437
|
+
};
|
|
3438
|
+
};
|
|
3439
|
+
filaments: {
|
|
3440
|
+
background: string;
|
|
3441
|
+
text: string;
|
|
3442
|
+
accent: string;
|
|
3443
|
+
};
|
|
3444
|
+
templateId?: string | undefined;
|
|
3445
|
+
content?: {
|
|
3446
|
+
lines: {
|
|
3447
|
+
text: string;
|
|
3448
|
+
sizeMm: number;
|
|
3449
|
+
weight: number;
|
|
3450
|
+
role: "text" | "accent";
|
|
3451
|
+
}[];
|
|
3452
|
+
} | undefined;
|
|
3453
|
+
qr?: {
|
|
3454
|
+
enabled: boolean;
|
|
3455
|
+
url: string;
|
|
3456
|
+
} | undefined;
|
|
3457
|
+
logo?: {
|
|
3458
|
+
svg?: string | undefined;
|
|
3459
|
+
svgPath?: string | undefined;
|
|
3460
|
+
} | undefined;
|
|
3461
|
+
wordmark?: boolean | undefined;
|
|
3462
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3463
|
+
}>>;
|
|
1592
3464
|
}, "strip", z.ZodTypeAny, {
|
|
1593
3465
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
1594
3466
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -1635,6 +3507,53 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1635
3507
|
company?: string | undefined;
|
|
1636
3508
|
displayName?: string | undefined;
|
|
1637
3509
|
} | undefined;
|
|
3510
|
+
cardDesign?: {
|
|
3511
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3512
|
+
designType: "custom" | "template";
|
|
3513
|
+
thicknessMm: number;
|
|
3514
|
+
pattern: {
|
|
3515
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3516
|
+
variant: "pulse" | "bell";
|
|
3517
|
+
density: number;
|
|
3518
|
+
holeMinMm: number;
|
|
3519
|
+
holeMaxMm: number;
|
|
3520
|
+
intensity: number;
|
|
3521
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3522
|
+
cellRotationDeg: number;
|
|
3523
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3524
|
+
chipRotationDeg: number;
|
|
3525
|
+
} | null;
|
|
3526
|
+
layout: {
|
|
3527
|
+
chipAnchor: {
|
|
3528
|
+
col: 0 | 1 | 2;
|
|
3529
|
+
row: 0 | 1 | 2;
|
|
3530
|
+
};
|
|
3531
|
+
};
|
|
3532
|
+
filaments: {
|
|
3533
|
+
background: string;
|
|
3534
|
+
text: string;
|
|
3535
|
+
accent: string;
|
|
3536
|
+
};
|
|
3537
|
+
templateId?: string | undefined;
|
|
3538
|
+
content?: {
|
|
3539
|
+
lines: {
|
|
3540
|
+
text: string;
|
|
3541
|
+
sizeMm: number;
|
|
3542
|
+
weight: number;
|
|
3543
|
+
role: "text" | "accent";
|
|
3544
|
+
}[];
|
|
3545
|
+
} | undefined;
|
|
3546
|
+
qr?: {
|
|
3547
|
+
enabled: boolean;
|
|
3548
|
+
url: string;
|
|
3549
|
+
} | undefined;
|
|
3550
|
+
logo?: {
|
|
3551
|
+
svg?: string | undefined;
|
|
3552
|
+
svgPath?: string | undefined;
|
|
3553
|
+
} | undefined;
|
|
3554
|
+
wordmark?: boolean | undefined;
|
|
3555
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3556
|
+
} | undefined;
|
|
1638
3557
|
}, {
|
|
1639
3558
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
1640
3559
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -1681,6 +3600,53 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1681
3600
|
company?: string | undefined;
|
|
1682
3601
|
displayName?: string | undefined;
|
|
1683
3602
|
} | undefined;
|
|
3603
|
+
cardDesign?: {
|
|
3604
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3605
|
+
designType: "custom" | "template";
|
|
3606
|
+
thicknessMm: number;
|
|
3607
|
+
pattern: {
|
|
3608
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3609
|
+
variant: "pulse" | "bell";
|
|
3610
|
+
density: number;
|
|
3611
|
+
holeMinMm: number;
|
|
3612
|
+
holeMaxMm: number;
|
|
3613
|
+
intensity: number;
|
|
3614
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3615
|
+
cellRotationDeg: number;
|
|
3616
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3617
|
+
chipRotationDeg: number;
|
|
3618
|
+
} | null;
|
|
3619
|
+
layout: {
|
|
3620
|
+
chipAnchor: {
|
|
3621
|
+
col: 0 | 1 | 2;
|
|
3622
|
+
row: 0 | 1 | 2;
|
|
3623
|
+
};
|
|
3624
|
+
};
|
|
3625
|
+
filaments: {
|
|
3626
|
+
background: string;
|
|
3627
|
+
text: string;
|
|
3628
|
+
accent: string;
|
|
3629
|
+
};
|
|
3630
|
+
templateId?: string | undefined;
|
|
3631
|
+
content?: {
|
|
3632
|
+
lines: {
|
|
3633
|
+
text: string;
|
|
3634
|
+
sizeMm: number;
|
|
3635
|
+
weight: number;
|
|
3636
|
+
role: "text" | "accent";
|
|
3637
|
+
}[];
|
|
3638
|
+
} | undefined;
|
|
3639
|
+
qr?: {
|
|
3640
|
+
enabled: boolean;
|
|
3641
|
+
url: string;
|
|
3642
|
+
} | undefined;
|
|
3643
|
+
logo?: {
|
|
3644
|
+
svg?: string | undefined;
|
|
3645
|
+
svgPath?: string | undefined;
|
|
3646
|
+
} | undefined;
|
|
3647
|
+
wordmark?: boolean | undefined;
|
|
3648
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3649
|
+
} | undefined;
|
|
1684
3650
|
}>, {
|
|
1685
3651
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
1686
3652
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -1727,6 +3693,53 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1727
3693
|
company?: string | undefined;
|
|
1728
3694
|
displayName?: string | undefined;
|
|
1729
3695
|
} | undefined;
|
|
3696
|
+
cardDesign?: {
|
|
3697
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3698
|
+
designType: "custom" | "template";
|
|
3699
|
+
thicknessMm: number;
|
|
3700
|
+
pattern: {
|
|
3701
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3702
|
+
variant: "pulse" | "bell";
|
|
3703
|
+
density: number;
|
|
3704
|
+
holeMinMm: number;
|
|
3705
|
+
holeMaxMm: number;
|
|
3706
|
+
intensity: number;
|
|
3707
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3708
|
+
cellRotationDeg: number;
|
|
3709
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3710
|
+
chipRotationDeg: number;
|
|
3711
|
+
} | null;
|
|
3712
|
+
layout: {
|
|
3713
|
+
chipAnchor: {
|
|
3714
|
+
col: 0 | 1 | 2;
|
|
3715
|
+
row: 0 | 1 | 2;
|
|
3716
|
+
};
|
|
3717
|
+
};
|
|
3718
|
+
filaments: {
|
|
3719
|
+
background: string;
|
|
3720
|
+
text: string;
|
|
3721
|
+
accent: string;
|
|
3722
|
+
};
|
|
3723
|
+
templateId?: string | undefined;
|
|
3724
|
+
content?: {
|
|
3725
|
+
lines: {
|
|
3726
|
+
text: string;
|
|
3727
|
+
sizeMm: number;
|
|
3728
|
+
weight: number;
|
|
3729
|
+
role: "text" | "accent";
|
|
3730
|
+
}[];
|
|
3731
|
+
} | undefined;
|
|
3732
|
+
qr?: {
|
|
3733
|
+
enabled: boolean;
|
|
3734
|
+
url: string;
|
|
3735
|
+
} | undefined;
|
|
3736
|
+
logo?: {
|
|
3737
|
+
svg?: string | undefined;
|
|
3738
|
+
svgPath?: string | undefined;
|
|
3739
|
+
} | undefined;
|
|
3740
|
+
wordmark?: boolean | undefined;
|
|
3741
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3742
|
+
} | undefined;
|
|
1730
3743
|
}, {
|
|
1731
3744
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
1732
3745
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -1773,6 +3786,239 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1773
3786
|
company?: string | undefined;
|
|
1774
3787
|
displayName?: string | undefined;
|
|
1775
3788
|
} | undefined;
|
|
3789
|
+
cardDesign?: {
|
|
3790
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3791
|
+
designType: "custom" | "template";
|
|
3792
|
+
thicknessMm: number;
|
|
3793
|
+
pattern: {
|
|
3794
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3795
|
+
variant: "pulse" | "bell";
|
|
3796
|
+
density: number;
|
|
3797
|
+
holeMinMm: number;
|
|
3798
|
+
holeMaxMm: number;
|
|
3799
|
+
intensity: number;
|
|
3800
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3801
|
+
cellRotationDeg: number;
|
|
3802
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3803
|
+
chipRotationDeg: number;
|
|
3804
|
+
} | null;
|
|
3805
|
+
layout: {
|
|
3806
|
+
chipAnchor: {
|
|
3807
|
+
col: 0 | 1 | 2;
|
|
3808
|
+
row: 0 | 1 | 2;
|
|
3809
|
+
};
|
|
3810
|
+
};
|
|
3811
|
+
filaments: {
|
|
3812
|
+
background: string;
|
|
3813
|
+
text: string;
|
|
3814
|
+
accent: string;
|
|
3815
|
+
};
|
|
3816
|
+
templateId?: string | undefined;
|
|
3817
|
+
content?: {
|
|
3818
|
+
lines: {
|
|
3819
|
+
text: string;
|
|
3820
|
+
sizeMm: number;
|
|
3821
|
+
weight: number;
|
|
3822
|
+
role: "text" | "accent";
|
|
3823
|
+
}[];
|
|
3824
|
+
} | undefined;
|
|
3825
|
+
qr?: {
|
|
3826
|
+
enabled: boolean;
|
|
3827
|
+
url: string;
|
|
3828
|
+
} | undefined;
|
|
3829
|
+
logo?: {
|
|
3830
|
+
svg?: string | undefined;
|
|
3831
|
+
svgPath?: string | undefined;
|
|
3832
|
+
} | undefined;
|
|
3833
|
+
wordmark?: boolean | undefined;
|
|
3834
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3835
|
+
} | undefined;
|
|
3836
|
+
}>, {
|
|
3837
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
3838
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
3839
|
+
frontElements: {
|
|
3840
|
+
showName: boolean;
|
|
3841
|
+
showPosition: boolean;
|
|
3842
|
+
showEmail: boolean;
|
|
3843
|
+
showPhone: boolean;
|
|
3844
|
+
showCompany: boolean;
|
|
3845
|
+
showLogo: boolean;
|
|
3846
|
+
showQr: boolean;
|
|
3847
|
+
showPhoto: boolean;
|
|
3848
|
+
};
|
|
3849
|
+
backElements: {
|
|
3850
|
+
showName: boolean;
|
|
3851
|
+
showPosition: boolean;
|
|
3852
|
+
showEmail: boolean;
|
|
3853
|
+
showPhone: boolean;
|
|
3854
|
+
showCompany: boolean;
|
|
3855
|
+
showLogo: boolean;
|
|
3856
|
+
showQr: boolean;
|
|
3857
|
+
showPhoto: boolean;
|
|
3858
|
+
};
|
|
3859
|
+
companyLogoUrl?: string | undefined;
|
|
3860
|
+
colour?: string | undefined;
|
|
3861
|
+
qrTargetUrl?: string | undefined;
|
|
3862
|
+
customDesignRequest?: string | undefined;
|
|
3863
|
+
frontContactToggles?: {
|
|
3864
|
+
showEmail?: boolean | undefined;
|
|
3865
|
+
showPhone?: boolean | undefined;
|
|
3866
|
+
showLocation?: boolean | undefined;
|
|
3867
|
+
} | undefined;
|
|
3868
|
+
backContactToggles?: {
|
|
3869
|
+
showEmail?: boolean | undefined;
|
|
3870
|
+
showPhone?: boolean | undefined;
|
|
3871
|
+
showLocation?: boolean | undefined;
|
|
3872
|
+
} | undefined;
|
|
3873
|
+
contentOverrides?: {
|
|
3874
|
+
position?: string | undefined;
|
|
3875
|
+
email?: string | undefined;
|
|
3876
|
+
phone?: string | undefined;
|
|
3877
|
+
phoneCountryCode?: string | undefined;
|
|
3878
|
+
location?: string | undefined;
|
|
3879
|
+
company?: string | undefined;
|
|
3880
|
+
displayName?: string | undefined;
|
|
3881
|
+
} | undefined;
|
|
3882
|
+
cardDesign?: {
|
|
3883
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3884
|
+
designType: "custom" | "template";
|
|
3885
|
+
thicknessMm: number;
|
|
3886
|
+
pattern: {
|
|
3887
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3888
|
+
variant: "pulse" | "bell";
|
|
3889
|
+
density: number;
|
|
3890
|
+
holeMinMm: number;
|
|
3891
|
+
holeMaxMm: number;
|
|
3892
|
+
intensity: number;
|
|
3893
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3894
|
+
cellRotationDeg: number;
|
|
3895
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3896
|
+
chipRotationDeg: number;
|
|
3897
|
+
} | null;
|
|
3898
|
+
layout: {
|
|
3899
|
+
chipAnchor: {
|
|
3900
|
+
col: 0 | 1 | 2;
|
|
3901
|
+
row: 0 | 1 | 2;
|
|
3902
|
+
};
|
|
3903
|
+
};
|
|
3904
|
+
filaments: {
|
|
3905
|
+
background: string;
|
|
3906
|
+
text: string;
|
|
3907
|
+
accent: string;
|
|
3908
|
+
};
|
|
3909
|
+
templateId?: string | undefined;
|
|
3910
|
+
content?: {
|
|
3911
|
+
lines: {
|
|
3912
|
+
text: string;
|
|
3913
|
+
sizeMm: number;
|
|
3914
|
+
weight: number;
|
|
3915
|
+
role: "text" | "accent";
|
|
3916
|
+
}[];
|
|
3917
|
+
} | undefined;
|
|
3918
|
+
qr?: {
|
|
3919
|
+
enabled: boolean;
|
|
3920
|
+
url: string;
|
|
3921
|
+
} | undefined;
|
|
3922
|
+
logo?: {
|
|
3923
|
+
svg?: string | undefined;
|
|
3924
|
+
svgPath?: string | undefined;
|
|
3925
|
+
} | undefined;
|
|
3926
|
+
wordmark?: boolean | undefined;
|
|
3927
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
3928
|
+
} | undefined;
|
|
3929
|
+
}, {
|
|
3930
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
3931
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
3932
|
+
frontElements: {
|
|
3933
|
+
showName: boolean;
|
|
3934
|
+
showPosition: boolean;
|
|
3935
|
+
showEmail: boolean;
|
|
3936
|
+
showPhone: boolean;
|
|
3937
|
+
showCompany: boolean;
|
|
3938
|
+
showLogo: boolean;
|
|
3939
|
+
showQr: boolean;
|
|
3940
|
+
showPhoto: boolean;
|
|
3941
|
+
};
|
|
3942
|
+
backElements: {
|
|
3943
|
+
showName: boolean;
|
|
3944
|
+
showPosition: boolean;
|
|
3945
|
+
showEmail: boolean;
|
|
3946
|
+
showPhone: boolean;
|
|
3947
|
+
showCompany: boolean;
|
|
3948
|
+
showLogo: boolean;
|
|
3949
|
+
showQr: boolean;
|
|
3950
|
+
showPhoto: boolean;
|
|
3951
|
+
};
|
|
3952
|
+
companyLogoUrl?: string | undefined;
|
|
3953
|
+
colour?: string | undefined;
|
|
3954
|
+
qrTargetUrl?: string | undefined;
|
|
3955
|
+
customDesignRequest?: string | undefined;
|
|
3956
|
+
frontContactToggles?: {
|
|
3957
|
+
showEmail?: boolean | undefined;
|
|
3958
|
+
showPhone?: boolean | undefined;
|
|
3959
|
+
showLocation?: boolean | undefined;
|
|
3960
|
+
} | undefined;
|
|
3961
|
+
backContactToggles?: {
|
|
3962
|
+
showEmail?: boolean | undefined;
|
|
3963
|
+
showPhone?: boolean | undefined;
|
|
3964
|
+
showLocation?: boolean | undefined;
|
|
3965
|
+
} | undefined;
|
|
3966
|
+
contentOverrides?: {
|
|
3967
|
+
position?: string | undefined;
|
|
3968
|
+
email?: string | undefined;
|
|
3969
|
+
phone?: string | undefined;
|
|
3970
|
+
phoneCountryCode?: string | undefined;
|
|
3971
|
+
location?: string | undefined;
|
|
3972
|
+
company?: string | undefined;
|
|
3973
|
+
displayName?: string | undefined;
|
|
3974
|
+
} | undefined;
|
|
3975
|
+
cardDesign?: {
|
|
3976
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
3977
|
+
designType: "custom" | "template";
|
|
3978
|
+
thicknessMm: number;
|
|
3979
|
+
pattern: {
|
|
3980
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
3981
|
+
variant: "pulse" | "bell";
|
|
3982
|
+
density: number;
|
|
3983
|
+
holeMinMm: number;
|
|
3984
|
+
holeMaxMm: number;
|
|
3985
|
+
intensity: number;
|
|
3986
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
3987
|
+
cellRotationDeg: number;
|
|
3988
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
3989
|
+
chipRotationDeg: number;
|
|
3990
|
+
} | null;
|
|
3991
|
+
layout: {
|
|
3992
|
+
chipAnchor: {
|
|
3993
|
+
col: 0 | 1 | 2;
|
|
3994
|
+
row: 0 | 1 | 2;
|
|
3995
|
+
};
|
|
3996
|
+
};
|
|
3997
|
+
filaments: {
|
|
3998
|
+
background: string;
|
|
3999
|
+
text: string;
|
|
4000
|
+
accent: string;
|
|
4001
|
+
};
|
|
4002
|
+
templateId?: string | undefined;
|
|
4003
|
+
content?: {
|
|
4004
|
+
lines: {
|
|
4005
|
+
text: string;
|
|
4006
|
+
sizeMm: number;
|
|
4007
|
+
weight: number;
|
|
4008
|
+
role: "text" | "accent";
|
|
4009
|
+
}[];
|
|
4010
|
+
} | undefined;
|
|
4011
|
+
qr?: {
|
|
4012
|
+
enabled: boolean;
|
|
4013
|
+
url: string;
|
|
4014
|
+
} | undefined;
|
|
4015
|
+
logo?: {
|
|
4016
|
+
svg?: string | undefined;
|
|
4017
|
+
svgPath?: string | undefined;
|
|
4018
|
+
} | undefined;
|
|
4019
|
+
wordmark?: boolean | undefined;
|
|
4020
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
4021
|
+
} | undefined;
|
|
1776
4022
|
}>>;
|
|
1777
4023
|
digitalConfig: z.ZodOptional<z.ZodObject<{
|
|
1778
4024
|
templateId: z.ZodEnum<["minimal", "bold", "card", "aurora"]>;
|
|
@@ -1977,6 +4223,53 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
1977
4223
|
company?: string | undefined;
|
|
1978
4224
|
displayName?: string | undefined;
|
|
1979
4225
|
} | undefined;
|
|
4226
|
+
cardDesign?: {
|
|
4227
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
4228
|
+
designType: "custom" | "template";
|
|
4229
|
+
thicknessMm: number;
|
|
4230
|
+
pattern: {
|
|
4231
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
4232
|
+
variant: "pulse" | "bell";
|
|
4233
|
+
density: number;
|
|
4234
|
+
holeMinMm: number;
|
|
4235
|
+
holeMaxMm: number;
|
|
4236
|
+
intensity: number;
|
|
4237
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
4238
|
+
cellRotationDeg: number;
|
|
4239
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
4240
|
+
chipRotationDeg: number;
|
|
4241
|
+
} | null;
|
|
4242
|
+
layout: {
|
|
4243
|
+
chipAnchor: {
|
|
4244
|
+
col: 0 | 1 | 2;
|
|
4245
|
+
row: 0 | 1 | 2;
|
|
4246
|
+
};
|
|
4247
|
+
};
|
|
4248
|
+
filaments: {
|
|
4249
|
+
background: string;
|
|
4250
|
+
text: string;
|
|
4251
|
+
accent: string;
|
|
4252
|
+
};
|
|
4253
|
+
templateId?: string | undefined;
|
|
4254
|
+
content?: {
|
|
4255
|
+
lines: {
|
|
4256
|
+
text: string;
|
|
4257
|
+
sizeMm: number;
|
|
4258
|
+
weight: number;
|
|
4259
|
+
role: "text" | "accent";
|
|
4260
|
+
}[];
|
|
4261
|
+
} | undefined;
|
|
4262
|
+
qr?: {
|
|
4263
|
+
enabled: boolean;
|
|
4264
|
+
url: string;
|
|
4265
|
+
} | undefined;
|
|
4266
|
+
logo?: {
|
|
4267
|
+
svg?: string | undefined;
|
|
4268
|
+
svgPath?: string | undefined;
|
|
4269
|
+
} | undefined;
|
|
4270
|
+
wordmark?: boolean | undefined;
|
|
4271
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
4272
|
+
} | undefined;
|
|
1980
4273
|
} | undefined;
|
|
1981
4274
|
digitalConfig?: {
|
|
1982
4275
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
@@ -2083,6 +4376,53 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
2083
4376
|
company?: string | undefined;
|
|
2084
4377
|
displayName?: string | undefined;
|
|
2085
4378
|
} | undefined;
|
|
4379
|
+
cardDesign?: {
|
|
4380
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
4381
|
+
designType: "custom" | "template";
|
|
4382
|
+
thicknessMm: number;
|
|
4383
|
+
pattern: {
|
|
4384
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
4385
|
+
variant: "pulse" | "bell";
|
|
4386
|
+
density: number;
|
|
4387
|
+
holeMinMm: number;
|
|
4388
|
+
holeMaxMm: number;
|
|
4389
|
+
intensity: number;
|
|
4390
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
4391
|
+
cellRotationDeg: number;
|
|
4392
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
4393
|
+
chipRotationDeg: number;
|
|
4394
|
+
} | null;
|
|
4395
|
+
layout: {
|
|
4396
|
+
chipAnchor: {
|
|
4397
|
+
col: 0 | 1 | 2;
|
|
4398
|
+
row: 0 | 1 | 2;
|
|
4399
|
+
};
|
|
4400
|
+
};
|
|
4401
|
+
filaments: {
|
|
4402
|
+
background: string;
|
|
4403
|
+
text: string;
|
|
4404
|
+
accent: string;
|
|
4405
|
+
};
|
|
4406
|
+
templateId?: string | undefined;
|
|
4407
|
+
content?: {
|
|
4408
|
+
lines: {
|
|
4409
|
+
text: string;
|
|
4410
|
+
sizeMm: number;
|
|
4411
|
+
weight: number;
|
|
4412
|
+
role: "text" | "accent";
|
|
4413
|
+
}[];
|
|
4414
|
+
} | undefined;
|
|
4415
|
+
qr?: {
|
|
4416
|
+
enabled: boolean;
|
|
4417
|
+
url: string;
|
|
4418
|
+
} | undefined;
|
|
4419
|
+
logo?: {
|
|
4420
|
+
svg?: string | undefined;
|
|
4421
|
+
svgPath?: string | undefined;
|
|
4422
|
+
} | undefined;
|
|
4423
|
+
wordmark?: boolean | undefined;
|
|
4424
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
4425
|
+
} | undefined;
|
|
2086
4426
|
} | undefined;
|
|
2087
4427
|
digitalConfig?: {
|
|
2088
4428
|
templateId: "minimal" | "bold" | "card" | "aurora";
|
|
@@ -2124,12 +4464,12 @@ declare const createOrderSchema: z.ZodObject<{
|
|
|
2124
4464
|
discountCode: z.ZodOptional<z.ZodString>;
|
|
2125
4465
|
designType: z.ZodEnum<["template", "custom"]>;
|
|
2126
4466
|
}, "strip", z.ZodTypeAny, {
|
|
2127
|
-
configurationId: string;
|
|
2128
4467
|
designType: "custom" | "template";
|
|
4468
|
+
configurationId: string;
|
|
2129
4469
|
discountCode?: string | undefined;
|
|
2130
4470
|
}, {
|
|
2131
|
-
configurationId: string;
|
|
2132
4471
|
designType: "custom" | "template";
|
|
4472
|
+
configurationId: string;
|
|
2133
4473
|
discountCode?: string | undefined;
|
|
2134
4474
|
}>;
|
|
2135
4475
|
declare const cardUpdateSchema: z.ZodObject<{
|
|
@@ -2559,7 +4899,7 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2559
4899
|
customUrlLabel?: string | undefined;
|
|
2560
4900
|
} | undefined;
|
|
2561
4901
|
}>;
|
|
2562
|
-
physicalConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
4902
|
+
physicalConfig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
2563
4903
|
material: z.ZodEnum<["plastic", "3dprint_standard", "metal", "bamboo"]>;
|
|
2564
4904
|
colour: z.ZodOptional<z.ZodString>;
|
|
2565
4905
|
comboId: z.ZodEnum<["A1", "A2", "B1", "B2", "C1", "C2", "D1", "D2", "E1", "E2"]>;
|
|
@@ -2673,6 +5013,249 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2673
5013
|
displayName?: string | undefined;
|
|
2674
5014
|
}>>;
|
|
2675
5015
|
companyLogoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
5016
|
+
cardDesign: z.ZodOptional<z.ZodObject<{
|
|
5017
|
+
material: z.ZodEnum<["3dprint_standard", "metal", "bamboo"]>;
|
|
5018
|
+
designType: z.ZodEnum<["template", "custom"]>;
|
|
5019
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
5020
|
+
thicknessMm: z.ZodNumber;
|
|
5021
|
+
pattern: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
5022
|
+
family: z.ZodEnum<["radial", "gradient", "wave", "spiral"]>;
|
|
5023
|
+
variant: z.ZodEnum<["pulse", "bell"]>;
|
|
5024
|
+
density: z.ZodNumber;
|
|
5025
|
+
holeMinMm: z.ZodNumber;
|
|
5026
|
+
holeMaxMm: z.ZodNumber;
|
|
5027
|
+
intensity: z.ZodNumber;
|
|
5028
|
+
cellShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
5029
|
+
cellRotationDeg: z.ZodNumber;
|
|
5030
|
+
chipShape: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>]>;
|
|
5031
|
+
chipRotationDeg: z.ZodNumber;
|
|
5032
|
+
}, "strip", z.ZodTypeAny, {
|
|
5033
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5034
|
+
variant: "pulse" | "bell";
|
|
5035
|
+
density: number;
|
|
5036
|
+
holeMinMm: number;
|
|
5037
|
+
holeMaxMm: number;
|
|
5038
|
+
intensity: number;
|
|
5039
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5040
|
+
cellRotationDeg: number;
|
|
5041
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5042
|
+
chipRotationDeg: number;
|
|
5043
|
+
}, {
|
|
5044
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5045
|
+
variant: "pulse" | "bell";
|
|
5046
|
+
density: number;
|
|
5047
|
+
holeMinMm: number;
|
|
5048
|
+
holeMaxMm: number;
|
|
5049
|
+
intensity: number;
|
|
5050
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5051
|
+
cellRotationDeg: number;
|
|
5052
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5053
|
+
chipRotationDeg: number;
|
|
5054
|
+
}>, {
|
|
5055
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5056
|
+
variant: "pulse" | "bell";
|
|
5057
|
+
density: number;
|
|
5058
|
+
holeMinMm: number;
|
|
5059
|
+
holeMaxMm: number;
|
|
5060
|
+
intensity: number;
|
|
5061
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5062
|
+
cellRotationDeg: number;
|
|
5063
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5064
|
+
chipRotationDeg: number;
|
|
5065
|
+
}, {
|
|
5066
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5067
|
+
variant: "pulse" | "bell";
|
|
5068
|
+
density: number;
|
|
5069
|
+
holeMinMm: number;
|
|
5070
|
+
holeMaxMm: number;
|
|
5071
|
+
intensity: number;
|
|
5072
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5073
|
+
cellRotationDeg: number;
|
|
5074
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5075
|
+
chipRotationDeg: number;
|
|
5076
|
+
}>>;
|
|
5077
|
+
layout: z.ZodObject<{
|
|
5078
|
+
chipAnchor: z.ZodObject<{
|
|
5079
|
+
col: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
5080
|
+
row: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
5081
|
+
}, "strip", z.ZodTypeAny, {
|
|
5082
|
+
col: 0 | 1 | 2;
|
|
5083
|
+
row: 0 | 1 | 2;
|
|
5084
|
+
}, {
|
|
5085
|
+
col: 0 | 1 | 2;
|
|
5086
|
+
row: 0 | 1 | 2;
|
|
5087
|
+
}>;
|
|
5088
|
+
}, "strip", z.ZodTypeAny, {
|
|
5089
|
+
chipAnchor: {
|
|
5090
|
+
col: 0 | 1 | 2;
|
|
5091
|
+
row: 0 | 1 | 2;
|
|
5092
|
+
};
|
|
5093
|
+
}, {
|
|
5094
|
+
chipAnchor: {
|
|
5095
|
+
col: 0 | 1 | 2;
|
|
5096
|
+
row: 0 | 1 | 2;
|
|
5097
|
+
};
|
|
5098
|
+
}>;
|
|
5099
|
+
filaments: z.ZodObject<{
|
|
5100
|
+
background: z.ZodString;
|
|
5101
|
+
text: z.ZodString;
|
|
5102
|
+
accent: z.ZodString;
|
|
5103
|
+
}, "strip", z.ZodTypeAny, {
|
|
5104
|
+
background: string;
|
|
5105
|
+
text: string;
|
|
5106
|
+
accent: string;
|
|
5107
|
+
}, {
|
|
5108
|
+
background: string;
|
|
5109
|
+
text: string;
|
|
5110
|
+
accent: string;
|
|
5111
|
+
}>;
|
|
5112
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
5113
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
5114
|
+
text: z.ZodString;
|
|
5115
|
+
sizeMm: z.ZodNumber;
|
|
5116
|
+
weight: z.ZodNumber;
|
|
5117
|
+
role: z.ZodEnum<["text", "accent"]>;
|
|
5118
|
+
}, "strip", z.ZodTypeAny, {
|
|
5119
|
+
text: string;
|
|
5120
|
+
sizeMm: number;
|
|
5121
|
+
weight: number;
|
|
5122
|
+
role: "text" | "accent";
|
|
5123
|
+
}, {
|
|
5124
|
+
text: string;
|
|
5125
|
+
sizeMm: number;
|
|
5126
|
+
weight: number;
|
|
5127
|
+
role: "text" | "accent";
|
|
5128
|
+
}>, "many">;
|
|
5129
|
+
}, "strip", z.ZodTypeAny, {
|
|
5130
|
+
lines: {
|
|
5131
|
+
text: string;
|
|
5132
|
+
sizeMm: number;
|
|
5133
|
+
weight: number;
|
|
5134
|
+
role: "text" | "accent";
|
|
5135
|
+
}[];
|
|
5136
|
+
}, {
|
|
5137
|
+
lines: {
|
|
5138
|
+
text: string;
|
|
5139
|
+
sizeMm: number;
|
|
5140
|
+
weight: number;
|
|
5141
|
+
role: "text" | "accent";
|
|
5142
|
+
}[];
|
|
5143
|
+
}>>;
|
|
5144
|
+
qr: z.ZodOptional<z.ZodObject<{
|
|
5145
|
+
enabled: z.ZodBoolean;
|
|
5146
|
+
url: z.ZodString;
|
|
5147
|
+
}, "strip", z.ZodTypeAny, {
|
|
5148
|
+
enabled: boolean;
|
|
5149
|
+
url: string;
|
|
5150
|
+
}, {
|
|
5151
|
+
enabled: boolean;
|
|
5152
|
+
url: string;
|
|
5153
|
+
}>>;
|
|
5154
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
5155
|
+
svg: z.ZodOptional<z.ZodString>;
|
|
5156
|
+
svgPath: z.ZodOptional<z.ZodString>;
|
|
5157
|
+
}, "strip", z.ZodTypeAny, {
|
|
5158
|
+
svg?: string | undefined;
|
|
5159
|
+
svgPath?: string | undefined;
|
|
5160
|
+
}, {
|
|
5161
|
+
svg?: string | undefined;
|
|
5162
|
+
svgPath?: string | undefined;
|
|
5163
|
+
}>>;
|
|
5164
|
+
wordmark: z.ZodOptional<z.ZodBoolean>;
|
|
5165
|
+
contentFace: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
|
|
5166
|
+
}, "strip", z.ZodTypeAny, {
|
|
5167
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5168
|
+
designType: "custom" | "template";
|
|
5169
|
+
thicknessMm: number;
|
|
5170
|
+
pattern: {
|
|
5171
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5172
|
+
variant: "pulse" | "bell";
|
|
5173
|
+
density: number;
|
|
5174
|
+
holeMinMm: number;
|
|
5175
|
+
holeMaxMm: number;
|
|
5176
|
+
intensity: number;
|
|
5177
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5178
|
+
cellRotationDeg: number;
|
|
5179
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5180
|
+
chipRotationDeg: number;
|
|
5181
|
+
} | null;
|
|
5182
|
+
layout: {
|
|
5183
|
+
chipAnchor: {
|
|
5184
|
+
col: 0 | 1 | 2;
|
|
5185
|
+
row: 0 | 1 | 2;
|
|
5186
|
+
};
|
|
5187
|
+
};
|
|
5188
|
+
filaments: {
|
|
5189
|
+
background: string;
|
|
5190
|
+
text: string;
|
|
5191
|
+
accent: string;
|
|
5192
|
+
};
|
|
5193
|
+
templateId?: string | undefined;
|
|
5194
|
+
content?: {
|
|
5195
|
+
lines: {
|
|
5196
|
+
text: string;
|
|
5197
|
+
sizeMm: number;
|
|
5198
|
+
weight: number;
|
|
5199
|
+
role: "text" | "accent";
|
|
5200
|
+
}[];
|
|
5201
|
+
} | undefined;
|
|
5202
|
+
qr?: {
|
|
5203
|
+
enabled: boolean;
|
|
5204
|
+
url: string;
|
|
5205
|
+
} | undefined;
|
|
5206
|
+
logo?: {
|
|
5207
|
+
svg?: string | undefined;
|
|
5208
|
+
svgPath?: string | undefined;
|
|
5209
|
+
} | undefined;
|
|
5210
|
+
wordmark?: boolean | undefined;
|
|
5211
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5212
|
+
}, {
|
|
5213
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5214
|
+
designType: "custom" | "template";
|
|
5215
|
+
thicknessMm: number;
|
|
5216
|
+
pattern: {
|
|
5217
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5218
|
+
variant: "pulse" | "bell";
|
|
5219
|
+
density: number;
|
|
5220
|
+
holeMinMm: number;
|
|
5221
|
+
holeMaxMm: number;
|
|
5222
|
+
intensity: number;
|
|
5223
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5224
|
+
cellRotationDeg: number;
|
|
5225
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5226
|
+
chipRotationDeg: number;
|
|
5227
|
+
} | null;
|
|
5228
|
+
layout: {
|
|
5229
|
+
chipAnchor: {
|
|
5230
|
+
col: 0 | 1 | 2;
|
|
5231
|
+
row: 0 | 1 | 2;
|
|
5232
|
+
};
|
|
5233
|
+
};
|
|
5234
|
+
filaments: {
|
|
5235
|
+
background: string;
|
|
5236
|
+
text: string;
|
|
5237
|
+
accent: string;
|
|
5238
|
+
};
|
|
5239
|
+
templateId?: string | undefined;
|
|
5240
|
+
content?: {
|
|
5241
|
+
lines: {
|
|
5242
|
+
text: string;
|
|
5243
|
+
sizeMm: number;
|
|
5244
|
+
weight: number;
|
|
5245
|
+
role: "text" | "accent";
|
|
5246
|
+
}[];
|
|
5247
|
+
} | undefined;
|
|
5248
|
+
qr?: {
|
|
5249
|
+
enabled: boolean;
|
|
5250
|
+
url: string;
|
|
5251
|
+
} | undefined;
|
|
5252
|
+
logo?: {
|
|
5253
|
+
svg?: string | undefined;
|
|
5254
|
+
svgPath?: string | undefined;
|
|
5255
|
+
} | undefined;
|
|
5256
|
+
wordmark?: boolean | undefined;
|
|
5257
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5258
|
+
}>>;
|
|
2676
5259
|
}, "strip", z.ZodTypeAny, {
|
|
2677
5260
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
2678
5261
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -2719,6 +5302,53 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2719
5302
|
company?: string | undefined;
|
|
2720
5303
|
displayName?: string | undefined;
|
|
2721
5304
|
} | undefined;
|
|
5305
|
+
cardDesign?: {
|
|
5306
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5307
|
+
designType: "custom" | "template";
|
|
5308
|
+
thicknessMm: number;
|
|
5309
|
+
pattern: {
|
|
5310
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5311
|
+
variant: "pulse" | "bell";
|
|
5312
|
+
density: number;
|
|
5313
|
+
holeMinMm: number;
|
|
5314
|
+
holeMaxMm: number;
|
|
5315
|
+
intensity: number;
|
|
5316
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5317
|
+
cellRotationDeg: number;
|
|
5318
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5319
|
+
chipRotationDeg: number;
|
|
5320
|
+
} | null;
|
|
5321
|
+
layout: {
|
|
5322
|
+
chipAnchor: {
|
|
5323
|
+
col: 0 | 1 | 2;
|
|
5324
|
+
row: 0 | 1 | 2;
|
|
5325
|
+
};
|
|
5326
|
+
};
|
|
5327
|
+
filaments: {
|
|
5328
|
+
background: string;
|
|
5329
|
+
text: string;
|
|
5330
|
+
accent: string;
|
|
5331
|
+
};
|
|
5332
|
+
templateId?: string | undefined;
|
|
5333
|
+
content?: {
|
|
5334
|
+
lines: {
|
|
5335
|
+
text: string;
|
|
5336
|
+
sizeMm: number;
|
|
5337
|
+
weight: number;
|
|
5338
|
+
role: "text" | "accent";
|
|
5339
|
+
}[];
|
|
5340
|
+
} | undefined;
|
|
5341
|
+
qr?: {
|
|
5342
|
+
enabled: boolean;
|
|
5343
|
+
url: string;
|
|
5344
|
+
} | undefined;
|
|
5345
|
+
logo?: {
|
|
5346
|
+
svg?: string | undefined;
|
|
5347
|
+
svgPath?: string | undefined;
|
|
5348
|
+
} | undefined;
|
|
5349
|
+
wordmark?: boolean | undefined;
|
|
5350
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5351
|
+
} | undefined;
|
|
2722
5352
|
}, {
|
|
2723
5353
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
2724
5354
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -2765,6 +5395,53 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2765
5395
|
company?: string | undefined;
|
|
2766
5396
|
displayName?: string | undefined;
|
|
2767
5397
|
} | undefined;
|
|
5398
|
+
cardDesign?: {
|
|
5399
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5400
|
+
designType: "custom" | "template";
|
|
5401
|
+
thicknessMm: number;
|
|
5402
|
+
pattern: {
|
|
5403
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5404
|
+
variant: "pulse" | "bell";
|
|
5405
|
+
density: number;
|
|
5406
|
+
holeMinMm: number;
|
|
5407
|
+
holeMaxMm: number;
|
|
5408
|
+
intensity: number;
|
|
5409
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5410
|
+
cellRotationDeg: number;
|
|
5411
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5412
|
+
chipRotationDeg: number;
|
|
5413
|
+
} | null;
|
|
5414
|
+
layout: {
|
|
5415
|
+
chipAnchor: {
|
|
5416
|
+
col: 0 | 1 | 2;
|
|
5417
|
+
row: 0 | 1 | 2;
|
|
5418
|
+
};
|
|
5419
|
+
};
|
|
5420
|
+
filaments: {
|
|
5421
|
+
background: string;
|
|
5422
|
+
text: string;
|
|
5423
|
+
accent: string;
|
|
5424
|
+
};
|
|
5425
|
+
templateId?: string | undefined;
|
|
5426
|
+
content?: {
|
|
5427
|
+
lines: {
|
|
5428
|
+
text: string;
|
|
5429
|
+
sizeMm: number;
|
|
5430
|
+
weight: number;
|
|
5431
|
+
role: "text" | "accent";
|
|
5432
|
+
}[];
|
|
5433
|
+
} | undefined;
|
|
5434
|
+
qr?: {
|
|
5435
|
+
enabled: boolean;
|
|
5436
|
+
url: string;
|
|
5437
|
+
} | undefined;
|
|
5438
|
+
logo?: {
|
|
5439
|
+
svg?: string | undefined;
|
|
5440
|
+
svgPath?: string | undefined;
|
|
5441
|
+
} | undefined;
|
|
5442
|
+
wordmark?: boolean | undefined;
|
|
5443
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5444
|
+
} | undefined;
|
|
2768
5445
|
}>, {
|
|
2769
5446
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
2770
5447
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -2811,6 +5488,53 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2811
5488
|
company?: string | undefined;
|
|
2812
5489
|
displayName?: string | undefined;
|
|
2813
5490
|
} | undefined;
|
|
5491
|
+
cardDesign?: {
|
|
5492
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5493
|
+
designType: "custom" | "template";
|
|
5494
|
+
thicknessMm: number;
|
|
5495
|
+
pattern: {
|
|
5496
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5497
|
+
variant: "pulse" | "bell";
|
|
5498
|
+
density: number;
|
|
5499
|
+
holeMinMm: number;
|
|
5500
|
+
holeMaxMm: number;
|
|
5501
|
+
intensity: number;
|
|
5502
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5503
|
+
cellRotationDeg: number;
|
|
5504
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5505
|
+
chipRotationDeg: number;
|
|
5506
|
+
} | null;
|
|
5507
|
+
layout: {
|
|
5508
|
+
chipAnchor: {
|
|
5509
|
+
col: 0 | 1 | 2;
|
|
5510
|
+
row: 0 | 1 | 2;
|
|
5511
|
+
};
|
|
5512
|
+
};
|
|
5513
|
+
filaments: {
|
|
5514
|
+
background: string;
|
|
5515
|
+
text: string;
|
|
5516
|
+
accent: string;
|
|
5517
|
+
};
|
|
5518
|
+
templateId?: string | undefined;
|
|
5519
|
+
content?: {
|
|
5520
|
+
lines: {
|
|
5521
|
+
text: string;
|
|
5522
|
+
sizeMm: number;
|
|
5523
|
+
weight: number;
|
|
5524
|
+
role: "text" | "accent";
|
|
5525
|
+
}[];
|
|
5526
|
+
} | undefined;
|
|
5527
|
+
qr?: {
|
|
5528
|
+
enabled: boolean;
|
|
5529
|
+
url: string;
|
|
5530
|
+
} | undefined;
|
|
5531
|
+
logo?: {
|
|
5532
|
+
svg?: string | undefined;
|
|
5533
|
+
svgPath?: string | undefined;
|
|
5534
|
+
} | undefined;
|
|
5535
|
+
wordmark?: boolean | undefined;
|
|
5536
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5537
|
+
} | undefined;
|
|
2814
5538
|
}, {
|
|
2815
5539
|
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
2816
5540
|
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
@@ -2857,6 +5581,239 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2857
5581
|
company?: string | undefined;
|
|
2858
5582
|
displayName?: string | undefined;
|
|
2859
5583
|
} | undefined;
|
|
5584
|
+
cardDesign?: {
|
|
5585
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5586
|
+
designType: "custom" | "template";
|
|
5587
|
+
thicknessMm: number;
|
|
5588
|
+
pattern: {
|
|
5589
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5590
|
+
variant: "pulse" | "bell";
|
|
5591
|
+
density: number;
|
|
5592
|
+
holeMinMm: number;
|
|
5593
|
+
holeMaxMm: number;
|
|
5594
|
+
intensity: number;
|
|
5595
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5596
|
+
cellRotationDeg: number;
|
|
5597
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5598
|
+
chipRotationDeg: number;
|
|
5599
|
+
} | null;
|
|
5600
|
+
layout: {
|
|
5601
|
+
chipAnchor: {
|
|
5602
|
+
col: 0 | 1 | 2;
|
|
5603
|
+
row: 0 | 1 | 2;
|
|
5604
|
+
};
|
|
5605
|
+
};
|
|
5606
|
+
filaments: {
|
|
5607
|
+
background: string;
|
|
5608
|
+
text: string;
|
|
5609
|
+
accent: string;
|
|
5610
|
+
};
|
|
5611
|
+
templateId?: string | undefined;
|
|
5612
|
+
content?: {
|
|
5613
|
+
lines: {
|
|
5614
|
+
text: string;
|
|
5615
|
+
sizeMm: number;
|
|
5616
|
+
weight: number;
|
|
5617
|
+
role: "text" | "accent";
|
|
5618
|
+
}[];
|
|
5619
|
+
} | undefined;
|
|
5620
|
+
qr?: {
|
|
5621
|
+
enabled: boolean;
|
|
5622
|
+
url: string;
|
|
5623
|
+
} | undefined;
|
|
5624
|
+
logo?: {
|
|
5625
|
+
svg?: string | undefined;
|
|
5626
|
+
svgPath?: string | undefined;
|
|
5627
|
+
} | undefined;
|
|
5628
|
+
wordmark?: boolean | undefined;
|
|
5629
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5630
|
+
} | undefined;
|
|
5631
|
+
}>, {
|
|
5632
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
5633
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
5634
|
+
frontElements: {
|
|
5635
|
+
showName: boolean;
|
|
5636
|
+
showPosition: boolean;
|
|
5637
|
+
showEmail: boolean;
|
|
5638
|
+
showPhone: boolean;
|
|
5639
|
+
showCompany: boolean;
|
|
5640
|
+
showLogo: boolean;
|
|
5641
|
+
showQr: boolean;
|
|
5642
|
+
showPhoto: boolean;
|
|
5643
|
+
};
|
|
5644
|
+
backElements: {
|
|
5645
|
+
showName: boolean;
|
|
5646
|
+
showPosition: boolean;
|
|
5647
|
+
showEmail: boolean;
|
|
5648
|
+
showPhone: boolean;
|
|
5649
|
+
showCompany: boolean;
|
|
5650
|
+
showLogo: boolean;
|
|
5651
|
+
showQr: boolean;
|
|
5652
|
+
showPhoto: boolean;
|
|
5653
|
+
};
|
|
5654
|
+
companyLogoUrl?: string | undefined;
|
|
5655
|
+
colour?: string | undefined;
|
|
5656
|
+
qrTargetUrl?: string | undefined;
|
|
5657
|
+
customDesignRequest?: string | undefined;
|
|
5658
|
+
frontContactToggles?: {
|
|
5659
|
+
showEmail?: boolean | undefined;
|
|
5660
|
+
showPhone?: boolean | undefined;
|
|
5661
|
+
showLocation?: boolean | undefined;
|
|
5662
|
+
} | undefined;
|
|
5663
|
+
backContactToggles?: {
|
|
5664
|
+
showEmail?: boolean | undefined;
|
|
5665
|
+
showPhone?: boolean | undefined;
|
|
5666
|
+
showLocation?: boolean | undefined;
|
|
5667
|
+
} | undefined;
|
|
5668
|
+
contentOverrides?: {
|
|
5669
|
+
position?: string | undefined;
|
|
5670
|
+
email?: string | undefined;
|
|
5671
|
+
phone?: string | undefined;
|
|
5672
|
+
phoneCountryCode?: string | undefined;
|
|
5673
|
+
location?: string | undefined;
|
|
5674
|
+
company?: string | undefined;
|
|
5675
|
+
displayName?: string | undefined;
|
|
5676
|
+
} | undefined;
|
|
5677
|
+
cardDesign?: {
|
|
5678
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5679
|
+
designType: "custom" | "template";
|
|
5680
|
+
thicknessMm: number;
|
|
5681
|
+
pattern: {
|
|
5682
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5683
|
+
variant: "pulse" | "bell";
|
|
5684
|
+
density: number;
|
|
5685
|
+
holeMinMm: number;
|
|
5686
|
+
holeMaxMm: number;
|
|
5687
|
+
intensity: number;
|
|
5688
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5689
|
+
cellRotationDeg: number;
|
|
5690
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5691
|
+
chipRotationDeg: number;
|
|
5692
|
+
} | null;
|
|
5693
|
+
layout: {
|
|
5694
|
+
chipAnchor: {
|
|
5695
|
+
col: 0 | 1 | 2;
|
|
5696
|
+
row: 0 | 1 | 2;
|
|
5697
|
+
};
|
|
5698
|
+
};
|
|
5699
|
+
filaments: {
|
|
5700
|
+
background: string;
|
|
5701
|
+
text: string;
|
|
5702
|
+
accent: string;
|
|
5703
|
+
};
|
|
5704
|
+
templateId?: string | undefined;
|
|
5705
|
+
content?: {
|
|
5706
|
+
lines: {
|
|
5707
|
+
text: string;
|
|
5708
|
+
sizeMm: number;
|
|
5709
|
+
weight: number;
|
|
5710
|
+
role: "text" | "accent";
|
|
5711
|
+
}[];
|
|
5712
|
+
} | undefined;
|
|
5713
|
+
qr?: {
|
|
5714
|
+
enabled: boolean;
|
|
5715
|
+
url: string;
|
|
5716
|
+
} | undefined;
|
|
5717
|
+
logo?: {
|
|
5718
|
+
svg?: string | undefined;
|
|
5719
|
+
svgPath?: string | undefined;
|
|
5720
|
+
} | undefined;
|
|
5721
|
+
wordmark?: boolean | undefined;
|
|
5722
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5723
|
+
} | undefined;
|
|
5724
|
+
}, {
|
|
5725
|
+
material: "plastic" | "3dprint_standard" | "metal" | "bamboo";
|
|
5726
|
+
comboId: "A1" | "A2" | "B1" | "B2" | "C1" | "C2" | "D1" | "D2" | "E1" | "E2";
|
|
5727
|
+
frontElements: {
|
|
5728
|
+
showName: boolean;
|
|
5729
|
+
showPosition: boolean;
|
|
5730
|
+
showEmail: boolean;
|
|
5731
|
+
showPhone: boolean;
|
|
5732
|
+
showCompany: boolean;
|
|
5733
|
+
showLogo: boolean;
|
|
5734
|
+
showQr: boolean;
|
|
5735
|
+
showPhoto: boolean;
|
|
5736
|
+
};
|
|
5737
|
+
backElements: {
|
|
5738
|
+
showName: boolean;
|
|
5739
|
+
showPosition: boolean;
|
|
5740
|
+
showEmail: boolean;
|
|
5741
|
+
showPhone: boolean;
|
|
5742
|
+
showCompany: boolean;
|
|
5743
|
+
showLogo: boolean;
|
|
5744
|
+
showQr: boolean;
|
|
5745
|
+
showPhoto: boolean;
|
|
5746
|
+
};
|
|
5747
|
+
companyLogoUrl?: string | undefined;
|
|
5748
|
+
colour?: string | undefined;
|
|
5749
|
+
qrTargetUrl?: string | undefined;
|
|
5750
|
+
customDesignRequest?: string | undefined;
|
|
5751
|
+
frontContactToggles?: {
|
|
5752
|
+
showEmail?: boolean | undefined;
|
|
5753
|
+
showPhone?: boolean | undefined;
|
|
5754
|
+
showLocation?: boolean | undefined;
|
|
5755
|
+
} | undefined;
|
|
5756
|
+
backContactToggles?: {
|
|
5757
|
+
showEmail?: boolean | undefined;
|
|
5758
|
+
showPhone?: boolean | undefined;
|
|
5759
|
+
showLocation?: boolean | undefined;
|
|
5760
|
+
} | undefined;
|
|
5761
|
+
contentOverrides?: {
|
|
5762
|
+
position?: string | undefined;
|
|
5763
|
+
email?: string | undefined;
|
|
5764
|
+
phone?: string | undefined;
|
|
5765
|
+
phoneCountryCode?: string | undefined;
|
|
5766
|
+
location?: string | undefined;
|
|
5767
|
+
company?: string | undefined;
|
|
5768
|
+
displayName?: string | undefined;
|
|
5769
|
+
} | undefined;
|
|
5770
|
+
cardDesign?: {
|
|
5771
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5772
|
+
designType: "custom" | "template";
|
|
5773
|
+
thicknessMm: number;
|
|
5774
|
+
pattern: {
|
|
5775
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5776
|
+
variant: "pulse" | "bell";
|
|
5777
|
+
density: number;
|
|
5778
|
+
holeMinMm: number;
|
|
5779
|
+
holeMaxMm: number;
|
|
5780
|
+
intensity: number;
|
|
5781
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5782
|
+
cellRotationDeg: number;
|
|
5783
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5784
|
+
chipRotationDeg: number;
|
|
5785
|
+
} | null;
|
|
5786
|
+
layout: {
|
|
5787
|
+
chipAnchor: {
|
|
5788
|
+
col: 0 | 1 | 2;
|
|
5789
|
+
row: 0 | 1 | 2;
|
|
5790
|
+
};
|
|
5791
|
+
};
|
|
5792
|
+
filaments: {
|
|
5793
|
+
background: string;
|
|
5794
|
+
text: string;
|
|
5795
|
+
accent: string;
|
|
5796
|
+
};
|
|
5797
|
+
templateId?: string | undefined;
|
|
5798
|
+
content?: {
|
|
5799
|
+
lines: {
|
|
5800
|
+
text: string;
|
|
5801
|
+
sizeMm: number;
|
|
5802
|
+
weight: number;
|
|
5803
|
+
role: "text" | "accent";
|
|
5804
|
+
}[];
|
|
5805
|
+
} | undefined;
|
|
5806
|
+
qr?: {
|
|
5807
|
+
enabled: boolean;
|
|
5808
|
+
url: string;
|
|
5809
|
+
} | undefined;
|
|
5810
|
+
logo?: {
|
|
5811
|
+
svg?: string | undefined;
|
|
5812
|
+
svgPath?: string | undefined;
|
|
5813
|
+
} | undefined;
|
|
5814
|
+
wordmark?: boolean | undefined;
|
|
5815
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5816
|
+
} | undefined;
|
|
2860
5817
|
}>>;
|
|
2861
5818
|
}, "strip", z.ZodTypeAny, {
|
|
2862
5819
|
userData: {
|
|
@@ -2961,6 +5918,53 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
2961
5918
|
company?: string | undefined;
|
|
2962
5919
|
displayName?: string | undefined;
|
|
2963
5920
|
} | undefined;
|
|
5921
|
+
cardDesign?: {
|
|
5922
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
5923
|
+
designType: "custom" | "template";
|
|
5924
|
+
thicknessMm: number;
|
|
5925
|
+
pattern: {
|
|
5926
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
5927
|
+
variant: "pulse" | "bell";
|
|
5928
|
+
density: number;
|
|
5929
|
+
holeMinMm: number;
|
|
5930
|
+
holeMaxMm: number;
|
|
5931
|
+
intensity: number;
|
|
5932
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
5933
|
+
cellRotationDeg: number;
|
|
5934
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
5935
|
+
chipRotationDeg: number;
|
|
5936
|
+
} | null;
|
|
5937
|
+
layout: {
|
|
5938
|
+
chipAnchor: {
|
|
5939
|
+
col: 0 | 1 | 2;
|
|
5940
|
+
row: 0 | 1 | 2;
|
|
5941
|
+
};
|
|
5942
|
+
};
|
|
5943
|
+
filaments: {
|
|
5944
|
+
background: string;
|
|
5945
|
+
text: string;
|
|
5946
|
+
accent: string;
|
|
5947
|
+
};
|
|
5948
|
+
templateId?: string | undefined;
|
|
5949
|
+
content?: {
|
|
5950
|
+
lines: {
|
|
5951
|
+
text: string;
|
|
5952
|
+
sizeMm: number;
|
|
5953
|
+
weight: number;
|
|
5954
|
+
role: "text" | "accent";
|
|
5955
|
+
}[];
|
|
5956
|
+
} | undefined;
|
|
5957
|
+
qr?: {
|
|
5958
|
+
enabled: boolean;
|
|
5959
|
+
url: string;
|
|
5960
|
+
} | undefined;
|
|
5961
|
+
logo?: {
|
|
5962
|
+
svg?: string | undefined;
|
|
5963
|
+
svgPath?: string | undefined;
|
|
5964
|
+
} | undefined;
|
|
5965
|
+
wordmark?: boolean | undefined;
|
|
5966
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
5967
|
+
} | undefined;
|
|
2964
5968
|
} | undefined;
|
|
2965
5969
|
}, {
|
|
2966
5970
|
userData: {
|
|
@@ -3065,6 +6069,53 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
3065
6069
|
company?: string | undefined;
|
|
3066
6070
|
displayName?: string | undefined;
|
|
3067
6071
|
} | undefined;
|
|
6072
|
+
cardDesign?: {
|
|
6073
|
+
material: "3dprint_standard" | "metal" | "bamboo";
|
|
6074
|
+
designType: "custom" | "template";
|
|
6075
|
+
thicknessMm: number;
|
|
6076
|
+
pattern: {
|
|
6077
|
+
family: "radial" | "gradient" | "wave" | "spiral";
|
|
6078
|
+
variant: "pulse" | "bell";
|
|
6079
|
+
density: number;
|
|
6080
|
+
holeMinMm: number;
|
|
6081
|
+
holeMaxMm: number;
|
|
6082
|
+
intensity: number;
|
|
6083
|
+
cellShape: 0 | 4 | 3 | 6;
|
|
6084
|
+
cellRotationDeg: number;
|
|
6085
|
+
chipShape: 0 | 4 | 3 | 6;
|
|
6086
|
+
chipRotationDeg: number;
|
|
6087
|
+
} | null;
|
|
6088
|
+
layout: {
|
|
6089
|
+
chipAnchor: {
|
|
6090
|
+
col: 0 | 1 | 2;
|
|
6091
|
+
row: 0 | 1 | 2;
|
|
6092
|
+
};
|
|
6093
|
+
};
|
|
6094
|
+
filaments: {
|
|
6095
|
+
background: string;
|
|
6096
|
+
text: string;
|
|
6097
|
+
accent: string;
|
|
6098
|
+
};
|
|
6099
|
+
templateId?: string | undefined;
|
|
6100
|
+
content?: {
|
|
6101
|
+
lines: {
|
|
6102
|
+
text: string;
|
|
6103
|
+
sizeMm: number;
|
|
6104
|
+
weight: number;
|
|
6105
|
+
role: "text" | "accent";
|
|
6106
|
+
}[];
|
|
6107
|
+
} | undefined;
|
|
6108
|
+
qr?: {
|
|
6109
|
+
enabled: boolean;
|
|
6110
|
+
url: string;
|
|
6111
|
+
} | undefined;
|
|
6112
|
+
logo?: {
|
|
6113
|
+
svg?: string | undefined;
|
|
6114
|
+
svgPath?: string | undefined;
|
|
6115
|
+
} | undefined;
|
|
6116
|
+
wordmark?: boolean | undefined;
|
|
6117
|
+
contentFace?: "top" | "bottom" | undefined;
|
|
6118
|
+
} | undefined;
|
|
3068
6119
|
} | undefined;
|
|
3069
6120
|
}>;
|
|
3070
6121
|
declare const profileVisibilitySchema: z.ZodEnum<["public", "private", "link_only"]>;
|
|
@@ -3159,7 +6210,7 @@ declare const profileUserDataSchema: z.ZodObject<{
|
|
|
3159
6210
|
}>;
|
|
3160
6211
|
declare const profileCreateSchema: z.ZodObject<{
|
|
3161
6212
|
cardId: z.ZodOptional<z.ZodString>;
|
|
3162
|
-
label: z.ZodString
|
|
6213
|
+
label: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3163
6214
|
icon: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3164
6215
|
userData: z.ZodObject<{
|
|
3165
6216
|
firstName: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
@@ -3438,8 +6489,8 @@ declare const profileCreateSchema: z.ZodObject<{
|
|
|
3438
6489
|
customUrlLabel?: string | undefined;
|
|
3439
6490
|
} | undefined;
|
|
3440
6491
|
};
|
|
3441
|
-
label: string;
|
|
3442
6492
|
cardId?: string | undefined;
|
|
6493
|
+
label?: string | undefined;
|
|
3443
6494
|
icon?: string | undefined;
|
|
3444
6495
|
accessPin?: string | undefined;
|
|
3445
6496
|
}, {
|
|
@@ -3498,9 +6549,9 @@ declare const profileCreateSchema: z.ZodObject<{
|
|
|
3498
6549
|
customUrlLabel?: string | undefined;
|
|
3499
6550
|
} | undefined;
|
|
3500
6551
|
};
|
|
3501
|
-
label: string;
|
|
3502
6552
|
visibility?: "public" | "private" | "link_only" | undefined;
|
|
3503
6553
|
cardId?: string | undefined;
|
|
6554
|
+
label?: string | undefined;
|
|
3504
6555
|
icon?: string | undefined;
|
|
3505
6556
|
accessPin?: string | undefined;
|
|
3506
6557
|
}>;
|
|
@@ -4358,4 +7409,4 @@ declare function validatePhysicalConfig(data: unknown): ValidationResult<z.infer
|
|
|
4358
7409
|
declare function validateDigitalConfig(data: unknown): ValidationResult<z.infer<typeof digitalConfigSchema>>;
|
|
4359
7410
|
declare function validateConfiguration(data: unknown): ValidationResult<z.infer<typeof configurationCreateSchema>>;
|
|
4360
7411
|
|
|
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 };
|
|
7412
|
+
export { type ValidationResult, adminCardCreateSchema, cardDesignMaterialSchema, cardDesignPatternSchema, cardDesignSchema, cardElementsSchema, cardProfileUpdateSchema, cardUpdateSchema, comboIdSchema, configurationCreateSchema, configurationUpdateSchema, contactDetailTogglesSchema, contactExchangeSchema, createOrderSchema, digitalConfigSchema, digitalVisibilitySchema, hubConfigSchema, hubProfilesUpdateSchema, materialSchema, patternFamilySchema, physicalConfigSchema, physicalContentOverridesSchema, profileAccessTokenCreateSchema, profileCreateSchema, profilePinVerifySchema, profileUpdateSchema, profileUserDataSchema, profileVisibilitySchema, sanitizeHttpUrl, sanitizeText, signupWithProfileSchema, socialLinksSchema, userDataSchema, validateConfiguration, validateDigitalConfig, validatePhysicalConfig, validateUserData, webAddressSchema };
|