@nfcard/validation 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -402,6 +402,10 @@ declare const elementTransformSchema: z.ZodObject<{
402
402
  scale: number;
403
403
  z: number;
404
404
  }>;
405
+ /** NFCARD-561 -- 'redirect' = the owner's profile (target resolved at card
406
+ * creation); 'raw' = print `url` verbatim. Absent = pre-561 design, so
407
+ * consumers fall back to the legacy sentinel match. */
408
+ declare const qrModeSchema: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
405
409
  declare const cardElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
406
410
  type: z.ZodLiteral<"chip">;
407
411
  shape: z.ZodEffects<z.ZodNumber, number, number>;
@@ -530,7 +534,8 @@ declare const cardElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
530
534
  underline?: boolean | undefined;
531
535
  }>, z.ZodObject<{
532
536
  type: z.ZodLiteral<"qr">;
533
- url: z.ZodString;
537
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
538
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
534
539
  sizeMm: z.ZodNumber;
535
540
  frameRole: z.ZodEnum<["text", "accent"]>;
536
541
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -568,12 +573,13 @@ declare const cardElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
568
573
  z: number;
569
574
  };
570
575
  sizeMm: number;
571
- url: string;
572
576
  frameRole: "text" | "accent";
573
577
  moduleRole: "text" | "accent";
574
578
  face?: "front" | "back" | undefined;
575
579
  locked?: boolean | undefined;
576
580
  colour?: string | undefined;
581
+ url?: string | undefined;
582
+ mode?: "redirect" | "raw" | undefined;
577
583
  }, {
578
584
  type: "qr";
579
585
  id: string;
@@ -585,12 +591,13 @@ declare const cardElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
585
591
  z: number;
586
592
  };
587
593
  sizeMm: number;
588
- url: string;
589
594
  frameRole: "text" | "accent";
590
595
  moduleRole: "text" | "accent";
591
596
  face?: "front" | "back" | undefined;
592
597
  locked?: boolean | undefined;
593
598
  colour?: string | undefined;
599
+ url?: string | undefined;
600
+ mode?: "redirect" | "raw" | undefined;
594
601
  }>, z.ZodObject<{
595
602
  type: z.ZodLiteral<"image">;
596
603
  assetRef: z.ZodString;
@@ -882,13 +889,16 @@ declare const cardDesignSchema: z.ZodEffects<z.ZodObject<{
882
889
  }>>;
883
890
  qr: z.ZodOptional<z.ZodObject<{
884
891
  enabled: z.ZodBoolean;
885
- url: z.ZodString;
892
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
893
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
886
894
  }, "strip", z.ZodTypeAny, {
887
- url: string;
888
895
  enabled: boolean;
896
+ url?: string | undefined;
897
+ mode?: "redirect" | "raw" | undefined;
889
898
  }, {
890
- url: string;
891
899
  enabled: boolean;
900
+ url?: string | undefined;
901
+ mode?: "redirect" | "raw" | undefined;
892
902
  }>>;
893
903
  logo: z.ZodOptional<z.ZodObject<{
894
904
  svg: z.ZodOptional<z.ZodString>;
@@ -1030,7 +1040,8 @@ declare const cardDesignSchema: z.ZodEffects<z.ZodObject<{
1030
1040
  underline?: boolean | undefined;
1031
1041
  }>, z.ZodObject<{
1032
1042
  type: z.ZodLiteral<"qr">;
1033
- url: z.ZodString;
1043
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1044
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
1034
1045
  sizeMm: z.ZodNumber;
1035
1046
  frameRole: z.ZodEnum<["text", "accent"]>;
1036
1047
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -1068,12 +1079,13 @@ declare const cardDesignSchema: z.ZodEffects<z.ZodObject<{
1068
1079
  z: number;
1069
1080
  };
1070
1081
  sizeMm: number;
1071
- url: string;
1072
1082
  frameRole: "text" | "accent";
1073
1083
  moduleRole: "text" | "accent";
1074
1084
  face?: "front" | "back" | undefined;
1075
1085
  locked?: boolean | undefined;
1076
1086
  colour?: string | undefined;
1087
+ url?: string | undefined;
1088
+ mode?: "redirect" | "raw" | undefined;
1077
1089
  }, {
1078
1090
  type: "qr";
1079
1091
  id: string;
@@ -1085,12 +1097,13 @@ declare const cardDesignSchema: z.ZodEffects<z.ZodObject<{
1085
1097
  z: number;
1086
1098
  };
1087
1099
  sizeMm: number;
1088
- url: string;
1089
1100
  frameRole: "text" | "accent";
1090
1101
  moduleRole: "text" | "accent";
1091
1102
  face?: "front" | "back" | undefined;
1092
1103
  locked?: boolean | undefined;
1093
1104
  colour?: string | undefined;
1105
+ url?: string | undefined;
1106
+ mode?: "redirect" | "raw" | undefined;
1094
1107
  }>, z.ZodObject<{
1095
1108
  type: z.ZodLiteral<"image">;
1096
1109
  assetRef: z.ZodString;
@@ -1281,8 +1294,9 @@ declare const cardDesignSchema: z.ZodEffects<z.ZodObject<{
1281
1294
  background: string;
1282
1295
  };
1283
1296
  qr?: {
1284
- url: string;
1285
1297
  enabled: boolean;
1298
+ url?: string | undefined;
1299
+ mode?: "redirect" | "raw" | undefined;
1286
1300
  } | undefined;
1287
1301
  logo?: {
1288
1302
  svg?: string | undefined;
@@ -1344,12 +1358,13 @@ declare const cardDesignSchema: z.ZodEffects<z.ZodObject<{
1344
1358
  z: number;
1345
1359
  };
1346
1360
  sizeMm: number;
1347
- url: string;
1348
1361
  frameRole: "text" | "accent";
1349
1362
  moduleRole: "text" | "accent";
1350
1363
  face?: "front" | "back" | undefined;
1351
1364
  locked?: boolean | undefined;
1352
1365
  colour?: string | undefined;
1366
+ url?: string | undefined;
1367
+ mode?: "redirect" | "raw" | undefined;
1353
1368
  } | {
1354
1369
  type: "image";
1355
1370
  id: string;
@@ -1426,8 +1441,9 @@ declare const cardDesignSchema: z.ZodEffects<z.ZodObject<{
1426
1441
  background: string;
1427
1442
  };
1428
1443
  qr?: {
1429
- url: string;
1430
1444
  enabled: boolean;
1445
+ url?: string | undefined;
1446
+ mode?: "redirect" | "raw" | undefined;
1431
1447
  } | undefined;
1432
1448
  logo?: {
1433
1449
  svg?: string | undefined;
@@ -1489,12 +1505,13 @@ declare const cardDesignSchema: z.ZodEffects<z.ZodObject<{
1489
1505
  z: number;
1490
1506
  };
1491
1507
  sizeMm: number;
1492
- url: string;
1493
1508
  frameRole: "text" | "accent";
1494
1509
  moduleRole: "text" | "accent";
1495
1510
  face?: "front" | "back" | undefined;
1496
1511
  locked?: boolean | undefined;
1497
1512
  colour?: string | undefined;
1513
+ url?: string | undefined;
1514
+ mode?: "redirect" | "raw" | undefined;
1498
1515
  } | {
1499
1516
  type: "image";
1500
1517
  id: string;
@@ -1571,8 +1588,9 @@ declare const cardDesignSchema: z.ZodEffects<z.ZodObject<{
1571
1588
  background: string;
1572
1589
  };
1573
1590
  qr?: {
1574
- url: string;
1575
1591
  enabled: boolean;
1592
+ url?: string | undefined;
1593
+ mode?: "redirect" | "raw" | undefined;
1576
1594
  } | undefined;
1577
1595
  logo?: {
1578
1596
  svg?: string | undefined;
@@ -1634,12 +1652,13 @@ declare const cardDesignSchema: z.ZodEffects<z.ZodObject<{
1634
1652
  z: number;
1635
1653
  };
1636
1654
  sizeMm: number;
1637
- url: string;
1638
1655
  frameRole: "text" | "accent";
1639
1656
  moduleRole: "text" | "accent";
1640
1657
  face?: "front" | "back" | undefined;
1641
1658
  locked?: boolean | undefined;
1642
1659
  colour?: string | undefined;
1660
+ url?: string | undefined;
1661
+ mode?: "redirect" | "raw" | undefined;
1643
1662
  } | {
1644
1663
  type: "image";
1645
1664
  id: string;
@@ -1716,8 +1735,9 @@ declare const cardDesignSchema: z.ZodEffects<z.ZodObject<{
1716
1735
  background: string;
1717
1736
  };
1718
1737
  qr?: {
1719
- url: string;
1720
1738
  enabled: boolean;
1739
+ url?: string | undefined;
1740
+ mode?: "redirect" | "raw" | undefined;
1721
1741
  } | undefined;
1722
1742
  logo?: {
1723
1743
  svg?: string | undefined;
@@ -1779,12 +1799,13 @@ declare const cardDesignSchema: z.ZodEffects<z.ZodObject<{
1779
1799
  z: number;
1780
1800
  };
1781
1801
  sizeMm: number;
1782
- url: string;
1783
1802
  frameRole: "text" | "accent";
1784
1803
  moduleRole: "text" | "accent";
1785
1804
  face?: "front" | "back" | undefined;
1786
1805
  locked?: boolean | undefined;
1787
1806
  colour?: string | undefined;
1807
+ url?: string | undefined;
1808
+ mode?: "redirect" | "raw" | undefined;
1788
1809
  } | {
1789
1810
  type: "image";
1790
1811
  id: string;
@@ -2076,7 +2097,8 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2076
2097
  underline?: boolean | undefined;
2077
2098
  }>, z.ZodObject<{
2078
2099
  type: z.ZodLiteral<"qr">;
2079
- url: z.ZodString;
2100
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2101
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
2080
2102
  sizeMm: z.ZodNumber;
2081
2103
  frameRole: z.ZodEnum<["text", "accent"]>;
2082
2104
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -2114,12 +2136,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2114
2136
  z: number;
2115
2137
  };
2116
2138
  sizeMm: number;
2117
- url: string;
2118
2139
  frameRole: "text" | "accent";
2119
2140
  moduleRole: "text" | "accent";
2120
2141
  face?: "front" | "back" | undefined;
2121
2142
  locked?: boolean | undefined;
2122
2143
  colour?: string | undefined;
2144
+ url?: string | undefined;
2145
+ mode?: "redirect" | "raw" | undefined;
2123
2146
  }, {
2124
2147
  type: "qr";
2125
2148
  id: string;
@@ -2131,12 +2154,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2131
2154
  z: number;
2132
2155
  };
2133
2156
  sizeMm: number;
2134
- url: string;
2135
2157
  frameRole: "text" | "accent";
2136
2158
  moduleRole: "text" | "accent";
2137
2159
  face?: "front" | "back" | undefined;
2138
2160
  locked?: boolean | undefined;
2139
2161
  colour?: string | undefined;
2162
+ url?: string | undefined;
2163
+ mode?: "redirect" | "raw" | undefined;
2140
2164
  }>, z.ZodObject<{
2141
2165
  type: z.ZodLiteral<"image">;
2142
2166
  assetRef: z.ZodString;
@@ -2428,13 +2452,16 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2428
2452
  }>>;
2429
2453
  qr: z.ZodOptional<z.ZodObject<{
2430
2454
  enabled: z.ZodBoolean;
2431
- url: z.ZodString;
2455
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2456
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
2432
2457
  }, "strip", z.ZodTypeAny, {
2433
- url: string;
2434
2458
  enabled: boolean;
2459
+ url?: string | undefined;
2460
+ mode?: "redirect" | "raw" | undefined;
2435
2461
  }, {
2436
- url: string;
2437
2462
  enabled: boolean;
2463
+ url?: string | undefined;
2464
+ mode?: "redirect" | "raw" | undefined;
2438
2465
  }>>;
2439
2466
  logo: z.ZodOptional<z.ZodObject<{
2440
2467
  svg: z.ZodOptional<z.ZodString>;
@@ -2576,7 +2603,8 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2576
2603
  underline?: boolean | undefined;
2577
2604
  }>, z.ZodObject<{
2578
2605
  type: z.ZodLiteral<"qr">;
2579
- url: z.ZodString;
2606
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2607
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
2580
2608
  sizeMm: z.ZodNumber;
2581
2609
  frameRole: z.ZodEnum<["text", "accent"]>;
2582
2610
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -2614,12 +2642,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2614
2642
  z: number;
2615
2643
  };
2616
2644
  sizeMm: number;
2617
- url: string;
2618
2645
  frameRole: "text" | "accent";
2619
2646
  moduleRole: "text" | "accent";
2620
2647
  face?: "front" | "back" | undefined;
2621
2648
  locked?: boolean | undefined;
2622
2649
  colour?: string | undefined;
2650
+ url?: string | undefined;
2651
+ mode?: "redirect" | "raw" | undefined;
2623
2652
  }, {
2624
2653
  type: "qr";
2625
2654
  id: string;
@@ -2631,12 +2660,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2631
2660
  z: number;
2632
2661
  };
2633
2662
  sizeMm: number;
2634
- url: string;
2635
2663
  frameRole: "text" | "accent";
2636
2664
  moduleRole: "text" | "accent";
2637
2665
  face?: "front" | "back" | undefined;
2638
2666
  locked?: boolean | undefined;
2639
2667
  colour?: string | undefined;
2668
+ url?: string | undefined;
2669
+ mode?: "redirect" | "raw" | undefined;
2640
2670
  }>, z.ZodObject<{
2641
2671
  type: z.ZodLiteral<"image">;
2642
2672
  assetRef: z.ZodString;
@@ -2827,8 +2857,9 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2827
2857
  background: string;
2828
2858
  };
2829
2859
  qr?: {
2830
- url: string;
2831
2860
  enabled: boolean;
2861
+ url?: string | undefined;
2862
+ mode?: "redirect" | "raw" | undefined;
2832
2863
  } | undefined;
2833
2864
  logo?: {
2834
2865
  svg?: string | undefined;
@@ -2890,12 +2921,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2890
2921
  z: number;
2891
2922
  };
2892
2923
  sizeMm: number;
2893
- url: string;
2894
2924
  frameRole: "text" | "accent";
2895
2925
  moduleRole: "text" | "accent";
2896
2926
  face?: "front" | "back" | undefined;
2897
2927
  locked?: boolean | undefined;
2898
2928
  colour?: string | undefined;
2929
+ url?: string | undefined;
2930
+ mode?: "redirect" | "raw" | undefined;
2899
2931
  } | {
2900
2932
  type: "image";
2901
2933
  id: string;
@@ -2972,8 +3004,9 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2972
3004
  background: string;
2973
3005
  };
2974
3006
  qr?: {
2975
- url: string;
2976
3007
  enabled: boolean;
3008
+ url?: string | undefined;
3009
+ mode?: "redirect" | "raw" | undefined;
2977
3010
  } | undefined;
2978
3011
  logo?: {
2979
3012
  svg?: string | undefined;
@@ -3035,12 +3068,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3035
3068
  z: number;
3036
3069
  };
3037
3070
  sizeMm: number;
3038
- url: string;
3039
3071
  frameRole: "text" | "accent";
3040
3072
  moduleRole: "text" | "accent";
3041
3073
  face?: "front" | "back" | undefined;
3042
3074
  locked?: boolean | undefined;
3043
3075
  colour?: string | undefined;
3076
+ url?: string | undefined;
3077
+ mode?: "redirect" | "raw" | undefined;
3044
3078
  } | {
3045
3079
  type: "image";
3046
3080
  id: string;
@@ -3117,8 +3151,9 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3117
3151
  background: string;
3118
3152
  };
3119
3153
  qr?: {
3120
- url: string;
3121
3154
  enabled: boolean;
3155
+ url?: string | undefined;
3156
+ mode?: "redirect" | "raw" | undefined;
3122
3157
  } | undefined;
3123
3158
  logo?: {
3124
3159
  svg?: string | undefined;
@@ -3180,12 +3215,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3180
3215
  z: number;
3181
3216
  };
3182
3217
  sizeMm: number;
3183
- url: string;
3184
3218
  frameRole: "text" | "accent";
3185
3219
  moduleRole: "text" | "accent";
3186
3220
  face?: "front" | "back" | undefined;
3187
3221
  locked?: boolean | undefined;
3188
3222
  colour?: string | undefined;
3223
+ url?: string | undefined;
3224
+ mode?: "redirect" | "raw" | undefined;
3189
3225
  } | {
3190
3226
  type: "image";
3191
3227
  id: string;
@@ -3262,8 +3298,9 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3262
3298
  background: string;
3263
3299
  };
3264
3300
  qr?: {
3265
- url: string;
3266
3301
  enabled: boolean;
3302
+ url?: string | undefined;
3303
+ mode?: "redirect" | "raw" | undefined;
3267
3304
  } | undefined;
3268
3305
  logo?: {
3269
3306
  svg?: string | undefined;
@@ -3325,12 +3362,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3325
3362
  z: number;
3326
3363
  };
3327
3364
  sizeMm: number;
3328
- url: string;
3329
3365
  frameRole: "text" | "accent";
3330
3366
  moduleRole: "text" | "accent";
3331
3367
  face?: "front" | "back" | undefined;
3332
3368
  locked?: boolean | undefined;
3333
3369
  colour?: string | undefined;
3370
+ url?: string | undefined;
3371
+ mode?: "redirect" | "raw" | undefined;
3334
3372
  } | {
3335
3373
  type: "image";
3336
3374
  id: string;
@@ -3450,12 +3488,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3450
3488
  z: number;
3451
3489
  };
3452
3490
  sizeMm: number;
3453
- url: string;
3454
3491
  frameRole: "text" | "accent";
3455
3492
  moduleRole: "text" | "accent";
3456
3493
  face?: "front" | "back" | undefined;
3457
3494
  locked?: boolean | undefined;
3458
3495
  colour?: string | undefined;
3496
+ url?: string | undefined;
3497
+ mode?: "redirect" | "raw" | undefined;
3459
3498
  } | {
3460
3499
  type: "image";
3461
3500
  id: string;
@@ -3552,8 +3591,9 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3552
3591
  background: string;
3553
3592
  };
3554
3593
  qr?: {
3555
- url: string;
3556
3594
  enabled: boolean;
3595
+ url?: string | undefined;
3596
+ mode?: "redirect" | "raw" | undefined;
3557
3597
  } | undefined;
3558
3598
  logo?: {
3559
3599
  svg?: string | undefined;
@@ -3615,12 +3655,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3615
3655
  z: number;
3616
3656
  };
3617
3657
  sizeMm: number;
3618
- url: string;
3619
3658
  frameRole: "text" | "accent";
3620
3659
  moduleRole: "text" | "accent";
3621
3660
  face?: "front" | "back" | undefined;
3622
3661
  locked?: boolean | undefined;
3623
3662
  colour?: string | undefined;
3663
+ url?: string | undefined;
3664
+ mode?: "redirect" | "raw" | undefined;
3624
3665
  } | {
3625
3666
  type: "image";
3626
3667
  id: string;
@@ -3740,12 +3781,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3740
3781
  z: number;
3741
3782
  };
3742
3783
  sizeMm: number;
3743
- url: string;
3744
3784
  frameRole: "text" | "accent";
3745
3785
  moduleRole: "text" | "accent";
3746
3786
  face?: "front" | "back" | undefined;
3747
3787
  locked?: boolean | undefined;
3748
3788
  colour?: string | undefined;
3789
+ url?: string | undefined;
3790
+ mode?: "redirect" | "raw" | undefined;
3749
3791
  } | {
3750
3792
  type: "image";
3751
3793
  id: string;
@@ -3842,8 +3884,9 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3842
3884
  background: string;
3843
3885
  };
3844
3886
  qr?: {
3845
- url: string;
3846
3887
  enabled: boolean;
3888
+ url?: string | undefined;
3889
+ mode?: "redirect" | "raw" | undefined;
3847
3890
  } | undefined;
3848
3891
  logo?: {
3849
3892
  svg?: string | undefined;
@@ -3905,12 +3948,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3905
3948
  z: number;
3906
3949
  };
3907
3950
  sizeMm: number;
3908
- url: string;
3909
3951
  frameRole: "text" | "accent";
3910
3952
  moduleRole: "text" | "accent";
3911
3953
  face?: "front" | "back" | undefined;
3912
3954
  locked?: boolean | undefined;
3913
3955
  colour?: string | undefined;
3956
+ url?: string | undefined;
3957
+ mode?: "redirect" | "raw" | undefined;
3914
3958
  } | {
3915
3959
  type: "image";
3916
3960
  id: string;
@@ -4030,12 +4074,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
4030
4074
  z: number;
4031
4075
  };
4032
4076
  sizeMm: number;
4033
- url: string;
4034
4077
  frameRole: "text" | "accent";
4035
4078
  moduleRole: "text" | "accent";
4036
4079
  face?: "front" | "back" | undefined;
4037
4080
  locked?: boolean | undefined;
4038
4081
  colour?: string | undefined;
4082
+ url?: string | undefined;
4083
+ mode?: "redirect" | "raw" | undefined;
4039
4084
  } | {
4040
4085
  type: "image";
4041
4086
  id: string;
@@ -4132,8 +4177,9 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
4132
4177
  background: string;
4133
4178
  };
4134
4179
  qr?: {
4135
- url: string;
4136
4180
  enabled: boolean;
4181
+ url?: string | undefined;
4182
+ mode?: "redirect" | "raw" | undefined;
4137
4183
  } | undefined;
4138
4184
  logo?: {
4139
4185
  svg?: string | undefined;
@@ -4195,12 +4241,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
4195
4241
  z: number;
4196
4242
  };
4197
4243
  sizeMm: number;
4198
- url: string;
4199
4244
  frameRole: "text" | "accent";
4200
4245
  moduleRole: "text" | "accent";
4201
4246
  face?: "front" | "back" | undefined;
4202
4247
  locked?: boolean | undefined;
4203
4248
  colour?: string | undefined;
4249
+ url?: string | undefined;
4250
+ mode?: "redirect" | "raw" | undefined;
4204
4251
  } | {
4205
4252
  type: "image";
4206
4253
  id: string;
@@ -4320,12 +4367,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
4320
4367
  z: number;
4321
4368
  };
4322
4369
  sizeMm: number;
4323
- url: string;
4324
4370
  frameRole: "text" | "accent";
4325
4371
  moduleRole: "text" | "accent";
4326
4372
  face?: "front" | "back" | undefined;
4327
4373
  locked?: boolean | undefined;
4328
4374
  colour?: string | undefined;
4375
+ url?: string | undefined;
4376
+ mode?: "redirect" | "raw" | undefined;
4329
4377
  } | {
4330
4378
  type: "image";
4331
4379
  id: string;
@@ -4422,8 +4470,9 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
4422
4470
  background: string;
4423
4471
  };
4424
4472
  qr?: {
4425
- url: string;
4426
4473
  enabled: boolean;
4474
+ url?: string | undefined;
4475
+ mode?: "redirect" | "raw" | undefined;
4427
4476
  } | undefined;
4428
4477
  logo?: {
4429
4478
  svg?: string | undefined;
@@ -4485,12 +4534,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
4485
4534
  z: number;
4486
4535
  };
4487
4536
  sizeMm: number;
4488
- url: string;
4489
4537
  frameRole: "text" | "accent";
4490
4538
  moduleRole: "text" | "accent";
4491
4539
  face?: "front" | "back" | undefined;
4492
4540
  locked?: boolean | undefined;
4493
4541
  colour?: string | undefined;
4542
+ url?: string | undefined;
4543
+ mode?: "redirect" | "raw" | undefined;
4494
4544
  } | {
4495
4545
  type: "image";
4496
4546
  id: string;
@@ -4610,12 +4660,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
4610
4660
  z: number;
4611
4661
  };
4612
4662
  sizeMm: number;
4613
- url: string;
4614
4663
  frameRole: "text" | "accent";
4615
4664
  moduleRole: "text" | "accent";
4616
4665
  face?: "front" | "back" | undefined;
4617
4666
  locked?: boolean | undefined;
4618
4667
  colour?: string | undefined;
4668
+ url?: string | undefined;
4669
+ mode?: "redirect" | "raw" | undefined;
4619
4670
  } | {
4620
4671
  type: "image";
4621
4672
  id: string;
@@ -4712,8 +4763,9 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
4712
4763
  background: string;
4713
4764
  };
4714
4765
  qr?: {
4715
- url: string;
4716
4766
  enabled: boolean;
4767
+ url?: string | undefined;
4768
+ mode?: "redirect" | "raw" | undefined;
4717
4769
  } | undefined;
4718
4770
  logo?: {
4719
4771
  svg?: string | undefined;
@@ -4775,12 +4827,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
4775
4827
  z: number;
4776
4828
  };
4777
4829
  sizeMm: number;
4778
- url: string;
4779
4830
  frameRole: "text" | "accent";
4780
4831
  moduleRole: "text" | "accent";
4781
4832
  face?: "front" | "back" | undefined;
4782
4833
  locked?: boolean | undefined;
4783
4834
  colour?: string | undefined;
4835
+ url?: string | undefined;
4836
+ mode?: "redirect" | "raw" | undefined;
4784
4837
  } | {
4785
4838
  type: "image";
4786
4839
  id: string;
@@ -4900,12 +4953,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
4900
4953
  z: number;
4901
4954
  };
4902
4955
  sizeMm: number;
4903
- url: string;
4904
4956
  frameRole: "text" | "accent";
4905
4957
  moduleRole: "text" | "accent";
4906
4958
  face?: "front" | "back" | undefined;
4907
4959
  locked?: boolean | undefined;
4908
4960
  colour?: string | undefined;
4961
+ url?: string | undefined;
4962
+ mode?: "redirect" | "raw" | undefined;
4909
4963
  } | {
4910
4964
  type: "image";
4911
4965
  id: string;
@@ -5002,8 +5056,9 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
5002
5056
  background: string;
5003
5057
  };
5004
5058
  qr?: {
5005
- url: string;
5006
5059
  enabled: boolean;
5060
+ url?: string | undefined;
5061
+ mode?: "redirect" | "raw" | undefined;
5007
5062
  } | undefined;
5008
5063
  logo?: {
5009
5064
  svg?: string | undefined;
@@ -5065,12 +5120,13 @@ declare const physicalConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
5065
5120
  z: number;
5066
5121
  };
5067
5122
  sizeMm: number;
5068
- url: string;
5069
5123
  frameRole: "text" | "accent";
5070
5124
  moduleRole: "text" | "accent";
5071
5125
  face?: "front" | "back" | undefined;
5072
5126
  locked?: boolean | undefined;
5073
5127
  colour?: string | undefined;
5128
+ url?: string | undefined;
5129
+ mode?: "redirect" | "raw" | undefined;
5074
5130
  } | {
5075
5131
  type: "image";
5076
5132
  id: string;
@@ -5756,7 +5812,8 @@ declare const configurationCreateSchema: z.ZodObject<{
5756
5812
  underline?: boolean | undefined;
5757
5813
  }>, z.ZodObject<{
5758
5814
  type: z.ZodLiteral<"qr">;
5759
- url: z.ZodString;
5815
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
5816
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
5760
5817
  sizeMm: z.ZodNumber;
5761
5818
  frameRole: z.ZodEnum<["text", "accent"]>;
5762
5819
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -5794,12 +5851,13 @@ declare const configurationCreateSchema: z.ZodObject<{
5794
5851
  z: number;
5795
5852
  };
5796
5853
  sizeMm: number;
5797
- url: string;
5798
5854
  frameRole: "text" | "accent";
5799
5855
  moduleRole: "text" | "accent";
5800
5856
  face?: "front" | "back" | undefined;
5801
5857
  locked?: boolean | undefined;
5802
5858
  colour?: string | undefined;
5859
+ url?: string | undefined;
5860
+ mode?: "redirect" | "raw" | undefined;
5803
5861
  }, {
5804
5862
  type: "qr";
5805
5863
  id: string;
@@ -5811,12 +5869,13 @@ declare const configurationCreateSchema: z.ZodObject<{
5811
5869
  z: number;
5812
5870
  };
5813
5871
  sizeMm: number;
5814
- url: string;
5815
5872
  frameRole: "text" | "accent";
5816
5873
  moduleRole: "text" | "accent";
5817
5874
  face?: "front" | "back" | undefined;
5818
5875
  locked?: boolean | undefined;
5819
5876
  colour?: string | undefined;
5877
+ url?: string | undefined;
5878
+ mode?: "redirect" | "raw" | undefined;
5820
5879
  }>, z.ZodObject<{
5821
5880
  type: z.ZodLiteral<"image">;
5822
5881
  assetRef: z.ZodString;
@@ -6108,13 +6167,16 @@ declare const configurationCreateSchema: z.ZodObject<{
6108
6167
  }>>;
6109
6168
  qr: z.ZodOptional<z.ZodObject<{
6110
6169
  enabled: z.ZodBoolean;
6111
- url: z.ZodString;
6170
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
6171
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
6112
6172
  }, "strip", z.ZodTypeAny, {
6113
- url: string;
6114
6173
  enabled: boolean;
6174
+ url?: string | undefined;
6175
+ mode?: "redirect" | "raw" | undefined;
6115
6176
  }, {
6116
- url: string;
6117
6177
  enabled: boolean;
6178
+ url?: string | undefined;
6179
+ mode?: "redirect" | "raw" | undefined;
6118
6180
  }>>;
6119
6181
  logo: z.ZodOptional<z.ZodObject<{
6120
6182
  svg: z.ZodOptional<z.ZodString>;
@@ -6256,7 +6318,8 @@ declare const configurationCreateSchema: z.ZodObject<{
6256
6318
  underline?: boolean | undefined;
6257
6319
  }>, z.ZodObject<{
6258
6320
  type: z.ZodLiteral<"qr">;
6259
- url: z.ZodString;
6321
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
6322
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
6260
6323
  sizeMm: z.ZodNumber;
6261
6324
  frameRole: z.ZodEnum<["text", "accent"]>;
6262
6325
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -6294,12 +6357,13 @@ declare const configurationCreateSchema: z.ZodObject<{
6294
6357
  z: number;
6295
6358
  };
6296
6359
  sizeMm: number;
6297
- url: string;
6298
6360
  frameRole: "text" | "accent";
6299
6361
  moduleRole: "text" | "accent";
6300
6362
  face?: "front" | "back" | undefined;
6301
6363
  locked?: boolean | undefined;
6302
6364
  colour?: string | undefined;
6365
+ url?: string | undefined;
6366
+ mode?: "redirect" | "raw" | undefined;
6303
6367
  }, {
6304
6368
  type: "qr";
6305
6369
  id: string;
@@ -6311,12 +6375,13 @@ declare const configurationCreateSchema: z.ZodObject<{
6311
6375
  z: number;
6312
6376
  };
6313
6377
  sizeMm: number;
6314
- url: string;
6315
6378
  frameRole: "text" | "accent";
6316
6379
  moduleRole: "text" | "accent";
6317
6380
  face?: "front" | "back" | undefined;
6318
6381
  locked?: boolean | undefined;
6319
6382
  colour?: string | undefined;
6383
+ url?: string | undefined;
6384
+ mode?: "redirect" | "raw" | undefined;
6320
6385
  }>, z.ZodObject<{
6321
6386
  type: z.ZodLiteral<"image">;
6322
6387
  assetRef: z.ZodString;
@@ -6507,8 +6572,9 @@ declare const configurationCreateSchema: z.ZodObject<{
6507
6572
  background: string;
6508
6573
  };
6509
6574
  qr?: {
6510
- url: string;
6511
6575
  enabled: boolean;
6576
+ url?: string | undefined;
6577
+ mode?: "redirect" | "raw" | undefined;
6512
6578
  } | undefined;
6513
6579
  logo?: {
6514
6580
  svg?: string | undefined;
@@ -6570,12 +6636,13 @@ declare const configurationCreateSchema: z.ZodObject<{
6570
6636
  z: number;
6571
6637
  };
6572
6638
  sizeMm: number;
6573
- url: string;
6574
6639
  frameRole: "text" | "accent";
6575
6640
  moduleRole: "text" | "accent";
6576
6641
  face?: "front" | "back" | undefined;
6577
6642
  locked?: boolean | undefined;
6578
6643
  colour?: string | undefined;
6644
+ url?: string | undefined;
6645
+ mode?: "redirect" | "raw" | undefined;
6579
6646
  } | {
6580
6647
  type: "image";
6581
6648
  id: string;
@@ -6652,8 +6719,9 @@ declare const configurationCreateSchema: z.ZodObject<{
6652
6719
  background: string;
6653
6720
  };
6654
6721
  qr?: {
6655
- url: string;
6656
6722
  enabled: boolean;
6723
+ url?: string | undefined;
6724
+ mode?: "redirect" | "raw" | undefined;
6657
6725
  } | undefined;
6658
6726
  logo?: {
6659
6727
  svg?: string | undefined;
@@ -6715,12 +6783,13 @@ declare const configurationCreateSchema: z.ZodObject<{
6715
6783
  z: number;
6716
6784
  };
6717
6785
  sizeMm: number;
6718
- url: string;
6719
6786
  frameRole: "text" | "accent";
6720
6787
  moduleRole: "text" | "accent";
6721
6788
  face?: "front" | "back" | undefined;
6722
6789
  locked?: boolean | undefined;
6723
6790
  colour?: string | undefined;
6791
+ url?: string | undefined;
6792
+ mode?: "redirect" | "raw" | undefined;
6724
6793
  } | {
6725
6794
  type: "image";
6726
6795
  id: string;
@@ -6797,8 +6866,9 @@ declare const configurationCreateSchema: z.ZodObject<{
6797
6866
  background: string;
6798
6867
  };
6799
6868
  qr?: {
6800
- url: string;
6801
6869
  enabled: boolean;
6870
+ url?: string | undefined;
6871
+ mode?: "redirect" | "raw" | undefined;
6802
6872
  } | undefined;
6803
6873
  logo?: {
6804
6874
  svg?: string | undefined;
@@ -6860,12 +6930,13 @@ declare const configurationCreateSchema: z.ZodObject<{
6860
6930
  z: number;
6861
6931
  };
6862
6932
  sizeMm: number;
6863
- url: string;
6864
6933
  frameRole: "text" | "accent";
6865
6934
  moduleRole: "text" | "accent";
6866
6935
  face?: "front" | "back" | undefined;
6867
6936
  locked?: boolean | undefined;
6868
6937
  colour?: string | undefined;
6938
+ url?: string | undefined;
6939
+ mode?: "redirect" | "raw" | undefined;
6869
6940
  } | {
6870
6941
  type: "image";
6871
6942
  id: string;
@@ -6942,8 +7013,9 @@ declare const configurationCreateSchema: z.ZodObject<{
6942
7013
  background: string;
6943
7014
  };
6944
7015
  qr?: {
6945
- url: string;
6946
7016
  enabled: boolean;
7017
+ url?: string | undefined;
7018
+ mode?: "redirect" | "raw" | undefined;
6947
7019
  } | undefined;
6948
7020
  logo?: {
6949
7021
  svg?: string | undefined;
@@ -7005,12 +7077,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7005
7077
  z: number;
7006
7078
  };
7007
7079
  sizeMm: number;
7008
- url: string;
7009
7080
  frameRole: "text" | "accent";
7010
7081
  moduleRole: "text" | "accent";
7011
7082
  face?: "front" | "back" | undefined;
7012
7083
  locked?: boolean | undefined;
7013
7084
  colour?: string | undefined;
7085
+ url?: string | undefined;
7086
+ mode?: "redirect" | "raw" | undefined;
7014
7087
  } | {
7015
7088
  type: "image";
7016
7089
  id: string;
@@ -7130,12 +7203,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7130
7203
  z: number;
7131
7204
  };
7132
7205
  sizeMm: number;
7133
- url: string;
7134
7206
  frameRole: "text" | "accent";
7135
7207
  moduleRole: "text" | "accent";
7136
7208
  face?: "front" | "back" | undefined;
7137
7209
  locked?: boolean | undefined;
7138
7210
  colour?: string | undefined;
7211
+ url?: string | undefined;
7212
+ mode?: "redirect" | "raw" | undefined;
7139
7213
  } | {
7140
7214
  type: "image";
7141
7215
  id: string;
@@ -7232,8 +7306,9 @@ declare const configurationCreateSchema: z.ZodObject<{
7232
7306
  background: string;
7233
7307
  };
7234
7308
  qr?: {
7235
- url: string;
7236
7309
  enabled: boolean;
7310
+ url?: string | undefined;
7311
+ mode?: "redirect" | "raw" | undefined;
7237
7312
  } | undefined;
7238
7313
  logo?: {
7239
7314
  svg?: string | undefined;
@@ -7295,12 +7370,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7295
7370
  z: number;
7296
7371
  };
7297
7372
  sizeMm: number;
7298
- url: string;
7299
7373
  frameRole: "text" | "accent";
7300
7374
  moduleRole: "text" | "accent";
7301
7375
  face?: "front" | "back" | undefined;
7302
7376
  locked?: boolean | undefined;
7303
7377
  colour?: string | undefined;
7378
+ url?: string | undefined;
7379
+ mode?: "redirect" | "raw" | undefined;
7304
7380
  } | {
7305
7381
  type: "image";
7306
7382
  id: string;
@@ -7420,12 +7496,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7420
7496
  z: number;
7421
7497
  };
7422
7498
  sizeMm: number;
7423
- url: string;
7424
7499
  frameRole: "text" | "accent";
7425
7500
  moduleRole: "text" | "accent";
7426
7501
  face?: "front" | "back" | undefined;
7427
7502
  locked?: boolean | undefined;
7428
7503
  colour?: string | undefined;
7504
+ url?: string | undefined;
7505
+ mode?: "redirect" | "raw" | undefined;
7429
7506
  } | {
7430
7507
  type: "image";
7431
7508
  id: string;
@@ -7522,8 +7599,9 @@ declare const configurationCreateSchema: z.ZodObject<{
7522
7599
  background: string;
7523
7600
  };
7524
7601
  qr?: {
7525
- url: string;
7526
7602
  enabled: boolean;
7603
+ url?: string | undefined;
7604
+ mode?: "redirect" | "raw" | undefined;
7527
7605
  } | undefined;
7528
7606
  logo?: {
7529
7607
  svg?: string | undefined;
@@ -7585,12 +7663,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7585
7663
  z: number;
7586
7664
  };
7587
7665
  sizeMm: number;
7588
- url: string;
7589
7666
  frameRole: "text" | "accent";
7590
7667
  moduleRole: "text" | "accent";
7591
7668
  face?: "front" | "back" | undefined;
7592
7669
  locked?: boolean | undefined;
7593
7670
  colour?: string | undefined;
7671
+ url?: string | undefined;
7672
+ mode?: "redirect" | "raw" | undefined;
7594
7673
  } | {
7595
7674
  type: "image";
7596
7675
  id: string;
@@ -7710,12 +7789,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7710
7789
  z: number;
7711
7790
  };
7712
7791
  sizeMm: number;
7713
- url: string;
7714
7792
  frameRole: "text" | "accent";
7715
7793
  moduleRole: "text" | "accent";
7716
7794
  face?: "front" | "back" | undefined;
7717
7795
  locked?: boolean | undefined;
7718
7796
  colour?: string | undefined;
7797
+ url?: string | undefined;
7798
+ mode?: "redirect" | "raw" | undefined;
7719
7799
  } | {
7720
7800
  type: "image";
7721
7801
  id: string;
@@ -7812,8 +7892,9 @@ declare const configurationCreateSchema: z.ZodObject<{
7812
7892
  background: string;
7813
7893
  };
7814
7894
  qr?: {
7815
- url: string;
7816
7895
  enabled: boolean;
7896
+ url?: string | undefined;
7897
+ mode?: "redirect" | "raw" | undefined;
7817
7898
  } | undefined;
7818
7899
  logo?: {
7819
7900
  svg?: string | undefined;
@@ -7875,12 +7956,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7875
7956
  z: number;
7876
7957
  };
7877
7958
  sizeMm: number;
7878
- url: string;
7879
7959
  frameRole: "text" | "accent";
7880
7960
  moduleRole: "text" | "accent";
7881
7961
  face?: "front" | "back" | undefined;
7882
7962
  locked?: boolean | undefined;
7883
7963
  colour?: string | undefined;
7964
+ url?: string | undefined;
7965
+ mode?: "redirect" | "raw" | undefined;
7884
7966
  } | {
7885
7967
  type: "image";
7886
7968
  id: string;
@@ -8000,12 +8082,13 @@ declare const configurationCreateSchema: z.ZodObject<{
8000
8082
  z: number;
8001
8083
  };
8002
8084
  sizeMm: number;
8003
- url: string;
8004
8085
  frameRole: "text" | "accent";
8005
8086
  moduleRole: "text" | "accent";
8006
8087
  face?: "front" | "back" | undefined;
8007
8088
  locked?: boolean | undefined;
8008
8089
  colour?: string | undefined;
8090
+ url?: string | undefined;
8091
+ mode?: "redirect" | "raw" | undefined;
8009
8092
  } | {
8010
8093
  type: "image";
8011
8094
  id: string;
@@ -8102,8 +8185,9 @@ declare const configurationCreateSchema: z.ZodObject<{
8102
8185
  background: string;
8103
8186
  };
8104
8187
  qr?: {
8105
- url: string;
8106
8188
  enabled: boolean;
8189
+ url?: string | undefined;
8190
+ mode?: "redirect" | "raw" | undefined;
8107
8191
  } | undefined;
8108
8192
  logo?: {
8109
8193
  svg?: string | undefined;
@@ -8165,12 +8249,13 @@ declare const configurationCreateSchema: z.ZodObject<{
8165
8249
  z: number;
8166
8250
  };
8167
8251
  sizeMm: number;
8168
- url: string;
8169
8252
  frameRole: "text" | "accent";
8170
8253
  moduleRole: "text" | "accent";
8171
8254
  face?: "front" | "back" | undefined;
8172
8255
  locked?: boolean | undefined;
8173
8256
  colour?: string | undefined;
8257
+ url?: string | undefined;
8258
+ mode?: "redirect" | "raw" | undefined;
8174
8259
  } | {
8175
8260
  type: "image";
8176
8261
  id: string;
@@ -8290,12 +8375,13 @@ declare const configurationCreateSchema: z.ZodObject<{
8290
8375
  z: number;
8291
8376
  };
8292
8377
  sizeMm: number;
8293
- url: string;
8294
8378
  frameRole: "text" | "accent";
8295
8379
  moduleRole: "text" | "accent";
8296
8380
  face?: "front" | "back" | undefined;
8297
8381
  locked?: boolean | undefined;
8298
8382
  colour?: string | undefined;
8383
+ url?: string | undefined;
8384
+ mode?: "redirect" | "raw" | undefined;
8299
8385
  } | {
8300
8386
  type: "image";
8301
8387
  id: string;
@@ -8392,8 +8478,9 @@ declare const configurationCreateSchema: z.ZodObject<{
8392
8478
  background: string;
8393
8479
  };
8394
8480
  qr?: {
8395
- url: string;
8396
8481
  enabled: boolean;
8482
+ url?: string | undefined;
8483
+ mode?: "redirect" | "raw" | undefined;
8397
8484
  } | undefined;
8398
8485
  logo?: {
8399
8486
  svg?: string | undefined;
@@ -8455,12 +8542,13 @@ declare const configurationCreateSchema: z.ZodObject<{
8455
8542
  z: number;
8456
8543
  };
8457
8544
  sizeMm: number;
8458
- url: string;
8459
8545
  frameRole: "text" | "accent";
8460
8546
  moduleRole: "text" | "accent";
8461
8547
  face?: "front" | "back" | undefined;
8462
8548
  locked?: boolean | undefined;
8463
8549
  colour?: string | undefined;
8550
+ url?: string | undefined;
8551
+ mode?: "redirect" | "raw" | undefined;
8464
8552
  } | {
8465
8553
  type: "image";
8466
8554
  id: string;
@@ -8580,12 +8668,13 @@ declare const configurationCreateSchema: z.ZodObject<{
8580
8668
  z: number;
8581
8669
  };
8582
8670
  sizeMm: number;
8583
- url: string;
8584
8671
  frameRole: "text" | "accent";
8585
8672
  moduleRole: "text" | "accent";
8586
8673
  face?: "front" | "back" | undefined;
8587
8674
  locked?: boolean | undefined;
8588
8675
  colour?: string | undefined;
8676
+ url?: string | undefined;
8677
+ mode?: "redirect" | "raw" | undefined;
8589
8678
  } | {
8590
8679
  type: "image";
8591
8680
  id: string;
@@ -8682,8 +8771,9 @@ declare const configurationCreateSchema: z.ZodObject<{
8682
8771
  background: string;
8683
8772
  };
8684
8773
  qr?: {
8685
- url: string;
8686
8774
  enabled: boolean;
8775
+ url?: string | undefined;
8776
+ mode?: "redirect" | "raw" | undefined;
8687
8777
  } | undefined;
8688
8778
  logo?: {
8689
8779
  svg?: string | undefined;
@@ -8745,12 +8835,13 @@ declare const configurationCreateSchema: z.ZodObject<{
8745
8835
  z: number;
8746
8836
  };
8747
8837
  sizeMm: number;
8748
- url: string;
8749
8838
  frameRole: "text" | "accent";
8750
8839
  moduleRole: "text" | "accent";
8751
8840
  face?: "front" | "back" | undefined;
8752
8841
  locked?: boolean | undefined;
8753
8842
  colour?: string | undefined;
8843
+ url?: string | undefined;
8844
+ mode?: "redirect" | "raw" | undefined;
8754
8845
  } | {
8755
8846
  type: "image";
8756
8847
  id: string;
@@ -9124,12 +9215,13 @@ declare const configurationCreateSchema: z.ZodObject<{
9124
9215
  z: number;
9125
9216
  };
9126
9217
  sizeMm: number;
9127
- url: string;
9128
9218
  frameRole: "text" | "accent";
9129
9219
  moduleRole: "text" | "accent";
9130
9220
  face?: "front" | "back" | undefined;
9131
9221
  locked?: boolean | undefined;
9132
9222
  colour?: string | undefined;
9223
+ url?: string | undefined;
9224
+ mode?: "redirect" | "raw" | undefined;
9133
9225
  } | {
9134
9226
  type: "image";
9135
9227
  id: string;
@@ -9226,8 +9318,9 @@ declare const configurationCreateSchema: z.ZodObject<{
9226
9318
  background: string;
9227
9319
  };
9228
9320
  qr?: {
9229
- url: string;
9230
9321
  enabled: boolean;
9322
+ url?: string | undefined;
9323
+ mode?: "redirect" | "raw" | undefined;
9231
9324
  } | undefined;
9232
9325
  logo?: {
9233
9326
  svg?: string | undefined;
@@ -9289,12 +9382,13 @@ declare const configurationCreateSchema: z.ZodObject<{
9289
9382
  z: number;
9290
9383
  };
9291
9384
  sizeMm: number;
9292
- url: string;
9293
9385
  frameRole: "text" | "accent";
9294
9386
  moduleRole: "text" | "accent";
9295
9387
  face?: "front" | "back" | undefined;
9296
9388
  locked?: boolean | undefined;
9297
9389
  colour?: string | undefined;
9390
+ url?: string | undefined;
9391
+ mode?: "redirect" | "raw" | undefined;
9298
9392
  } | {
9299
9393
  type: "image";
9300
9394
  id: string;
@@ -9508,12 +9602,13 @@ declare const configurationCreateSchema: z.ZodObject<{
9508
9602
  z: number;
9509
9603
  };
9510
9604
  sizeMm: number;
9511
- url: string;
9512
9605
  frameRole: "text" | "accent";
9513
9606
  moduleRole: "text" | "accent";
9514
9607
  face?: "front" | "back" | undefined;
9515
9608
  locked?: boolean | undefined;
9516
9609
  colour?: string | undefined;
9610
+ url?: string | undefined;
9611
+ mode?: "redirect" | "raw" | undefined;
9517
9612
  } | {
9518
9613
  type: "image";
9519
9614
  id: string;
@@ -9610,8 +9705,9 @@ declare const configurationCreateSchema: z.ZodObject<{
9610
9705
  background: string;
9611
9706
  };
9612
9707
  qr?: {
9613
- url: string;
9614
9708
  enabled: boolean;
9709
+ url?: string | undefined;
9710
+ mode?: "redirect" | "raw" | undefined;
9615
9711
  } | undefined;
9616
9712
  logo?: {
9617
9713
  svg?: string | undefined;
@@ -9673,12 +9769,13 @@ declare const configurationCreateSchema: z.ZodObject<{
9673
9769
  z: number;
9674
9770
  };
9675
9771
  sizeMm: number;
9676
- url: string;
9677
9772
  frameRole: "text" | "accent";
9678
9773
  moduleRole: "text" | "accent";
9679
9774
  face?: "front" | "back" | undefined;
9680
9775
  locked?: boolean | undefined;
9681
9776
  colour?: string | undefined;
9777
+ url?: string | undefined;
9778
+ mode?: "redirect" | "raw" | undefined;
9682
9779
  } | {
9683
9780
  type: "image";
9684
9781
  id: string;
@@ -10112,7 +10209,8 @@ declare const configurationUpdateSchema: z.ZodObject<{
10112
10209
  underline?: boolean | undefined;
10113
10210
  }>, z.ZodObject<{
10114
10211
  type: z.ZodLiteral<"qr">;
10115
- url: z.ZodString;
10212
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
10213
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
10116
10214
  sizeMm: z.ZodNumber;
10117
10215
  frameRole: z.ZodEnum<["text", "accent"]>;
10118
10216
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -10150,12 +10248,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
10150
10248
  z: number;
10151
10249
  };
10152
10250
  sizeMm: number;
10153
- url: string;
10154
10251
  frameRole: "text" | "accent";
10155
10252
  moduleRole: "text" | "accent";
10156
10253
  face?: "front" | "back" | undefined;
10157
10254
  locked?: boolean | undefined;
10158
10255
  colour?: string | undefined;
10256
+ url?: string | undefined;
10257
+ mode?: "redirect" | "raw" | undefined;
10159
10258
  }, {
10160
10259
  type: "qr";
10161
10260
  id: string;
@@ -10167,12 +10266,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
10167
10266
  z: number;
10168
10267
  };
10169
10268
  sizeMm: number;
10170
- url: string;
10171
10269
  frameRole: "text" | "accent";
10172
10270
  moduleRole: "text" | "accent";
10173
10271
  face?: "front" | "back" | undefined;
10174
10272
  locked?: boolean | undefined;
10175
10273
  colour?: string | undefined;
10274
+ url?: string | undefined;
10275
+ mode?: "redirect" | "raw" | undefined;
10176
10276
  }>, z.ZodObject<{
10177
10277
  type: z.ZodLiteral<"image">;
10178
10278
  assetRef: z.ZodString;
@@ -10464,13 +10564,16 @@ declare const configurationUpdateSchema: z.ZodObject<{
10464
10564
  }>>;
10465
10565
  qr: z.ZodOptional<z.ZodObject<{
10466
10566
  enabled: z.ZodBoolean;
10467
- url: z.ZodString;
10567
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
10568
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
10468
10569
  }, "strip", z.ZodTypeAny, {
10469
- url: string;
10470
10570
  enabled: boolean;
10571
+ url?: string | undefined;
10572
+ mode?: "redirect" | "raw" | undefined;
10471
10573
  }, {
10472
- url: string;
10473
10574
  enabled: boolean;
10575
+ url?: string | undefined;
10576
+ mode?: "redirect" | "raw" | undefined;
10474
10577
  }>>;
10475
10578
  logo: z.ZodOptional<z.ZodObject<{
10476
10579
  svg: z.ZodOptional<z.ZodString>;
@@ -10612,7 +10715,8 @@ declare const configurationUpdateSchema: z.ZodObject<{
10612
10715
  underline?: boolean | undefined;
10613
10716
  }>, z.ZodObject<{
10614
10717
  type: z.ZodLiteral<"qr">;
10615
- url: z.ZodString;
10718
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
10719
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
10616
10720
  sizeMm: z.ZodNumber;
10617
10721
  frameRole: z.ZodEnum<["text", "accent"]>;
10618
10722
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -10650,12 +10754,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
10650
10754
  z: number;
10651
10755
  };
10652
10756
  sizeMm: number;
10653
- url: string;
10654
10757
  frameRole: "text" | "accent";
10655
10758
  moduleRole: "text" | "accent";
10656
10759
  face?: "front" | "back" | undefined;
10657
10760
  locked?: boolean | undefined;
10658
10761
  colour?: string | undefined;
10762
+ url?: string | undefined;
10763
+ mode?: "redirect" | "raw" | undefined;
10659
10764
  }, {
10660
10765
  type: "qr";
10661
10766
  id: string;
@@ -10667,12 +10772,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
10667
10772
  z: number;
10668
10773
  };
10669
10774
  sizeMm: number;
10670
- url: string;
10671
10775
  frameRole: "text" | "accent";
10672
10776
  moduleRole: "text" | "accent";
10673
10777
  face?: "front" | "back" | undefined;
10674
10778
  locked?: boolean | undefined;
10675
10779
  colour?: string | undefined;
10780
+ url?: string | undefined;
10781
+ mode?: "redirect" | "raw" | undefined;
10676
10782
  }>, z.ZodObject<{
10677
10783
  type: z.ZodLiteral<"image">;
10678
10784
  assetRef: z.ZodString;
@@ -10863,8 +10969,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
10863
10969
  background: string;
10864
10970
  };
10865
10971
  qr?: {
10866
- url: string;
10867
10972
  enabled: boolean;
10973
+ url?: string | undefined;
10974
+ mode?: "redirect" | "raw" | undefined;
10868
10975
  } | undefined;
10869
10976
  logo?: {
10870
10977
  svg?: string | undefined;
@@ -10926,12 +11033,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
10926
11033
  z: number;
10927
11034
  };
10928
11035
  sizeMm: number;
10929
- url: string;
10930
11036
  frameRole: "text" | "accent";
10931
11037
  moduleRole: "text" | "accent";
10932
11038
  face?: "front" | "back" | undefined;
10933
11039
  locked?: boolean | undefined;
10934
11040
  colour?: string | undefined;
11041
+ url?: string | undefined;
11042
+ mode?: "redirect" | "raw" | undefined;
10935
11043
  } | {
10936
11044
  type: "image";
10937
11045
  id: string;
@@ -11008,8 +11116,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
11008
11116
  background: string;
11009
11117
  };
11010
11118
  qr?: {
11011
- url: string;
11012
11119
  enabled: boolean;
11120
+ url?: string | undefined;
11121
+ mode?: "redirect" | "raw" | undefined;
11013
11122
  } | undefined;
11014
11123
  logo?: {
11015
11124
  svg?: string | undefined;
@@ -11071,12 +11180,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11071
11180
  z: number;
11072
11181
  };
11073
11182
  sizeMm: number;
11074
- url: string;
11075
11183
  frameRole: "text" | "accent";
11076
11184
  moduleRole: "text" | "accent";
11077
11185
  face?: "front" | "back" | undefined;
11078
11186
  locked?: boolean | undefined;
11079
11187
  colour?: string | undefined;
11188
+ url?: string | undefined;
11189
+ mode?: "redirect" | "raw" | undefined;
11080
11190
  } | {
11081
11191
  type: "image";
11082
11192
  id: string;
@@ -11153,8 +11263,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
11153
11263
  background: string;
11154
11264
  };
11155
11265
  qr?: {
11156
- url: string;
11157
11266
  enabled: boolean;
11267
+ url?: string | undefined;
11268
+ mode?: "redirect" | "raw" | undefined;
11158
11269
  } | undefined;
11159
11270
  logo?: {
11160
11271
  svg?: string | undefined;
@@ -11216,12 +11327,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11216
11327
  z: number;
11217
11328
  };
11218
11329
  sizeMm: number;
11219
- url: string;
11220
11330
  frameRole: "text" | "accent";
11221
11331
  moduleRole: "text" | "accent";
11222
11332
  face?: "front" | "back" | undefined;
11223
11333
  locked?: boolean | undefined;
11224
11334
  colour?: string | undefined;
11335
+ url?: string | undefined;
11336
+ mode?: "redirect" | "raw" | undefined;
11225
11337
  } | {
11226
11338
  type: "image";
11227
11339
  id: string;
@@ -11298,8 +11410,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
11298
11410
  background: string;
11299
11411
  };
11300
11412
  qr?: {
11301
- url: string;
11302
11413
  enabled: boolean;
11414
+ url?: string | undefined;
11415
+ mode?: "redirect" | "raw" | undefined;
11303
11416
  } | undefined;
11304
11417
  logo?: {
11305
11418
  svg?: string | undefined;
@@ -11361,12 +11474,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11361
11474
  z: number;
11362
11475
  };
11363
11476
  sizeMm: number;
11364
- url: string;
11365
11477
  frameRole: "text" | "accent";
11366
11478
  moduleRole: "text" | "accent";
11367
11479
  face?: "front" | "back" | undefined;
11368
11480
  locked?: boolean | undefined;
11369
11481
  colour?: string | undefined;
11482
+ url?: string | undefined;
11483
+ mode?: "redirect" | "raw" | undefined;
11370
11484
  } | {
11371
11485
  type: "image";
11372
11486
  id: string;
@@ -11486,12 +11600,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11486
11600
  z: number;
11487
11601
  };
11488
11602
  sizeMm: number;
11489
- url: string;
11490
11603
  frameRole: "text" | "accent";
11491
11604
  moduleRole: "text" | "accent";
11492
11605
  face?: "front" | "back" | undefined;
11493
11606
  locked?: boolean | undefined;
11494
11607
  colour?: string | undefined;
11608
+ url?: string | undefined;
11609
+ mode?: "redirect" | "raw" | undefined;
11495
11610
  } | {
11496
11611
  type: "image";
11497
11612
  id: string;
@@ -11588,8 +11703,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
11588
11703
  background: string;
11589
11704
  };
11590
11705
  qr?: {
11591
- url: string;
11592
11706
  enabled: boolean;
11707
+ url?: string | undefined;
11708
+ mode?: "redirect" | "raw" | undefined;
11593
11709
  } | undefined;
11594
11710
  logo?: {
11595
11711
  svg?: string | undefined;
@@ -11651,12 +11767,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11651
11767
  z: number;
11652
11768
  };
11653
11769
  sizeMm: number;
11654
- url: string;
11655
11770
  frameRole: "text" | "accent";
11656
11771
  moduleRole: "text" | "accent";
11657
11772
  face?: "front" | "back" | undefined;
11658
11773
  locked?: boolean | undefined;
11659
11774
  colour?: string | undefined;
11775
+ url?: string | undefined;
11776
+ mode?: "redirect" | "raw" | undefined;
11660
11777
  } | {
11661
11778
  type: "image";
11662
11779
  id: string;
@@ -11776,12 +11893,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11776
11893
  z: number;
11777
11894
  };
11778
11895
  sizeMm: number;
11779
- url: string;
11780
11896
  frameRole: "text" | "accent";
11781
11897
  moduleRole: "text" | "accent";
11782
11898
  face?: "front" | "back" | undefined;
11783
11899
  locked?: boolean | undefined;
11784
11900
  colour?: string | undefined;
11901
+ url?: string | undefined;
11902
+ mode?: "redirect" | "raw" | undefined;
11785
11903
  } | {
11786
11904
  type: "image";
11787
11905
  id: string;
@@ -11878,8 +11996,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
11878
11996
  background: string;
11879
11997
  };
11880
11998
  qr?: {
11881
- url: string;
11882
11999
  enabled: boolean;
12000
+ url?: string | undefined;
12001
+ mode?: "redirect" | "raw" | undefined;
11883
12002
  } | undefined;
11884
12003
  logo?: {
11885
12004
  svg?: string | undefined;
@@ -11941,12 +12060,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11941
12060
  z: number;
11942
12061
  };
11943
12062
  sizeMm: number;
11944
- url: string;
11945
12063
  frameRole: "text" | "accent";
11946
12064
  moduleRole: "text" | "accent";
11947
12065
  face?: "front" | "back" | undefined;
11948
12066
  locked?: boolean | undefined;
11949
12067
  colour?: string | undefined;
12068
+ url?: string | undefined;
12069
+ mode?: "redirect" | "raw" | undefined;
11950
12070
  } | {
11951
12071
  type: "image";
11952
12072
  id: string;
@@ -12066,12 +12186,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12066
12186
  z: number;
12067
12187
  };
12068
12188
  sizeMm: number;
12069
- url: string;
12070
12189
  frameRole: "text" | "accent";
12071
12190
  moduleRole: "text" | "accent";
12072
12191
  face?: "front" | "back" | undefined;
12073
12192
  locked?: boolean | undefined;
12074
12193
  colour?: string | undefined;
12194
+ url?: string | undefined;
12195
+ mode?: "redirect" | "raw" | undefined;
12075
12196
  } | {
12076
12197
  type: "image";
12077
12198
  id: string;
@@ -12168,8 +12289,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
12168
12289
  background: string;
12169
12290
  };
12170
12291
  qr?: {
12171
- url: string;
12172
12292
  enabled: boolean;
12293
+ url?: string | undefined;
12294
+ mode?: "redirect" | "raw" | undefined;
12173
12295
  } | undefined;
12174
12296
  logo?: {
12175
12297
  svg?: string | undefined;
@@ -12231,12 +12353,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12231
12353
  z: number;
12232
12354
  };
12233
12355
  sizeMm: number;
12234
- url: string;
12235
12356
  frameRole: "text" | "accent";
12236
12357
  moduleRole: "text" | "accent";
12237
12358
  face?: "front" | "back" | undefined;
12238
12359
  locked?: boolean | undefined;
12239
12360
  colour?: string | undefined;
12361
+ url?: string | undefined;
12362
+ mode?: "redirect" | "raw" | undefined;
12240
12363
  } | {
12241
12364
  type: "image";
12242
12365
  id: string;
@@ -12356,12 +12479,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12356
12479
  z: number;
12357
12480
  };
12358
12481
  sizeMm: number;
12359
- url: string;
12360
12482
  frameRole: "text" | "accent";
12361
12483
  moduleRole: "text" | "accent";
12362
12484
  face?: "front" | "back" | undefined;
12363
12485
  locked?: boolean | undefined;
12364
12486
  colour?: string | undefined;
12487
+ url?: string | undefined;
12488
+ mode?: "redirect" | "raw" | undefined;
12365
12489
  } | {
12366
12490
  type: "image";
12367
12491
  id: string;
@@ -12458,8 +12582,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
12458
12582
  background: string;
12459
12583
  };
12460
12584
  qr?: {
12461
- url: string;
12462
12585
  enabled: boolean;
12586
+ url?: string | undefined;
12587
+ mode?: "redirect" | "raw" | undefined;
12463
12588
  } | undefined;
12464
12589
  logo?: {
12465
12590
  svg?: string | undefined;
@@ -12521,12 +12646,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12521
12646
  z: number;
12522
12647
  };
12523
12648
  sizeMm: number;
12524
- url: string;
12525
12649
  frameRole: "text" | "accent";
12526
12650
  moduleRole: "text" | "accent";
12527
12651
  face?: "front" | "back" | undefined;
12528
12652
  locked?: boolean | undefined;
12529
12653
  colour?: string | undefined;
12654
+ url?: string | undefined;
12655
+ mode?: "redirect" | "raw" | undefined;
12530
12656
  } | {
12531
12657
  type: "image";
12532
12658
  id: string;
@@ -12646,12 +12772,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12646
12772
  z: number;
12647
12773
  };
12648
12774
  sizeMm: number;
12649
- url: string;
12650
12775
  frameRole: "text" | "accent";
12651
12776
  moduleRole: "text" | "accent";
12652
12777
  face?: "front" | "back" | undefined;
12653
12778
  locked?: boolean | undefined;
12654
12779
  colour?: string | undefined;
12780
+ url?: string | undefined;
12781
+ mode?: "redirect" | "raw" | undefined;
12655
12782
  } | {
12656
12783
  type: "image";
12657
12784
  id: string;
@@ -12748,8 +12875,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
12748
12875
  background: string;
12749
12876
  };
12750
12877
  qr?: {
12751
- url: string;
12752
12878
  enabled: boolean;
12879
+ url?: string | undefined;
12880
+ mode?: "redirect" | "raw" | undefined;
12753
12881
  } | undefined;
12754
12882
  logo?: {
12755
12883
  svg?: string | undefined;
@@ -12811,12 +12939,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12811
12939
  z: number;
12812
12940
  };
12813
12941
  sizeMm: number;
12814
- url: string;
12815
12942
  frameRole: "text" | "accent";
12816
12943
  moduleRole: "text" | "accent";
12817
12944
  face?: "front" | "back" | undefined;
12818
12945
  locked?: boolean | undefined;
12819
12946
  colour?: string | undefined;
12947
+ url?: string | undefined;
12948
+ mode?: "redirect" | "raw" | undefined;
12820
12949
  } | {
12821
12950
  type: "image";
12822
12951
  id: string;
@@ -12936,12 +13065,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12936
13065
  z: number;
12937
13066
  };
12938
13067
  sizeMm: number;
12939
- url: string;
12940
13068
  frameRole: "text" | "accent";
12941
13069
  moduleRole: "text" | "accent";
12942
13070
  face?: "front" | "back" | undefined;
12943
13071
  locked?: boolean | undefined;
12944
13072
  colour?: string | undefined;
13073
+ url?: string | undefined;
13074
+ mode?: "redirect" | "raw" | undefined;
12945
13075
  } | {
12946
13076
  type: "image";
12947
13077
  id: string;
@@ -13038,8 +13168,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
13038
13168
  background: string;
13039
13169
  };
13040
13170
  qr?: {
13041
- url: string;
13042
13171
  enabled: boolean;
13172
+ url?: string | undefined;
13173
+ mode?: "redirect" | "raw" | undefined;
13043
13174
  } | undefined;
13044
13175
  logo?: {
13045
13176
  svg?: string | undefined;
@@ -13101,12 +13232,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
13101
13232
  z: number;
13102
13233
  };
13103
13234
  sizeMm: number;
13104
- url: string;
13105
13235
  frameRole: "text" | "accent";
13106
13236
  moduleRole: "text" | "accent";
13107
13237
  face?: "front" | "back" | undefined;
13108
13238
  locked?: boolean | undefined;
13109
13239
  colour?: string | undefined;
13240
+ url?: string | undefined;
13241
+ mode?: "redirect" | "raw" | undefined;
13110
13242
  } | {
13111
13243
  type: "image";
13112
13244
  id: string;
@@ -13451,12 +13583,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
13451
13583
  z: number;
13452
13584
  };
13453
13585
  sizeMm: number;
13454
- url: string;
13455
13586
  frameRole: "text" | "accent";
13456
13587
  moduleRole: "text" | "accent";
13457
13588
  face?: "front" | "back" | undefined;
13458
13589
  locked?: boolean | undefined;
13459
13590
  colour?: string | undefined;
13591
+ url?: string | undefined;
13592
+ mode?: "redirect" | "raw" | undefined;
13460
13593
  } | {
13461
13594
  type: "image";
13462
13595
  id: string;
@@ -13553,8 +13686,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
13553
13686
  background: string;
13554
13687
  };
13555
13688
  qr?: {
13556
- url: string;
13557
13689
  enabled: boolean;
13690
+ url?: string | undefined;
13691
+ mode?: "redirect" | "raw" | undefined;
13558
13692
  } | undefined;
13559
13693
  logo?: {
13560
13694
  svg?: string | undefined;
@@ -13616,12 +13750,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
13616
13750
  z: number;
13617
13751
  };
13618
13752
  sizeMm: number;
13619
- url: string;
13620
13753
  frameRole: "text" | "accent";
13621
13754
  moduleRole: "text" | "accent";
13622
13755
  face?: "front" | "back" | undefined;
13623
13756
  locked?: boolean | undefined;
13624
13757
  colour?: string | undefined;
13758
+ url?: string | undefined;
13759
+ mode?: "redirect" | "raw" | undefined;
13625
13760
  } | {
13626
13761
  type: "image";
13627
13762
  id: string;
@@ -13824,12 +13959,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
13824
13959
  z: number;
13825
13960
  };
13826
13961
  sizeMm: number;
13827
- url: string;
13828
13962
  frameRole: "text" | "accent";
13829
13963
  moduleRole: "text" | "accent";
13830
13964
  face?: "front" | "back" | undefined;
13831
13965
  locked?: boolean | undefined;
13832
13966
  colour?: string | undefined;
13967
+ url?: string | undefined;
13968
+ mode?: "redirect" | "raw" | undefined;
13833
13969
  } | {
13834
13970
  type: "image";
13835
13971
  id: string;
@@ -13926,8 +14062,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
13926
14062
  background: string;
13927
14063
  };
13928
14064
  qr?: {
13929
- url: string;
13930
14065
  enabled: boolean;
14066
+ url?: string | undefined;
14067
+ mode?: "redirect" | "raw" | undefined;
13931
14068
  } | undefined;
13932
14069
  logo?: {
13933
14070
  svg?: string | undefined;
@@ -13989,12 +14126,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
13989
14126
  z: number;
13990
14127
  };
13991
14128
  sizeMm: number;
13992
- url: string;
13993
14129
  frameRole: "text" | "accent";
13994
14130
  moduleRole: "text" | "accent";
13995
14131
  face?: "front" | "back" | undefined;
13996
14132
  locked?: boolean | undefined;
13997
14133
  colour?: string | undefined;
14134
+ url?: string | undefined;
14135
+ mode?: "redirect" | "raw" | undefined;
13998
14136
  } | {
13999
14137
  type: "image";
14000
14138
  id: string;
@@ -14933,7 +15071,8 @@ declare const adminCardCreateSchema: z.ZodObject<{
14933
15071
  underline?: boolean | undefined;
14934
15072
  }>, z.ZodObject<{
14935
15073
  type: z.ZodLiteral<"qr">;
14936
- url: z.ZodString;
15074
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
15075
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
14937
15076
  sizeMm: z.ZodNumber;
14938
15077
  frameRole: z.ZodEnum<["text", "accent"]>;
14939
15078
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -14971,12 +15110,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
14971
15110
  z: number;
14972
15111
  };
14973
15112
  sizeMm: number;
14974
- url: string;
14975
15113
  frameRole: "text" | "accent";
14976
15114
  moduleRole: "text" | "accent";
14977
15115
  face?: "front" | "back" | undefined;
14978
15116
  locked?: boolean | undefined;
14979
15117
  colour?: string | undefined;
15118
+ url?: string | undefined;
15119
+ mode?: "redirect" | "raw" | undefined;
14980
15120
  }, {
14981
15121
  type: "qr";
14982
15122
  id: string;
@@ -14988,12 +15128,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
14988
15128
  z: number;
14989
15129
  };
14990
15130
  sizeMm: number;
14991
- url: string;
14992
15131
  frameRole: "text" | "accent";
14993
15132
  moduleRole: "text" | "accent";
14994
15133
  face?: "front" | "back" | undefined;
14995
15134
  locked?: boolean | undefined;
14996
15135
  colour?: string | undefined;
15136
+ url?: string | undefined;
15137
+ mode?: "redirect" | "raw" | undefined;
14997
15138
  }>, z.ZodObject<{
14998
15139
  type: z.ZodLiteral<"image">;
14999
15140
  assetRef: z.ZodString;
@@ -15285,13 +15426,16 @@ declare const adminCardCreateSchema: z.ZodObject<{
15285
15426
  }>>;
15286
15427
  qr: z.ZodOptional<z.ZodObject<{
15287
15428
  enabled: z.ZodBoolean;
15288
- url: z.ZodString;
15429
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
15430
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
15289
15431
  }, "strip", z.ZodTypeAny, {
15290
- url: string;
15291
15432
  enabled: boolean;
15433
+ url?: string | undefined;
15434
+ mode?: "redirect" | "raw" | undefined;
15292
15435
  }, {
15293
- url: string;
15294
15436
  enabled: boolean;
15437
+ url?: string | undefined;
15438
+ mode?: "redirect" | "raw" | undefined;
15295
15439
  }>>;
15296
15440
  logo: z.ZodOptional<z.ZodObject<{
15297
15441
  svg: z.ZodOptional<z.ZodString>;
@@ -15433,7 +15577,8 @@ declare const adminCardCreateSchema: z.ZodObject<{
15433
15577
  underline?: boolean | undefined;
15434
15578
  }>, z.ZodObject<{
15435
15579
  type: z.ZodLiteral<"qr">;
15436
- url: z.ZodString;
15580
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
15581
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
15437
15582
  sizeMm: z.ZodNumber;
15438
15583
  frameRole: z.ZodEnum<["text", "accent"]>;
15439
15584
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -15471,12 +15616,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
15471
15616
  z: number;
15472
15617
  };
15473
15618
  sizeMm: number;
15474
- url: string;
15475
15619
  frameRole: "text" | "accent";
15476
15620
  moduleRole: "text" | "accent";
15477
15621
  face?: "front" | "back" | undefined;
15478
15622
  locked?: boolean | undefined;
15479
15623
  colour?: string | undefined;
15624
+ url?: string | undefined;
15625
+ mode?: "redirect" | "raw" | undefined;
15480
15626
  }, {
15481
15627
  type: "qr";
15482
15628
  id: string;
@@ -15488,12 +15634,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
15488
15634
  z: number;
15489
15635
  };
15490
15636
  sizeMm: number;
15491
- url: string;
15492
15637
  frameRole: "text" | "accent";
15493
15638
  moduleRole: "text" | "accent";
15494
15639
  face?: "front" | "back" | undefined;
15495
15640
  locked?: boolean | undefined;
15496
15641
  colour?: string | undefined;
15642
+ url?: string | undefined;
15643
+ mode?: "redirect" | "raw" | undefined;
15497
15644
  }>, z.ZodObject<{
15498
15645
  type: z.ZodLiteral<"image">;
15499
15646
  assetRef: z.ZodString;
@@ -15684,8 +15831,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
15684
15831
  background: string;
15685
15832
  };
15686
15833
  qr?: {
15687
- url: string;
15688
15834
  enabled: boolean;
15835
+ url?: string | undefined;
15836
+ mode?: "redirect" | "raw" | undefined;
15689
15837
  } | undefined;
15690
15838
  logo?: {
15691
15839
  svg?: string | undefined;
@@ -15747,12 +15895,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
15747
15895
  z: number;
15748
15896
  };
15749
15897
  sizeMm: number;
15750
- url: string;
15751
15898
  frameRole: "text" | "accent";
15752
15899
  moduleRole: "text" | "accent";
15753
15900
  face?: "front" | "back" | undefined;
15754
15901
  locked?: boolean | undefined;
15755
15902
  colour?: string | undefined;
15903
+ url?: string | undefined;
15904
+ mode?: "redirect" | "raw" | undefined;
15756
15905
  } | {
15757
15906
  type: "image";
15758
15907
  id: string;
@@ -15829,8 +15978,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
15829
15978
  background: string;
15830
15979
  };
15831
15980
  qr?: {
15832
- url: string;
15833
15981
  enabled: boolean;
15982
+ url?: string | undefined;
15983
+ mode?: "redirect" | "raw" | undefined;
15834
15984
  } | undefined;
15835
15985
  logo?: {
15836
15986
  svg?: string | undefined;
@@ -15892,12 +16042,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
15892
16042
  z: number;
15893
16043
  };
15894
16044
  sizeMm: number;
15895
- url: string;
15896
16045
  frameRole: "text" | "accent";
15897
16046
  moduleRole: "text" | "accent";
15898
16047
  face?: "front" | "back" | undefined;
15899
16048
  locked?: boolean | undefined;
15900
16049
  colour?: string | undefined;
16050
+ url?: string | undefined;
16051
+ mode?: "redirect" | "raw" | undefined;
15901
16052
  } | {
15902
16053
  type: "image";
15903
16054
  id: string;
@@ -15974,8 +16125,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
15974
16125
  background: string;
15975
16126
  };
15976
16127
  qr?: {
15977
- url: string;
15978
16128
  enabled: boolean;
16129
+ url?: string | undefined;
16130
+ mode?: "redirect" | "raw" | undefined;
15979
16131
  } | undefined;
15980
16132
  logo?: {
15981
16133
  svg?: string | undefined;
@@ -16037,12 +16189,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16037
16189
  z: number;
16038
16190
  };
16039
16191
  sizeMm: number;
16040
- url: string;
16041
16192
  frameRole: "text" | "accent";
16042
16193
  moduleRole: "text" | "accent";
16043
16194
  face?: "front" | "back" | undefined;
16044
16195
  locked?: boolean | undefined;
16045
16196
  colour?: string | undefined;
16197
+ url?: string | undefined;
16198
+ mode?: "redirect" | "raw" | undefined;
16046
16199
  } | {
16047
16200
  type: "image";
16048
16201
  id: string;
@@ -16119,8 +16272,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
16119
16272
  background: string;
16120
16273
  };
16121
16274
  qr?: {
16122
- url: string;
16123
16275
  enabled: boolean;
16276
+ url?: string | undefined;
16277
+ mode?: "redirect" | "raw" | undefined;
16124
16278
  } | undefined;
16125
16279
  logo?: {
16126
16280
  svg?: string | undefined;
@@ -16182,12 +16336,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16182
16336
  z: number;
16183
16337
  };
16184
16338
  sizeMm: number;
16185
- url: string;
16186
16339
  frameRole: "text" | "accent";
16187
16340
  moduleRole: "text" | "accent";
16188
16341
  face?: "front" | "back" | undefined;
16189
16342
  locked?: boolean | undefined;
16190
16343
  colour?: string | undefined;
16344
+ url?: string | undefined;
16345
+ mode?: "redirect" | "raw" | undefined;
16191
16346
  } | {
16192
16347
  type: "image";
16193
16348
  id: string;
@@ -16307,12 +16462,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16307
16462
  z: number;
16308
16463
  };
16309
16464
  sizeMm: number;
16310
- url: string;
16311
16465
  frameRole: "text" | "accent";
16312
16466
  moduleRole: "text" | "accent";
16313
16467
  face?: "front" | "back" | undefined;
16314
16468
  locked?: boolean | undefined;
16315
16469
  colour?: string | undefined;
16470
+ url?: string | undefined;
16471
+ mode?: "redirect" | "raw" | undefined;
16316
16472
  } | {
16317
16473
  type: "image";
16318
16474
  id: string;
@@ -16409,8 +16565,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
16409
16565
  background: string;
16410
16566
  };
16411
16567
  qr?: {
16412
- url: string;
16413
16568
  enabled: boolean;
16569
+ url?: string | undefined;
16570
+ mode?: "redirect" | "raw" | undefined;
16414
16571
  } | undefined;
16415
16572
  logo?: {
16416
16573
  svg?: string | undefined;
@@ -16472,12 +16629,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16472
16629
  z: number;
16473
16630
  };
16474
16631
  sizeMm: number;
16475
- url: string;
16476
16632
  frameRole: "text" | "accent";
16477
16633
  moduleRole: "text" | "accent";
16478
16634
  face?: "front" | "back" | undefined;
16479
16635
  locked?: boolean | undefined;
16480
16636
  colour?: string | undefined;
16637
+ url?: string | undefined;
16638
+ mode?: "redirect" | "raw" | undefined;
16481
16639
  } | {
16482
16640
  type: "image";
16483
16641
  id: string;
@@ -16597,12 +16755,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16597
16755
  z: number;
16598
16756
  };
16599
16757
  sizeMm: number;
16600
- url: string;
16601
16758
  frameRole: "text" | "accent";
16602
16759
  moduleRole: "text" | "accent";
16603
16760
  face?: "front" | "back" | undefined;
16604
16761
  locked?: boolean | undefined;
16605
16762
  colour?: string | undefined;
16763
+ url?: string | undefined;
16764
+ mode?: "redirect" | "raw" | undefined;
16606
16765
  } | {
16607
16766
  type: "image";
16608
16767
  id: string;
@@ -16699,8 +16858,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
16699
16858
  background: string;
16700
16859
  };
16701
16860
  qr?: {
16702
- url: string;
16703
16861
  enabled: boolean;
16862
+ url?: string | undefined;
16863
+ mode?: "redirect" | "raw" | undefined;
16704
16864
  } | undefined;
16705
16865
  logo?: {
16706
16866
  svg?: string | undefined;
@@ -16762,12 +16922,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16762
16922
  z: number;
16763
16923
  };
16764
16924
  sizeMm: number;
16765
- url: string;
16766
16925
  frameRole: "text" | "accent";
16767
16926
  moduleRole: "text" | "accent";
16768
16927
  face?: "front" | "back" | undefined;
16769
16928
  locked?: boolean | undefined;
16770
16929
  colour?: string | undefined;
16930
+ url?: string | undefined;
16931
+ mode?: "redirect" | "raw" | undefined;
16771
16932
  } | {
16772
16933
  type: "image";
16773
16934
  id: string;
@@ -16887,12 +17048,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16887
17048
  z: number;
16888
17049
  };
16889
17050
  sizeMm: number;
16890
- url: string;
16891
17051
  frameRole: "text" | "accent";
16892
17052
  moduleRole: "text" | "accent";
16893
17053
  face?: "front" | "back" | undefined;
16894
17054
  locked?: boolean | undefined;
16895
17055
  colour?: string | undefined;
17056
+ url?: string | undefined;
17057
+ mode?: "redirect" | "raw" | undefined;
16896
17058
  } | {
16897
17059
  type: "image";
16898
17060
  id: string;
@@ -16989,8 +17151,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
16989
17151
  background: string;
16990
17152
  };
16991
17153
  qr?: {
16992
- url: string;
16993
17154
  enabled: boolean;
17155
+ url?: string | undefined;
17156
+ mode?: "redirect" | "raw" | undefined;
16994
17157
  } | undefined;
16995
17158
  logo?: {
16996
17159
  svg?: string | undefined;
@@ -17052,12 +17215,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17052
17215
  z: number;
17053
17216
  };
17054
17217
  sizeMm: number;
17055
- url: string;
17056
17218
  frameRole: "text" | "accent";
17057
17219
  moduleRole: "text" | "accent";
17058
17220
  face?: "front" | "back" | undefined;
17059
17221
  locked?: boolean | undefined;
17060
17222
  colour?: string | undefined;
17223
+ url?: string | undefined;
17224
+ mode?: "redirect" | "raw" | undefined;
17061
17225
  } | {
17062
17226
  type: "image";
17063
17227
  id: string;
@@ -17177,12 +17341,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17177
17341
  z: number;
17178
17342
  };
17179
17343
  sizeMm: number;
17180
- url: string;
17181
17344
  frameRole: "text" | "accent";
17182
17345
  moduleRole: "text" | "accent";
17183
17346
  face?: "front" | "back" | undefined;
17184
17347
  locked?: boolean | undefined;
17185
17348
  colour?: string | undefined;
17349
+ url?: string | undefined;
17350
+ mode?: "redirect" | "raw" | undefined;
17186
17351
  } | {
17187
17352
  type: "image";
17188
17353
  id: string;
@@ -17279,8 +17444,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
17279
17444
  background: string;
17280
17445
  };
17281
17446
  qr?: {
17282
- url: string;
17283
17447
  enabled: boolean;
17448
+ url?: string | undefined;
17449
+ mode?: "redirect" | "raw" | undefined;
17284
17450
  } | undefined;
17285
17451
  logo?: {
17286
17452
  svg?: string | undefined;
@@ -17342,12 +17508,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17342
17508
  z: number;
17343
17509
  };
17344
17510
  sizeMm: number;
17345
- url: string;
17346
17511
  frameRole: "text" | "accent";
17347
17512
  moduleRole: "text" | "accent";
17348
17513
  face?: "front" | "back" | undefined;
17349
17514
  locked?: boolean | undefined;
17350
17515
  colour?: string | undefined;
17516
+ url?: string | undefined;
17517
+ mode?: "redirect" | "raw" | undefined;
17351
17518
  } | {
17352
17519
  type: "image";
17353
17520
  id: string;
@@ -17467,12 +17634,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17467
17634
  z: number;
17468
17635
  };
17469
17636
  sizeMm: number;
17470
- url: string;
17471
17637
  frameRole: "text" | "accent";
17472
17638
  moduleRole: "text" | "accent";
17473
17639
  face?: "front" | "back" | undefined;
17474
17640
  locked?: boolean | undefined;
17475
17641
  colour?: string | undefined;
17642
+ url?: string | undefined;
17643
+ mode?: "redirect" | "raw" | undefined;
17476
17644
  } | {
17477
17645
  type: "image";
17478
17646
  id: string;
@@ -17569,8 +17737,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
17569
17737
  background: string;
17570
17738
  };
17571
17739
  qr?: {
17572
- url: string;
17573
17740
  enabled: boolean;
17741
+ url?: string | undefined;
17742
+ mode?: "redirect" | "raw" | undefined;
17574
17743
  } | undefined;
17575
17744
  logo?: {
17576
17745
  svg?: string | undefined;
@@ -17632,12 +17801,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17632
17801
  z: number;
17633
17802
  };
17634
17803
  sizeMm: number;
17635
- url: string;
17636
17804
  frameRole: "text" | "accent";
17637
17805
  moduleRole: "text" | "accent";
17638
17806
  face?: "front" | "back" | undefined;
17639
17807
  locked?: boolean | undefined;
17640
17808
  colour?: string | undefined;
17809
+ url?: string | undefined;
17810
+ mode?: "redirect" | "raw" | undefined;
17641
17811
  } | {
17642
17812
  type: "image";
17643
17813
  id: string;
@@ -17757,12 +17927,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17757
17927
  z: number;
17758
17928
  };
17759
17929
  sizeMm: number;
17760
- url: string;
17761
17930
  frameRole: "text" | "accent";
17762
17931
  moduleRole: "text" | "accent";
17763
17932
  face?: "front" | "back" | undefined;
17764
17933
  locked?: boolean | undefined;
17765
17934
  colour?: string | undefined;
17935
+ url?: string | undefined;
17936
+ mode?: "redirect" | "raw" | undefined;
17766
17937
  } | {
17767
17938
  type: "image";
17768
17939
  id: string;
@@ -17859,8 +18030,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
17859
18030
  background: string;
17860
18031
  };
17861
18032
  qr?: {
17862
- url: string;
17863
18033
  enabled: boolean;
18034
+ url?: string | undefined;
18035
+ mode?: "redirect" | "raw" | undefined;
17864
18036
  } | undefined;
17865
18037
  logo?: {
17866
18038
  svg?: string | undefined;
@@ -17922,12 +18094,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17922
18094
  z: number;
17923
18095
  };
17924
18096
  sizeMm: number;
17925
- url: string;
17926
18097
  frameRole: "text" | "accent";
17927
18098
  moduleRole: "text" | "accent";
17928
18099
  face?: "front" | "back" | undefined;
17929
18100
  locked?: boolean | undefined;
17930
18101
  colour?: string | undefined;
18102
+ url?: string | undefined;
18103
+ mode?: "redirect" | "raw" | undefined;
17931
18104
  } | {
17932
18105
  type: "image";
17933
18106
  id: string;
@@ -18128,12 +18301,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
18128
18301
  z: number;
18129
18302
  };
18130
18303
  sizeMm: number;
18131
- url: string;
18132
18304
  frameRole: "text" | "accent";
18133
18305
  moduleRole: "text" | "accent";
18134
18306
  face?: "front" | "back" | undefined;
18135
18307
  locked?: boolean | undefined;
18136
18308
  colour?: string | undefined;
18309
+ url?: string | undefined;
18310
+ mode?: "redirect" | "raw" | undefined;
18137
18311
  } | {
18138
18312
  type: "image";
18139
18313
  id: string;
@@ -18230,8 +18404,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
18230
18404
  background: string;
18231
18405
  };
18232
18406
  qr?: {
18233
- url: string;
18234
18407
  enabled: boolean;
18408
+ url?: string | undefined;
18409
+ mode?: "redirect" | "raw" | undefined;
18235
18410
  } | undefined;
18236
18411
  logo?: {
18237
18412
  svg?: string | undefined;
@@ -18293,12 +18468,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
18293
18468
  z: number;
18294
18469
  };
18295
18470
  sizeMm: number;
18296
- url: string;
18297
18471
  frameRole: "text" | "accent";
18298
18472
  moduleRole: "text" | "accent";
18299
18473
  face?: "front" | "back" | undefined;
18300
18474
  locked?: boolean | undefined;
18301
18475
  colour?: string | undefined;
18476
+ url?: string | undefined;
18477
+ mode?: "redirect" | "raw" | undefined;
18302
18478
  } | {
18303
18479
  type: "image";
18304
18480
  id: string;
@@ -18483,12 +18659,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
18483
18659
  z: number;
18484
18660
  };
18485
18661
  sizeMm: number;
18486
- url: string;
18487
18662
  frameRole: "text" | "accent";
18488
18663
  moduleRole: "text" | "accent";
18489
18664
  face?: "front" | "back" | undefined;
18490
18665
  locked?: boolean | undefined;
18491
18666
  colour?: string | undefined;
18667
+ url?: string | undefined;
18668
+ mode?: "redirect" | "raw" | undefined;
18492
18669
  } | {
18493
18670
  type: "image";
18494
18671
  id: string;
@@ -18585,8 +18762,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
18585
18762
  background: string;
18586
18763
  };
18587
18764
  qr?: {
18588
- url: string;
18589
18765
  enabled: boolean;
18766
+ url?: string | undefined;
18767
+ mode?: "redirect" | "raw" | undefined;
18590
18768
  } | undefined;
18591
18769
  logo?: {
18592
18770
  svg?: string | undefined;
@@ -18648,12 +18826,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
18648
18826
  z: number;
18649
18827
  };
18650
18828
  sizeMm: number;
18651
- url: string;
18652
18829
  frameRole: "text" | "accent";
18653
18830
  moduleRole: "text" | "accent";
18654
18831
  face?: "front" | "back" | undefined;
18655
18832
  locked?: boolean | undefined;
18656
18833
  colour?: string | undefined;
18834
+ url?: string | undefined;
18835
+ mode?: "redirect" | "raw" | undefined;
18657
18836
  } | {
18658
18837
  type: "image";
18659
18838
  id: string;
@@ -20287,4 +20466,4 @@ declare function validatePhysicalConfig(data: unknown): ValidationResult<z.infer
20287
20466
  declare function validateDigitalConfig(data: unknown): ValidationResult<z.infer<typeof digitalConfigSchema>>;
20288
20467
  declare function validateConfiguration(data: unknown): ValidationResult<z.infer<typeof configurationCreateSchema>>;
20289
20468
 
20290
- export { ADVANCE_FALLBACK_EM, CARD_H_MM, CARD_W_MM, CHIP_RADIUS_MM, CHIP_SCALE_FLOOR, type ChipAxis, EDGE_MARGIN_MM, EMPTY_TEXT_FLOOR_EM, ITALIC_OVERHANG_EM, MAX_CTA_BUTTONS, MIN_WALL_MM, NFC_COIL_DIAMETER_MM, NFC_RADIAL_CLEARANCE_MM, type PrintabilityCtx, type Pt, QR_MATRIX_CELLS, QR_MIN_SIZE_MM, QR_MODULE_MIN_MM, TEXT_LINE_FACTOR_EM, TEXT_MIN_EM_MM, type ValidationResult, type Violation, adminCardCreateSchema, bookingSchema, cardAssetSchema, cardDesignMaterialSchema, cardDesignPatternSchema, cardDesignSchema, cardElementSchema, cardElementsSchema, cardProfileUpdateSchema, cardUpdateSchema, chipAnchorToMm, chipPlacementMaxXY, comboIdSchema, configurationCreateSchema, configurationUpdateSchema, contactDetailTogglesSchema, contactExchangeSchema, cornersOnCard, createOrderSchema, ctaButtonSchema, ctaButtonsSchema, digitalConfigSchema, digitalVisibilitySchema, elementPrintability, elementTransformSchema, entrySourceSchema, footprintOf, hubConfigSchema, hubProfilesUpdateSchema, isFiniteTransform, materialSchema, mmToNearestChipAnchor, obbCorners, patternFamilySchema, physicalConfigSchema, physicalContentOverridesSchema, profileAccessTokenCreateSchema, profileCreateSchema, profilePinVerifySchema, profileUpdateSchema, profileUserDataSchema, profileVisibilitySchema, sanitizeHttpUrl, sanitizeText, signupWithProfileSchema, socialLinksSchema, socialOverridesSchema, textAdvanceEm, tipJarSchema, userDataSchema, validateConfiguration, validateDigitalConfig, validatePhysicalConfig, validateUserData, webAddressSchema };
20469
+ export { ADVANCE_FALLBACK_EM, CARD_H_MM, CARD_W_MM, CHIP_RADIUS_MM, CHIP_SCALE_FLOOR, type ChipAxis, EDGE_MARGIN_MM, EMPTY_TEXT_FLOOR_EM, ITALIC_OVERHANG_EM, MAX_CTA_BUTTONS, MIN_WALL_MM, NFC_COIL_DIAMETER_MM, NFC_RADIAL_CLEARANCE_MM, type PrintabilityCtx, type Pt, QR_MATRIX_CELLS, QR_MIN_SIZE_MM, QR_MODULE_MIN_MM, TEXT_LINE_FACTOR_EM, TEXT_MIN_EM_MM, type ValidationResult, type Violation, adminCardCreateSchema, bookingSchema, cardAssetSchema, cardDesignMaterialSchema, cardDesignPatternSchema, cardDesignSchema, cardElementSchema, cardElementsSchema, cardProfileUpdateSchema, cardUpdateSchema, chipAnchorToMm, chipPlacementMaxXY, comboIdSchema, configurationCreateSchema, configurationUpdateSchema, contactDetailTogglesSchema, contactExchangeSchema, cornersOnCard, createOrderSchema, ctaButtonSchema, ctaButtonsSchema, digitalConfigSchema, digitalVisibilitySchema, elementPrintability, elementTransformSchema, entrySourceSchema, footprintOf, hubConfigSchema, hubProfilesUpdateSchema, isFiniteTransform, materialSchema, mmToNearestChipAnchor, obbCorners, patternFamilySchema, physicalConfigSchema, physicalContentOverridesSchema, profileAccessTokenCreateSchema, profileCreateSchema, profilePinVerifySchema, profileUpdateSchema, profileUserDataSchema, profileVisibilitySchema, qrModeSchema, sanitizeHttpUrl, sanitizeText, signupWithProfileSchema, socialLinksSchema, socialOverridesSchema, textAdvanceEm, tipJarSchema, userDataSchema, validateConfiguration, validateDigitalConfig, validatePhysicalConfig, validateUserData, webAddressSchema };