@nfcard/validation 0.20.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;
@@ -5191,6 +5247,15 @@ declare const tipJarSchema: z.ZodEffects<z.ZodUnknown, {
5191
5247
  handle: string;
5192
5248
  label?: undefined;
5193
5249
  } | undefined, unknown>;
5250
+ declare const bookingSchema: z.ZodEffects<z.ZodUnknown, {
5251
+ provider: _nfcard_types.BookingProviderId;
5252
+ handle: string;
5253
+ label: string;
5254
+ } | {
5255
+ provider: _nfcard_types.BookingProviderId;
5256
+ handle: string;
5257
+ label?: undefined;
5258
+ } | undefined, unknown>;
5194
5259
  declare const digitalConfigSchema: z.ZodObject<{
5195
5260
  templateId: z.ZodEnum<["minimal", "bold", "card", "aurora", "classic", "spotlight", "marquee", "riso"]>;
5196
5261
  accentColor: z.ZodString;
@@ -5287,6 +5352,15 @@ declare const digitalConfigSchema: z.ZodObject<{
5287
5352
  handle: string;
5288
5353
  label?: undefined;
5289
5354
  } | undefined, unknown>>;
5355
+ booking: z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
5356
+ provider: _nfcard_types.BookingProviderId;
5357
+ handle: string;
5358
+ label: string;
5359
+ } | {
5360
+ provider: _nfcard_types.BookingProviderId;
5361
+ handle: string;
5362
+ label?: undefined;
5363
+ } | undefined, unknown>>;
5290
5364
  }, "strip", z.ZodTypeAny, {
5291
5365
  fontKey: string;
5292
5366
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
@@ -5331,6 +5405,15 @@ declare const digitalConfigSchema: z.ZodObject<{
5331
5405
  handle: string;
5332
5406
  label?: undefined;
5333
5407
  } | undefined;
5408
+ booking?: {
5409
+ provider: _nfcard_types.BookingProviderId;
5410
+ handle: string;
5411
+ label: string;
5412
+ } | {
5413
+ provider: _nfcard_types.BookingProviderId;
5414
+ handle: string;
5415
+ label?: undefined;
5416
+ } | undefined;
5334
5417
  }, {
5335
5418
  fontKey: string;
5336
5419
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
@@ -5367,6 +5450,7 @@ declare const digitalConfigSchema: z.ZodObject<{
5367
5450
  label?: string | undefined;
5368
5451
  }[] | undefined;
5369
5452
  tipJar?: unknown;
5453
+ booking?: unknown;
5370
5454
  }>;
5371
5455
  declare const entrySourceSchema: z.ZodObject<{
5372
5456
  output: z.ZodOptional<z.ZodEnum<["with-card", "digital-only"]>>;
@@ -5728,7 +5812,8 @@ declare const configurationCreateSchema: z.ZodObject<{
5728
5812
  underline?: boolean | undefined;
5729
5813
  }>, z.ZodObject<{
5730
5814
  type: z.ZodLiteral<"qr">;
5731
- url: z.ZodString;
5815
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
5816
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
5732
5817
  sizeMm: z.ZodNumber;
5733
5818
  frameRole: z.ZodEnum<["text", "accent"]>;
5734
5819
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -5766,12 +5851,13 @@ declare const configurationCreateSchema: z.ZodObject<{
5766
5851
  z: number;
5767
5852
  };
5768
5853
  sizeMm: number;
5769
- url: string;
5770
5854
  frameRole: "text" | "accent";
5771
5855
  moduleRole: "text" | "accent";
5772
5856
  face?: "front" | "back" | undefined;
5773
5857
  locked?: boolean | undefined;
5774
5858
  colour?: string | undefined;
5859
+ url?: string | undefined;
5860
+ mode?: "redirect" | "raw" | undefined;
5775
5861
  }, {
5776
5862
  type: "qr";
5777
5863
  id: string;
@@ -5783,12 +5869,13 @@ declare const configurationCreateSchema: z.ZodObject<{
5783
5869
  z: number;
5784
5870
  };
5785
5871
  sizeMm: number;
5786
- url: string;
5787
5872
  frameRole: "text" | "accent";
5788
5873
  moduleRole: "text" | "accent";
5789
5874
  face?: "front" | "back" | undefined;
5790
5875
  locked?: boolean | undefined;
5791
5876
  colour?: string | undefined;
5877
+ url?: string | undefined;
5878
+ mode?: "redirect" | "raw" | undefined;
5792
5879
  }>, z.ZodObject<{
5793
5880
  type: z.ZodLiteral<"image">;
5794
5881
  assetRef: z.ZodString;
@@ -6080,13 +6167,16 @@ declare const configurationCreateSchema: z.ZodObject<{
6080
6167
  }>>;
6081
6168
  qr: z.ZodOptional<z.ZodObject<{
6082
6169
  enabled: z.ZodBoolean;
6083
- url: z.ZodString;
6170
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
6171
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
6084
6172
  }, "strip", z.ZodTypeAny, {
6085
- url: string;
6086
6173
  enabled: boolean;
6174
+ url?: string | undefined;
6175
+ mode?: "redirect" | "raw" | undefined;
6087
6176
  }, {
6088
- url: string;
6089
6177
  enabled: boolean;
6178
+ url?: string | undefined;
6179
+ mode?: "redirect" | "raw" | undefined;
6090
6180
  }>>;
6091
6181
  logo: z.ZodOptional<z.ZodObject<{
6092
6182
  svg: z.ZodOptional<z.ZodString>;
@@ -6228,7 +6318,8 @@ declare const configurationCreateSchema: z.ZodObject<{
6228
6318
  underline?: boolean | undefined;
6229
6319
  }>, z.ZodObject<{
6230
6320
  type: z.ZodLiteral<"qr">;
6231
- url: z.ZodString;
6321
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
6322
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
6232
6323
  sizeMm: z.ZodNumber;
6233
6324
  frameRole: z.ZodEnum<["text", "accent"]>;
6234
6325
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -6266,12 +6357,13 @@ declare const configurationCreateSchema: z.ZodObject<{
6266
6357
  z: number;
6267
6358
  };
6268
6359
  sizeMm: number;
6269
- url: string;
6270
6360
  frameRole: "text" | "accent";
6271
6361
  moduleRole: "text" | "accent";
6272
6362
  face?: "front" | "back" | undefined;
6273
6363
  locked?: boolean | undefined;
6274
6364
  colour?: string | undefined;
6365
+ url?: string | undefined;
6366
+ mode?: "redirect" | "raw" | undefined;
6275
6367
  }, {
6276
6368
  type: "qr";
6277
6369
  id: string;
@@ -6283,12 +6375,13 @@ declare const configurationCreateSchema: z.ZodObject<{
6283
6375
  z: number;
6284
6376
  };
6285
6377
  sizeMm: number;
6286
- url: string;
6287
6378
  frameRole: "text" | "accent";
6288
6379
  moduleRole: "text" | "accent";
6289
6380
  face?: "front" | "back" | undefined;
6290
6381
  locked?: boolean | undefined;
6291
6382
  colour?: string | undefined;
6383
+ url?: string | undefined;
6384
+ mode?: "redirect" | "raw" | undefined;
6292
6385
  }>, z.ZodObject<{
6293
6386
  type: z.ZodLiteral<"image">;
6294
6387
  assetRef: z.ZodString;
@@ -6479,8 +6572,9 @@ declare const configurationCreateSchema: z.ZodObject<{
6479
6572
  background: string;
6480
6573
  };
6481
6574
  qr?: {
6482
- url: string;
6483
6575
  enabled: boolean;
6576
+ url?: string | undefined;
6577
+ mode?: "redirect" | "raw" | undefined;
6484
6578
  } | undefined;
6485
6579
  logo?: {
6486
6580
  svg?: string | undefined;
@@ -6542,12 +6636,13 @@ declare const configurationCreateSchema: z.ZodObject<{
6542
6636
  z: number;
6543
6637
  };
6544
6638
  sizeMm: number;
6545
- url: string;
6546
6639
  frameRole: "text" | "accent";
6547
6640
  moduleRole: "text" | "accent";
6548
6641
  face?: "front" | "back" | undefined;
6549
6642
  locked?: boolean | undefined;
6550
6643
  colour?: string | undefined;
6644
+ url?: string | undefined;
6645
+ mode?: "redirect" | "raw" | undefined;
6551
6646
  } | {
6552
6647
  type: "image";
6553
6648
  id: string;
@@ -6624,8 +6719,9 @@ declare const configurationCreateSchema: z.ZodObject<{
6624
6719
  background: string;
6625
6720
  };
6626
6721
  qr?: {
6627
- url: string;
6628
6722
  enabled: boolean;
6723
+ url?: string | undefined;
6724
+ mode?: "redirect" | "raw" | undefined;
6629
6725
  } | undefined;
6630
6726
  logo?: {
6631
6727
  svg?: string | undefined;
@@ -6687,12 +6783,13 @@ declare const configurationCreateSchema: z.ZodObject<{
6687
6783
  z: number;
6688
6784
  };
6689
6785
  sizeMm: number;
6690
- url: string;
6691
6786
  frameRole: "text" | "accent";
6692
6787
  moduleRole: "text" | "accent";
6693
6788
  face?: "front" | "back" | undefined;
6694
6789
  locked?: boolean | undefined;
6695
6790
  colour?: string | undefined;
6791
+ url?: string | undefined;
6792
+ mode?: "redirect" | "raw" | undefined;
6696
6793
  } | {
6697
6794
  type: "image";
6698
6795
  id: string;
@@ -6769,8 +6866,9 @@ declare const configurationCreateSchema: z.ZodObject<{
6769
6866
  background: string;
6770
6867
  };
6771
6868
  qr?: {
6772
- url: string;
6773
6869
  enabled: boolean;
6870
+ url?: string | undefined;
6871
+ mode?: "redirect" | "raw" | undefined;
6774
6872
  } | undefined;
6775
6873
  logo?: {
6776
6874
  svg?: string | undefined;
@@ -6832,12 +6930,13 @@ declare const configurationCreateSchema: z.ZodObject<{
6832
6930
  z: number;
6833
6931
  };
6834
6932
  sizeMm: number;
6835
- url: string;
6836
6933
  frameRole: "text" | "accent";
6837
6934
  moduleRole: "text" | "accent";
6838
6935
  face?: "front" | "back" | undefined;
6839
6936
  locked?: boolean | undefined;
6840
6937
  colour?: string | undefined;
6938
+ url?: string | undefined;
6939
+ mode?: "redirect" | "raw" | undefined;
6841
6940
  } | {
6842
6941
  type: "image";
6843
6942
  id: string;
@@ -6914,8 +7013,9 @@ declare const configurationCreateSchema: z.ZodObject<{
6914
7013
  background: string;
6915
7014
  };
6916
7015
  qr?: {
6917
- url: string;
6918
7016
  enabled: boolean;
7017
+ url?: string | undefined;
7018
+ mode?: "redirect" | "raw" | undefined;
6919
7019
  } | undefined;
6920
7020
  logo?: {
6921
7021
  svg?: string | undefined;
@@ -6977,12 +7077,13 @@ declare const configurationCreateSchema: z.ZodObject<{
6977
7077
  z: number;
6978
7078
  };
6979
7079
  sizeMm: number;
6980
- url: string;
6981
7080
  frameRole: "text" | "accent";
6982
7081
  moduleRole: "text" | "accent";
6983
7082
  face?: "front" | "back" | undefined;
6984
7083
  locked?: boolean | undefined;
6985
7084
  colour?: string | undefined;
7085
+ url?: string | undefined;
7086
+ mode?: "redirect" | "raw" | undefined;
6986
7087
  } | {
6987
7088
  type: "image";
6988
7089
  id: string;
@@ -7102,12 +7203,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7102
7203
  z: number;
7103
7204
  };
7104
7205
  sizeMm: number;
7105
- url: string;
7106
7206
  frameRole: "text" | "accent";
7107
7207
  moduleRole: "text" | "accent";
7108
7208
  face?: "front" | "back" | undefined;
7109
7209
  locked?: boolean | undefined;
7110
7210
  colour?: string | undefined;
7211
+ url?: string | undefined;
7212
+ mode?: "redirect" | "raw" | undefined;
7111
7213
  } | {
7112
7214
  type: "image";
7113
7215
  id: string;
@@ -7204,8 +7306,9 @@ declare const configurationCreateSchema: z.ZodObject<{
7204
7306
  background: string;
7205
7307
  };
7206
7308
  qr?: {
7207
- url: string;
7208
7309
  enabled: boolean;
7310
+ url?: string | undefined;
7311
+ mode?: "redirect" | "raw" | undefined;
7209
7312
  } | undefined;
7210
7313
  logo?: {
7211
7314
  svg?: string | undefined;
@@ -7267,12 +7370,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7267
7370
  z: number;
7268
7371
  };
7269
7372
  sizeMm: number;
7270
- url: string;
7271
7373
  frameRole: "text" | "accent";
7272
7374
  moduleRole: "text" | "accent";
7273
7375
  face?: "front" | "back" | undefined;
7274
7376
  locked?: boolean | undefined;
7275
7377
  colour?: string | undefined;
7378
+ url?: string | undefined;
7379
+ mode?: "redirect" | "raw" | undefined;
7276
7380
  } | {
7277
7381
  type: "image";
7278
7382
  id: string;
@@ -7392,12 +7496,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7392
7496
  z: number;
7393
7497
  };
7394
7498
  sizeMm: number;
7395
- url: string;
7396
7499
  frameRole: "text" | "accent";
7397
7500
  moduleRole: "text" | "accent";
7398
7501
  face?: "front" | "back" | undefined;
7399
7502
  locked?: boolean | undefined;
7400
7503
  colour?: string | undefined;
7504
+ url?: string | undefined;
7505
+ mode?: "redirect" | "raw" | undefined;
7401
7506
  } | {
7402
7507
  type: "image";
7403
7508
  id: string;
@@ -7494,8 +7599,9 @@ declare const configurationCreateSchema: z.ZodObject<{
7494
7599
  background: string;
7495
7600
  };
7496
7601
  qr?: {
7497
- url: string;
7498
7602
  enabled: boolean;
7603
+ url?: string | undefined;
7604
+ mode?: "redirect" | "raw" | undefined;
7499
7605
  } | undefined;
7500
7606
  logo?: {
7501
7607
  svg?: string | undefined;
@@ -7557,12 +7663,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7557
7663
  z: number;
7558
7664
  };
7559
7665
  sizeMm: number;
7560
- url: string;
7561
7666
  frameRole: "text" | "accent";
7562
7667
  moduleRole: "text" | "accent";
7563
7668
  face?: "front" | "back" | undefined;
7564
7669
  locked?: boolean | undefined;
7565
7670
  colour?: string | undefined;
7671
+ url?: string | undefined;
7672
+ mode?: "redirect" | "raw" | undefined;
7566
7673
  } | {
7567
7674
  type: "image";
7568
7675
  id: string;
@@ -7682,12 +7789,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7682
7789
  z: number;
7683
7790
  };
7684
7791
  sizeMm: number;
7685
- url: string;
7686
7792
  frameRole: "text" | "accent";
7687
7793
  moduleRole: "text" | "accent";
7688
7794
  face?: "front" | "back" | undefined;
7689
7795
  locked?: boolean | undefined;
7690
7796
  colour?: string | undefined;
7797
+ url?: string | undefined;
7798
+ mode?: "redirect" | "raw" | undefined;
7691
7799
  } | {
7692
7800
  type: "image";
7693
7801
  id: string;
@@ -7784,8 +7892,9 @@ declare const configurationCreateSchema: z.ZodObject<{
7784
7892
  background: string;
7785
7893
  };
7786
7894
  qr?: {
7787
- url: string;
7788
7895
  enabled: boolean;
7896
+ url?: string | undefined;
7897
+ mode?: "redirect" | "raw" | undefined;
7789
7898
  } | undefined;
7790
7899
  logo?: {
7791
7900
  svg?: string | undefined;
@@ -7847,12 +7956,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7847
7956
  z: number;
7848
7957
  };
7849
7958
  sizeMm: number;
7850
- url: string;
7851
7959
  frameRole: "text" | "accent";
7852
7960
  moduleRole: "text" | "accent";
7853
7961
  face?: "front" | "back" | undefined;
7854
7962
  locked?: boolean | undefined;
7855
7963
  colour?: string | undefined;
7964
+ url?: string | undefined;
7965
+ mode?: "redirect" | "raw" | undefined;
7856
7966
  } | {
7857
7967
  type: "image";
7858
7968
  id: string;
@@ -7972,12 +8082,13 @@ declare const configurationCreateSchema: z.ZodObject<{
7972
8082
  z: number;
7973
8083
  };
7974
8084
  sizeMm: number;
7975
- url: string;
7976
8085
  frameRole: "text" | "accent";
7977
8086
  moduleRole: "text" | "accent";
7978
8087
  face?: "front" | "back" | undefined;
7979
8088
  locked?: boolean | undefined;
7980
8089
  colour?: string | undefined;
8090
+ url?: string | undefined;
8091
+ mode?: "redirect" | "raw" | undefined;
7981
8092
  } | {
7982
8093
  type: "image";
7983
8094
  id: string;
@@ -8074,8 +8185,9 @@ declare const configurationCreateSchema: z.ZodObject<{
8074
8185
  background: string;
8075
8186
  };
8076
8187
  qr?: {
8077
- url: string;
8078
8188
  enabled: boolean;
8189
+ url?: string | undefined;
8190
+ mode?: "redirect" | "raw" | undefined;
8079
8191
  } | undefined;
8080
8192
  logo?: {
8081
8193
  svg?: string | undefined;
@@ -8137,12 +8249,13 @@ declare const configurationCreateSchema: z.ZodObject<{
8137
8249
  z: number;
8138
8250
  };
8139
8251
  sizeMm: number;
8140
- url: string;
8141
8252
  frameRole: "text" | "accent";
8142
8253
  moduleRole: "text" | "accent";
8143
8254
  face?: "front" | "back" | undefined;
8144
8255
  locked?: boolean | undefined;
8145
8256
  colour?: string | undefined;
8257
+ url?: string | undefined;
8258
+ mode?: "redirect" | "raw" | undefined;
8146
8259
  } | {
8147
8260
  type: "image";
8148
8261
  id: string;
@@ -8262,12 +8375,13 @@ declare const configurationCreateSchema: z.ZodObject<{
8262
8375
  z: number;
8263
8376
  };
8264
8377
  sizeMm: number;
8265
- url: string;
8266
8378
  frameRole: "text" | "accent";
8267
8379
  moduleRole: "text" | "accent";
8268
8380
  face?: "front" | "back" | undefined;
8269
8381
  locked?: boolean | undefined;
8270
8382
  colour?: string | undefined;
8383
+ url?: string | undefined;
8384
+ mode?: "redirect" | "raw" | undefined;
8271
8385
  } | {
8272
8386
  type: "image";
8273
8387
  id: string;
@@ -8364,8 +8478,9 @@ declare const configurationCreateSchema: z.ZodObject<{
8364
8478
  background: string;
8365
8479
  };
8366
8480
  qr?: {
8367
- url: string;
8368
8481
  enabled: boolean;
8482
+ url?: string | undefined;
8483
+ mode?: "redirect" | "raw" | undefined;
8369
8484
  } | undefined;
8370
8485
  logo?: {
8371
8486
  svg?: string | undefined;
@@ -8427,12 +8542,13 @@ declare const configurationCreateSchema: z.ZodObject<{
8427
8542
  z: number;
8428
8543
  };
8429
8544
  sizeMm: number;
8430
- url: string;
8431
8545
  frameRole: "text" | "accent";
8432
8546
  moduleRole: "text" | "accent";
8433
8547
  face?: "front" | "back" | undefined;
8434
8548
  locked?: boolean | undefined;
8435
8549
  colour?: string | undefined;
8550
+ url?: string | undefined;
8551
+ mode?: "redirect" | "raw" | undefined;
8436
8552
  } | {
8437
8553
  type: "image";
8438
8554
  id: string;
@@ -8552,12 +8668,13 @@ declare const configurationCreateSchema: z.ZodObject<{
8552
8668
  z: number;
8553
8669
  };
8554
8670
  sizeMm: number;
8555
- url: string;
8556
8671
  frameRole: "text" | "accent";
8557
8672
  moduleRole: "text" | "accent";
8558
8673
  face?: "front" | "back" | undefined;
8559
8674
  locked?: boolean | undefined;
8560
8675
  colour?: string | undefined;
8676
+ url?: string | undefined;
8677
+ mode?: "redirect" | "raw" | undefined;
8561
8678
  } | {
8562
8679
  type: "image";
8563
8680
  id: string;
@@ -8654,8 +8771,9 @@ declare const configurationCreateSchema: z.ZodObject<{
8654
8771
  background: string;
8655
8772
  };
8656
8773
  qr?: {
8657
- url: string;
8658
8774
  enabled: boolean;
8775
+ url?: string | undefined;
8776
+ mode?: "redirect" | "raw" | undefined;
8659
8777
  } | undefined;
8660
8778
  logo?: {
8661
8779
  svg?: string | undefined;
@@ -8717,12 +8835,13 @@ declare const configurationCreateSchema: z.ZodObject<{
8717
8835
  z: number;
8718
8836
  };
8719
8837
  sizeMm: number;
8720
- url: string;
8721
8838
  frameRole: "text" | "accent";
8722
8839
  moduleRole: "text" | "accent";
8723
8840
  face?: "front" | "back" | undefined;
8724
8841
  locked?: boolean | undefined;
8725
8842
  colour?: string | undefined;
8843
+ url?: string | undefined;
8844
+ mode?: "redirect" | "raw" | undefined;
8726
8845
  } | {
8727
8846
  type: "image";
8728
8847
  id: string;
@@ -8869,6 +8988,15 @@ declare const configurationCreateSchema: z.ZodObject<{
8869
8988
  handle: string;
8870
8989
  label?: undefined;
8871
8990
  } | undefined, unknown>>;
8991
+ booking: z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
8992
+ provider: _nfcard_types.BookingProviderId;
8993
+ handle: string;
8994
+ label: string;
8995
+ } | {
8996
+ provider: _nfcard_types.BookingProviderId;
8997
+ handle: string;
8998
+ label?: undefined;
8999
+ } | undefined, unknown>>;
8872
9000
  }, "strip", z.ZodTypeAny, {
8873
9001
  fontKey: string;
8874
9002
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
@@ -8913,6 +9041,15 @@ declare const configurationCreateSchema: z.ZodObject<{
8913
9041
  handle: string;
8914
9042
  label?: undefined;
8915
9043
  } | undefined;
9044
+ booking?: {
9045
+ provider: _nfcard_types.BookingProviderId;
9046
+ handle: string;
9047
+ label: string;
9048
+ } | {
9049
+ provider: _nfcard_types.BookingProviderId;
9050
+ handle: string;
9051
+ label?: undefined;
9052
+ } | undefined;
8916
9053
  }, {
8917
9054
  fontKey: string;
8918
9055
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
@@ -8949,6 +9086,7 @@ declare const configurationCreateSchema: z.ZodObject<{
8949
9086
  label?: string | undefined;
8950
9087
  }[] | undefined;
8951
9088
  tipJar?: unknown;
9089
+ booking?: unknown;
8952
9090
  }>;
8953
9091
  quantity: z.ZodDefault<z.ZodNumber>;
8954
9092
  existingProfileId: z.ZodOptional<z.ZodString>;
@@ -9077,12 +9215,13 @@ declare const configurationCreateSchema: z.ZodObject<{
9077
9215
  z: number;
9078
9216
  };
9079
9217
  sizeMm: number;
9080
- url: string;
9081
9218
  frameRole: "text" | "accent";
9082
9219
  moduleRole: "text" | "accent";
9083
9220
  face?: "front" | "back" | undefined;
9084
9221
  locked?: boolean | undefined;
9085
9222
  colour?: string | undefined;
9223
+ url?: string | undefined;
9224
+ mode?: "redirect" | "raw" | undefined;
9086
9225
  } | {
9087
9226
  type: "image";
9088
9227
  id: string;
@@ -9179,8 +9318,9 @@ declare const configurationCreateSchema: z.ZodObject<{
9179
9318
  background: string;
9180
9319
  };
9181
9320
  qr?: {
9182
- url: string;
9183
9321
  enabled: boolean;
9322
+ url?: string | undefined;
9323
+ mode?: "redirect" | "raw" | undefined;
9184
9324
  } | undefined;
9185
9325
  logo?: {
9186
9326
  svg?: string | undefined;
@@ -9242,12 +9382,13 @@ declare const configurationCreateSchema: z.ZodObject<{
9242
9382
  z: number;
9243
9383
  };
9244
9384
  sizeMm: number;
9245
- url: string;
9246
9385
  frameRole: "text" | "accent";
9247
9386
  moduleRole: "text" | "accent";
9248
9387
  face?: "front" | "back" | undefined;
9249
9388
  locked?: boolean | undefined;
9250
9389
  colour?: string | undefined;
9390
+ url?: string | undefined;
9391
+ mode?: "redirect" | "raw" | undefined;
9251
9392
  } | {
9252
9393
  type: "image";
9253
9394
  id: string;
@@ -9342,6 +9483,15 @@ declare const configurationCreateSchema: z.ZodObject<{
9342
9483
  handle: string;
9343
9484
  label?: undefined;
9344
9485
  } | undefined;
9486
+ booking?: {
9487
+ provider: _nfcard_types.BookingProviderId;
9488
+ handle: string;
9489
+ label: string;
9490
+ } | {
9491
+ provider: _nfcard_types.BookingProviderId;
9492
+ handle: string;
9493
+ label?: undefined;
9494
+ } | undefined;
9345
9495
  };
9346
9496
  quantity: number;
9347
9497
  existingProfileId?: string | undefined;
@@ -9452,12 +9602,13 @@ declare const configurationCreateSchema: z.ZodObject<{
9452
9602
  z: number;
9453
9603
  };
9454
9604
  sizeMm: number;
9455
- url: string;
9456
9605
  frameRole: "text" | "accent";
9457
9606
  moduleRole: "text" | "accent";
9458
9607
  face?: "front" | "back" | undefined;
9459
9608
  locked?: boolean | undefined;
9460
9609
  colour?: string | undefined;
9610
+ url?: string | undefined;
9611
+ mode?: "redirect" | "raw" | undefined;
9461
9612
  } | {
9462
9613
  type: "image";
9463
9614
  id: string;
@@ -9554,8 +9705,9 @@ declare const configurationCreateSchema: z.ZodObject<{
9554
9705
  background: string;
9555
9706
  };
9556
9707
  qr?: {
9557
- url: string;
9558
9708
  enabled: boolean;
9709
+ url?: string | undefined;
9710
+ mode?: "redirect" | "raw" | undefined;
9559
9711
  } | undefined;
9560
9712
  logo?: {
9561
9713
  svg?: string | undefined;
@@ -9617,12 +9769,13 @@ declare const configurationCreateSchema: z.ZodObject<{
9617
9769
  z: number;
9618
9770
  };
9619
9771
  sizeMm: number;
9620
- url: string;
9621
9772
  frameRole: "text" | "accent";
9622
9773
  moduleRole: "text" | "accent";
9623
9774
  face?: "front" | "back" | undefined;
9624
9775
  locked?: boolean | undefined;
9625
9776
  colour?: string | undefined;
9777
+ url?: string | undefined;
9778
+ mode?: "redirect" | "raw" | undefined;
9626
9779
  } | {
9627
9780
  type: "image";
9628
9781
  id: string;
@@ -9709,6 +9862,7 @@ declare const configurationCreateSchema: z.ZodObject<{
9709
9862
  label?: string | undefined;
9710
9863
  }[] | undefined;
9711
9864
  tipJar?: unknown;
9865
+ booking?: unknown;
9712
9866
  };
9713
9867
  quantity?: number | undefined;
9714
9868
  existingProfileId?: string | undefined;
@@ -10055,7 +10209,8 @@ declare const configurationUpdateSchema: z.ZodObject<{
10055
10209
  underline?: boolean | undefined;
10056
10210
  }>, z.ZodObject<{
10057
10211
  type: z.ZodLiteral<"qr">;
10058
- url: z.ZodString;
10212
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
10213
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
10059
10214
  sizeMm: z.ZodNumber;
10060
10215
  frameRole: z.ZodEnum<["text", "accent"]>;
10061
10216
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -10093,12 +10248,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
10093
10248
  z: number;
10094
10249
  };
10095
10250
  sizeMm: number;
10096
- url: string;
10097
10251
  frameRole: "text" | "accent";
10098
10252
  moduleRole: "text" | "accent";
10099
10253
  face?: "front" | "back" | undefined;
10100
10254
  locked?: boolean | undefined;
10101
10255
  colour?: string | undefined;
10256
+ url?: string | undefined;
10257
+ mode?: "redirect" | "raw" | undefined;
10102
10258
  }, {
10103
10259
  type: "qr";
10104
10260
  id: string;
@@ -10110,12 +10266,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
10110
10266
  z: number;
10111
10267
  };
10112
10268
  sizeMm: number;
10113
- url: string;
10114
10269
  frameRole: "text" | "accent";
10115
10270
  moduleRole: "text" | "accent";
10116
10271
  face?: "front" | "back" | undefined;
10117
10272
  locked?: boolean | undefined;
10118
10273
  colour?: string | undefined;
10274
+ url?: string | undefined;
10275
+ mode?: "redirect" | "raw" | undefined;
10119
10276
  }>, z.ZodObject<{
10120
10277
  type: z.ZodLiteral<"image">;
10121
10278
  assetRef: z.ZodString;
@@ -10407,13 +10564,16 @@ declare const configurationUpdateSchema: z.ZodObject<{
10407
10564
  }>>;
10408
10565
  qr: z.ZodOptional<z.ZodObject<{
10409
10566
  enabled: z.ZodBoolean;
10410
- url: z.ZodString;
10567
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
10568
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
10411
10569
  }, "strip", z.ZodTypeAny, {
10412
- url: string;
10413
10570
  enabled: boolean;
10571
+ url?: string | undefined;
10572
+ mode?: "redirect" | "raw" | undefined;
10414
10573
  }, {
10415
- url: string;
10416
10574
  enabled: boolean;
10575
+ url?: string | undefined;
10576
+ mode?: "redirect" | "raw" | undefined;
10417
10577
  }>>;
10418
10578
  logo: z.ZodOptional<z.ZodObject<{
10419
10579
  svg: z.ZodOptional<z.ZodString>;
@@ -10555,7 +10715,8 @@ declare const configurationUpdateSchema: z.ZodObject<{
10555
10715
  underline?: boolean | undefined;
10556
10716
  }>, z.ZodObject<{
10557
10717
  type: z.ZodLiteral<"qr">;
10558
- url: z.ZodString;
10718
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
10719
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
10559
10720
  sizeMm: z.ZodNumber;
10560
10721
  frameRole: z.ZodEnum<["text", "accent"]>;
10561
10722
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -10593,12 +10754,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
10593
10754
  z: number;
10594
10755
  };
10595
10756
  sizeMm: number;
10596
- url: string;
10597
10757
  frameRole: "text" | "accent";
10598
10758
  moduleRole: "text" | "accent";
10599
10759
  face?: "front" | "back" | undefined;
10600
10760
  locked?: boolean | undefined;
10601
10761
  colour?: string | undefined;
10762
+ url?: string | undefined;
10763
+ mode?: "redirect" | "raw" | undefined;
10602
10764
  }, {
10603
10765
  type: "qr";
10604
10766
  id: string;
@@ -10610,12 +10772,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
10610
10772
  z: number;
10611
10773
  };
10612
10774
  sizeMm: number;
10613
- url: string;
10614
10775
  frameRole: "text" | "accent";
10615
10776
  moduleRole: "text" | "accent";
10616
10777
  face?: "front" | "back" | undefined;
10617
10778
  locked?: boolean | undefined;
10618
10779
  colour?: string | undefined;
10780
+ url?: string | undefined;
10781
+ mode?: "redirect" | "raw" | undefined;
10619
10782
  }>, z.ZodObject<{
10620
10783
  type: z.ZodLiteral<"image">;
10621
10784
  assetRef: z.ZodString;
@@ -10806,8 +10969,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
10806
10969
  background: string;
10807
10970
  };
10808
10971
  qr?: {
10809
- url: string;
10810
10972
  enabled: boolean;
10973
+ url?: string | undefined;
10974
+ mode?: "redirect" | "raw" | undefined;
10811
10975
  } | undefined;
10812
10976
  logo?: {
10813
10977
  svg?: string | undefined;
@@ -10869,12 +11033,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
10869
11033
  z: number;
10870
11034
  };
10871
11035
  sizeMm: number;
10872
- url: string;
10873
11036
  frameRole: "text" | "accent";
10874
11037
  moduleRole: "text" | "accent";
10875
11038
  face?: "front" | "back" | undefined;
10876
11039
  locked?: boolean | undefined;
10877
11040
  colour?: string | undefined;
11041
+ url?: string | undefined;
11042
+ mode?: "redirect" | "raw" | undefined;
10878
11043
  } | {
10879
11044
  type: "image";
10880
11045
  id: string;
@@ -10951,8 +11116,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
10951
11116
  background: string;
10952
11117
  };
10953
11118
  qr?: {
10954
- url: string;
10955
11119
  enabled: boolean;
11120
+ url?: string | undefined;
11121
+ mode?: "redirect" | "raw" | undefined;
10956
11122
  } | undefined;
10957
11123
  logo?: {
10958
11124
  svg?: string | undefined;
@@ -11014,12 +11180,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11014
11180
  z: number;
11015
11181
  };
11016
11182
  sizeMm: number;
11017
- url: string;
11018
11183
  frameRole: "text" | "accent";
11019
11184
  moduleRole: "text" | "accent";
11020
11185
  face?: "front" | "back" | undefined;
11021
11186
  locked?: boolean | undefined;
11022
11187
  colour?: string | undefined;
11188
+ url?: string | undefined;
11189
+ mode?: "redirect" | "raw" | undefined;
11023
11190
  } | {
11024
11191
  type: "image";
11025
11192
  id: string;
@@ -11096,8 +11263,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
11096
11263
  background: string;
11097
11264
  };
11098
11265
  qr?: {
11099
- url: string;
11100
11266
  enabled: boolean;
11267
+ url?: string | undefined;
11268
+ mode?: "redirect" | "raw" | undefined;
11101
11269
  } | undefined;
11102
11270
  logo?: {
11103
11271
  svg?: string | undefined;
@@ -11159,12 +11327,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11159
11327
  z: number;
11160
11328
  };
11161
11329
  sizeMm: number;
11162
- url: string;
11163
11330
  frameRole: "text" | "accent";
11164
11331
  moduleRole: "text" | "accent";
11165
11332
  face?: "front" | "back" | undefined;
11166
11333
  locked?: boolean | undefined;
11167
11334
  colour?: string | undefined;
11335
+ url?: string | undefined;
11336
+ mode?: "redirect" | "raw" | undefined;
11168
11337
  } | {
11169
11338
  type: "image";
11170
11339
  id: string;
@@ -11241,8 +11410,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
11241
11410
  background: string;
11242
11411
  };
11243
11412
  qr?: {
11244
- url: string;
11245
11413
  enabled: boolean;
11414
+ url?: string | undefined;
11415
+ mode?: "redirect" | "raw" | undefined;
11246
11416
  } | undefined;
11247
11417
  logo?: {
11248
11418
  svg?: string | undefined;
@@ -11304,12 +11474,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11304
11474
  z: number;
11305
11475
  };
11306
11476
  sizeMm: number;
11307
- url: string;
11308
11477
  frameRole: "text" | "accent";
11309
11478
  moduleRole: "text" | "accent";
11310
11479
  face?: "front" | "back" | undefined;
11311
11480
  locked?: boolean | undefined;
11312
11481
  colour?: string | undefined;
11482
+ url?: string | undefined;
11483
+ mode?: "redirect" | "raw" | undefined;
11313
11484
  } | {
11314
11485
  type: "image";
11315
11486
  id: string;
@@ -11429,12 +11600,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11429
11600
  z: number;
11430
11601
  };
11431
11602
  sizeMm: number;
11432
- url: string;
11433
11603
  frameRole: "text" | "accent";
11434
11604
  moduleRole: "text" | "accent";
11435
11605
  face?: "front" | "back" | undefined;
11436
11606
  locked?: boolean | undefined;
11437
11607
  colour?: string | undefined;
11608
+ url?: string | undefined;
11609
+ mode?: "redirect" | "raw" | undefined;
11438
11610
  } | {
11439
11611
  type: "image";
11440
11612
  id: string;
@@ -11531,8 +11703,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
11531
11703
  background: string;
11532
11704
  };
11533
11705
  qr?: {
11534
- url: string;
11535
11706
  enabled: boolean;
11707
+ url?: string | undefined;
11708
+ mode?: "redirect" | "raw" | undefined;
11536
11709
  } | undefined;
11537
11710
  logo?: {
11538
11711
  svg?: string | undefined;
@@ -11594,12 +11767,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11594
11767
  z: number;
11595
11768
  };
11596
11769
  sizeMm: number;
11597
- url: string;
11598
11770
  frameRole: "text" | "accent";
11599
11771
  moduleRole: "text" | "accent";
11600
11772
  face?: "front" | "back" | undefined;
11601
11773
  locked?: boolean | undefined;
11602
11774
  colour?: string | undefined;
11775
+ url?: string | undefined;
11776
+ mode?: "redirect" | "raw" | undefined;
11603
11777
  } | {
11604
11778
  type: "image";
11605
11779
  id: string;
@@ -11719,12 +11893,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11719
11893
  z: number;
11720
11894
  };
11721
11895
  sizeMm: number;
11722
- url: string;
11723
11896
  frameRole: "text" | "accent";
11724
11897
  moduleRole: "text" | "accent";
11725
11898
  face?: "front" | "back" | undefined;
11726
11899
  locked?: boolean | undefined;
11727
11900
  colour?: string | undefined;
11901
+ url?: string | undefined;
11902
+ mode?: "redirect" | "raw" | undefined;
11728
11903
  } | {
11729
11904
  type: "image";
11730
11905
  id: string;
@@ -11821,8 +11996,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
11821
11996
  background: string;
11822
11997
  };
11823
11998
  qr?: {
11824
- url: string;
11825
11999
  enabled: boolean;
12000
+ url?: string | undefined;
12001
+ mode?: "redirect" | "raw" | undefined;
11826
12002
  } | undefined;
11827
12003
  logo?: {
11828
12004
  svg?: string | undefined;
@@ -11884,12 +12060,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
11884
12060
  z: number;
11885
12061
  };
11886
12062
  sizeMm: number;
11887
- url: string;
11888
12063
  frameRole: "text" | "accent";
11889
12064
  moduleRole: "text" | "accent";
11890
12065
  face?: "front" | "back" | undefined;
11891
12066
  locked?: boolean | undefined;
11892
12067
  colour?: string | undefined;
12068
+ url?: string | undefined;
12069
+ mode?: "redirect" | "raw" | undefined;
11893
12070
  } | {
11894
12071
  type: "image";
11895
12072
  id: string;
@@ -12009,12 +12186,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12009
12186
  z: number;
12010
12187
  };
12011
12188
  sizeMm: number;
12012
- url: string;
12013
12189
  frameRole: "text" | "accent";
12014
12190
  moduleRole: "text" | "accent";
12015
12191
  face?: "front" | "back" | undefined;
12016
12192
  locked?: boolean | undefined;
12017
12193
  colour?: string | undefined;
12194
+ url?: string | undefined;
12195
+ mode?: "redirect" | "raw" | undefined;
12018
12196
  } | {
12019
12197
  type: "image";
12020
12198
  id: string;
@@ -12111,8 +12289,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
12111
12289
  background: string;
12112
12290
  };
12113
12291
  qr?: {
12114
- url: string;
12115
12292
  enabled: boolean;
12293
+ url?: string | undefined;
12294
+ mode?: "redirect" | "raw" | undefined;
12116
12295
  } | undefined;
12117
12296
  logo?: {
12118
12297
  svg?: string | undefined;
@@ -12174,12 +12353,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12174
12353
  z: number;
12175
12354
  };
12176
12355
  sizeMm: number;
12177
- url: string;
12178
12356
  frameRole: "text" | "accent";
12179
12357
  moduleRole: "text" | "accent";
12180
12358
  face?: "front" | "back" | undefined;
12181
12359
  locked?: boolean | undefined;
12182
12360
  colour?: string | undefined;
12361
+ url?: string | undefined;
12362
+ mode?: "redirect" | "raw" | undefined;
12183
12363
  } | {
12184
12364
  type: "image";
12185
12365
  id: string;
@@ -12299,12 +12479,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12299
12479
  z: number;
12300
12480
  };
12301
12481
  sizeMm: number;
12302
- url: string;
12303
12482
  frameRole: "text" | "accent";
12304
12483
  moduleRole: "text" | "accent";
12305
12484
  face?: "front" | "back" | undefined;
12306
12485
  locked?: boolean | undefined;
12307
12486
  colour?: string | undefined;
12487
+ url?: string | undefined;
12488
+ mode?: "redirect" | "raw" | undefined;
12308
12489
  } | {
12309
12490
  type: "image";
12310
12491
  id: string;
@@ -12401,8 +12582,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
12401
12582
  background: string;
12402
12583
  };
12403
12584
  qr?: {
12404
- url: string;
12405
12585
  enabled: boolean;
12586
+ url?: string | undefined;
12587
+ mode?: "redirect" | "raw" | undefined;
12406
12588
  } | undefined;
12407
12589
  logo?: {
12408
12590
  svg?: string | undefined;
@@ -12464,12 +12646,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12464
12646
  z: number;
12465
12647
  };
12466
12648
  sizeMm: number;
12467
- url: string;
12468
12649
  frameRole: "text" | "accent";
12469
12650
  moduleRole: "text" | "accent";
12470
12651
  face?: "front" | "back" | undefined;
12471
12652
  locked?: boolean | undefined;
12472
12653
  colour?: string | undefined;
12654
+ url?: string | undefined;
12655
+ mode?: "redirect" | "raw" | undefined;
12473
12656
  } | {
12474
12657
  type: "image";
12475
12658
  id: string;
@@ -12589,12 +12772,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12589
12772
  z: number;
12590
12773
  };
12591
12774
  sizeMm: number;
12592
- url: string;
12593
12775
  frameRole: "text" | "accent";
12594
12776
  moduleRole: "text" | "accent";
12595
12777
  face?: "front" | "back" | undefined;
12596
12778
  locked?: boolean | undefined;
12597
12779
  colour?: string | undefined;
12780
+ url?: string | undefined;
12781
+ mode?: "redirect" | "raw" | undefined;
12598
12782
  } | {
12599
12783
  type: "image";
12600
12784
  id: string;
@@ -12691,8 +12875,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
12691
12875
  background: string;
12692
12876
  };
12693
12877
  qr?: {
12694
- url: string;
12695
12878
  enabled: boolean;
12879
+ url?: string | undefined;
12880
+ mode?: "redirect" | "raw" | undefined;
12696
12881
  } | undefined;
12697
12882
  logo?: {
12698
12883
  svg?: string | undefined;
@@ -12754,12 +12939,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12754
12939
  z: number;
12755
12940
  };
12756
12941
  sizeMm: number;
12757
- url: string;
12758
12942
  frameRole: "text" | "accent";
12759
12943
  moduleRole: "text" | "accent";
12760
12944
  face?: "front" | "back" | undefined;
12761
12945
  locked?: boolean | undefined;
12762
12946
  colour?: string | undefined;
12947
+ url?: string | undefined;
12948
+ mode?: "redirect" | "raw" | undefined;
12763
12949
  } | {
12764
12950
  type: "image";
12765
12951
  id: string;
@@ -12879,12 +13065,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
12879
13065
  z: number;
12880
13066
  };
12881
13067
  sizeMm: number;
12882
- url: string;
12883
13068
  frameRole: "text" | "accent";
12884
13069
  moduleRole: "text" | "accent";
12885
13070
  face?: "front" | "back" | undefined;
12886
13071
  locked?: boolean | undefined;
12887
13072
  colour?: string | undefined;
13073
+ url?: string | undefined;
13074
+ mode?: "redirect" | "raw" | undefined;
12888
13075
  } | {
12889
13076
  type: "image";
12890
13077
  id: string;
@@ -12981,8 +13168,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
12981
13168
  background: string;
12982
13169
  };
12983
13170
  qr?: {
12984
- url: string;
12985
13171
  enabled: boolean;
13172
+ url?: string | undefined;
13173
+ mode?: "redirect" | "raw" | undefined;
12986
13174
  } | undefined;
12987
13175
  logo?: {
12988
13176
  svg?: string | undefined;
@@ -13044,12 +13232,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
13044
13232
  z: number;
13045
13233
  };
13046
13234
  sizeMm: number;
13047
- url: string;
13048
13235
  frameRole: "text" | "accent";
13049
13236
  moduleRole: "text" | "accent";
13050
13237
  face?: "front" | "back" | undefined;
13051
13238
  locked?: boolean | undefined;
13052
13239
  colour?: string | undefined;
13240
+ url?: string | undefined;
13241
+ mode?: "redirect" | "raw" | undefined;
13053
13242
  } | {
13054
13243
  type: "image";
13055
13244
  id: string;
@@ -13196,6 +13385,15 @@ declare const configurationUpdateSchema: z.ZodObject<{
13196
13385
  handle: string;
13197
13386
  label?: undefined;
13198
13387
  } | undefined, unknown>>;
13388
+ booking: z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
13389
+ provider: _nfcard_types.BookingProviderId;
13390
+ handle: string;
13391
+ label: string;
13392
+ } | {
13393
+ provider: _nfcard_types.BookingProviderId;
13394
+ handle: string;
13395
+ label?: undefined;
13396
+ } | undefined, unknown>>;
13199
13397
  }, "strip", z.ZodTypeAny, {
13200
13398
  fontKey: string;
13201
13399
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
@@ -13240,6 +13438,15 @@ declare const configurationUpdateSchema: z.ZodObject<{
13240
13438
  handle: string;
13241
13439
  label?: undefined;
13242
13440
  } | undefined;
13441
+ booking?: {
13442
+ provider: _nfcard_types.BookingProviderId;
13443
+ handle: string;
13444
+ label: string;
13445
+ } | {
13446
+ provider: _nfcard_types.BookingProviderId;
13447
+ handle: string;
13448
+ label?: undefined;
13449
+ } | undefined;
13243
13450
  }, {
13244
13451
  fontKey: string;
13245
13452
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
@@ -13276,6 +13483,7 @@ declare const configurationUpdateSchema: z.ZodObject<{
13276
13483
  label?: string | undefined;
13277
13484
  }[] | undefined;
13278
13485
  tipJar?: unknown;
13486
+ booking?: unknown;
13279
13487
  }>>;
13280
13488
  quantity: z.ZodOptional<z.ZodNumber>;
13281
13489
  existingProfileId: z.ZodOptional<z.ZodString>;
@@ -13375,12 +13583,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
13375
13583
  z: number;
13376
13584
  };
13377
13585
  sizeMm: number;
13378
- url: string;
13379
13586
  frameRole: "text" | "accent";
13380
13587
  moduleRole: "text" | "accent";
13381
13588
  face?: "front" | "back" | undefined;
13382
13589
  locked?: boolean | undefined;
13383
13590
  colour?: string | undefined;
13591
+ url?: string | undefined;
13592
+ mode?: "redirect" | "raw" | undefined;
13384
13593
  } | {
13385
13594
  type: "image";
13386
13595
  id: string;
@@ -13477,8 +13686,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
13477
13686
  background: string;
13478
13687
  };
13479
13688
  qr?: {
13480
- url: string;
13481
13689
  enabled: boolean;
13690
+ url?: string | undefined;
13691
+ mode?: "redirect" | "raw" | undefined;
13482
13692
  } | undefined;
13483
13693
  logo?: {
13484
13694
  svg?: string | undefined;
@@ -13540,12 +13750,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
13540
13750
  z: number;
13541
13751
  };
13542
13752
  sizeMm: number;
13543
- url: string;
13544
13753
  frameRole: "text" | "accent";
13545
13754
  moduleRole: "text" | "accent";
13546
13755
  face?: "front" | "back" | undefined;
13547
13756
  locked?: boolean | undefined;
13548
13757
  colour?: string | undefined;
13758
+ url?: string | undefined;
13759
+ mode?: "redirect" | "raw" | undefined;
13549
13760
  } | {
13550
13761
  type: "image";
13551
13762
  id: string;
@@ -13640,6 +13851,15 @@ declare const configurationUpdateSchema: z.ZodObject<{
13640
13851
  handle: string;
13641
13852
  label?: undefined;
13642
13853
  } | undefined;
13854
+ booking?: {
13855
+ provider: _nfcard_types.BookingProviderId;
13856
+ handle: string;
13857
+ label: string;
13858
+ } | {
13859
+ provider: _nfcard_types.BookingProviderId;
13860
+ handle: string;
13861
+ label?: undefined;
13862
+ } | undefined;
13643
13863
  } | undefined;
13644
13864
  quantity?: number | undefined;
13645
13865
  existingProfileId?: string | undefined;
@@ -13739,12 +13959,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
13739
13959
  z: number;
13740
13960
  };
13741
13961
  sizeMm: number;
13742
- url: string;
13743
13962
  frameRole: "text" | "accent";
13744
13963
  moduleRole: "text" | "accent";
13745
13964
  face?: "front" | "back" | undefined;
13746
13965
  locked?: boolean | undefined;
13747
13966
  colour?: string | undefined;
13967
+ url?: string | undefined;
13968
+ mode?: "redirect" | "raw" | undefined;
13748
13969
  } | {
13749
13970
  type: "image";
13750
13971
  id: string;
@@ -13841,8 +14062,9 @@ declare const configurationUpdateSchema: z.ZodObject<{
13841
14062
  background: string;
13842
14063
  };
13843
14064
  qr?: {
13844
- url: string;
13845
14065
  enabled: boolean;
14066
+ url?: string | undefined;
14067
+ mode?: "redirect" | "raw" | undefined;
13846
14068
  } | undefined;
13847
14069
  logo?: {
13848
14070
  svg?: string | undefined;
@@ -13904,12 +14126,13 @@ declare const configurationUpdateSchema: z.ZodObject<{
13904
14126
  z: number;
13905
14127
  };
13906
14128
  sizeMm: number;
13907
- url: string;
13908
14129
  frameRole: "text" | "accent";
13909
14130
  moduleRole: "text" | "accent";
13910
14131
  face?: "front" | "back" | undefined;
13911
14132
  locked?: boolean | undefined;
13912
14133
  colour?: string | undefined;
14134
+ url?: string | undefined;
14135
+ mode?: "redirect" | "raw" | undefined;
13913
14136
  } | {
13914
14137
  type: "image";
13915
14138
  id: string;
@@ -13996,6 +14219,7 @@ declare const configurationUpdateSchema: z.ZodObject<{
13996
14219
  label?: string | undefined;
13997
14220
  }[] | undefined;
13998
14221
  tipJar?: unknown;
14222
+ booking?: unknown;
13999
14223
  } | undefined;
14000
14224
  quantity?: number | undefined;
14001
14225
  existingProfileId?: string | undefined;
@@ -14111,6 +14335,15 @@ declare const cardUpdateSchema: z.ZodObject<{
14111
14335
  handle: string;
14112
14336
  label?: undefined;
14113
14337
  } | undefined, unknown>>>>;
14338
+ booking: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
14339
+ provider: _nfcard_types.BookingProviderId;
14340
+ handle: string;
14341
+ label: string;
14342
+ } | {
14343
+ provider: _nfcard_types.BookingProviderId;
14344
+ handle: string;
14345
+ label?: undefined;
14346
+ } | undefined, unknown>>>>;
14114
14347
  profilePhotoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
14115
14348
  companyLogoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
14116
14349
  }, "strip", z.ZodTypeAny, {
@@ -14159,6 +14392,15 @@ declare const cardUpdateSchema: z.ZodObject<{
14159
14392
  handle: string;
14160
14393
  label?: undefined;
14161
14394
  } | undefined;
14395
+ booking?: {
14396
+ provider: _nfcard_types.BookingProviderId;
14397
+ handle: string;
14398
+ label: string;
14399
+ } | {
14400
+ provider: _nfcard_types.BookingProviderId;
14401
+ handle: string;
14402
+ label?: undefined;
14403
+ } | undefined;
14162
14404
  }, {
14163
14405
  profilePhotoUrl?: string | undefined;
14164
14406
  companyLogoUrl?: string | undefined;
@@ -14197,6 +14439,7 @@ declare const cardUpdateSchema: z.ZodObject<{
14197
14439
  label?: string | undefined;
14198
14440
  }[] | undefined;
14199
14441
  tipJar?: unknown;
14442
+ booking?: unknown;
14200
14443
  }>>;
14201
14444
  status: z.ZodOptional<z.ZodEnum<["active", "suspended", "archived"]>>;
14202
14445
  }, "strip", z.ZodTypeAny, {
@@ -14247,6 +14490,15 @@ declare const cardUpdateSchema: z.ZodObject<{
14247
14490
  handle: string;
14248
14491
  label?: undefined;
14249
14492
  } | undefined;
14493
+ booking?: {
14494
+ provider: _nfcard_types.BookingProviderId;
14495
+ handle: string;
14496
+ label: string;
14497
+ } | {
14498
+ provider: _nfcard_types.BookingProviderId;
14499
+ handle: string;
14500
+ label?: undefined;
14501
+ } | undefined;
14250
14502
  } | undefined;
14251
14503
  }, {
14252
14504
  status?: "active" | "suspended" | "archived" | undefined;
@@ -14288,6 +14540,7 @@ declare const cardUpdateSchema: z.ZodObject<{
14288
14540
  label?: string | undefined;
14289
14541
  }[] | undefined;
14290
14542
  tipJar?: unknown;
14543
+ booking?: unknown;
14291
14544
  } | undefined;
14292
14545
  }>;
14293
14546
  declare const adminCardCreateSchema: z.ZodObject<{
@@ -14476,6 +14729,15 @@ declare const adminCardCreateSchema: z.ZodObject<{
14476
14729
  handle: string;
14477
14730
  label?: undefined;
14478
14731
  } | undefined, unknown>>;
14732
+ booking: z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
14733
+ provider: _nfcard_types.BookingProviderId;
14734
+ handle: string;
14735
+ label: string;
14736
+ } | {
14737
+ provider: _nfcard_types.BookingProviderId;
14738
+ handle: string;
14739
+ label?: undefined;
14740
+ } | undefined, unknown>>;
14479
14741
  }, "strip", z.ZodTypeAny, {
14480
14742
  fontKey: string;
14481
14743
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
@@ -14520,6 +14782,15 @@ declare const adminCardCreateSchema: z.ZodObject<{
14520
14782
  handle: string;
14521
14783
  label?: undefined;
14522
14784
  } | undefined;
14785
+ booking?: {
14786
+ provider: _nfcard_types.BookingProviderId;
14787
+ handle: string;
14788
+ label: string;
14789
+ } | {
14790
+ provider: _nfcard_types.BookingProviderId;
14791
+ handle: string;
14792
+ label?: undefined;
14793
+ } | undefined;
14523
14794
  }, {
14524
14795
  fontKey: string;
14525
14796
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
@@ -14556,6 +14827,7 @@ declare const adminCardCreateSchema: z.ZodObject<{
14556
14827
  label?: string | undefined;
14557
14828
  }[] | undefined;
14558
14829
  tipJar?: unknown;
14830
+ booking?: unknown;
14559
14831
  }>;
14560
14832
  physicalConfig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
14561
14833
  material: z.ZodEnum<["plastic", "3dprint_standard", "metal", "bamboo"]>;
@@ -14799,7 +15071,8 @@ declare const adminCardCreateSchema: z.ZodObject<{
14799
15071
  underline?: boolean | undefined;
14800
15072
  }>, z.ZodObject<{
14801
15073
  type: z.ZodLiteral<"qr">;
14802
- url: z.ZodString;
15074
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
15075
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
14803
15076
  sizeMm: z.ZodNumber;
14804
15077
  frameRole: z.ZodEnum<["text", "accent"]>;
14805
15078
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -14837,12 +15110,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
14837
15110
  z: number;
14838
15111
  };
14839
15112
  sizeMm: number;
14840
- url: string;
14841
15113
  frameRole: "text" | "accent";
14842
15114
  moduleRole: "text" | "accent";
14843
15115
  face?: "front" | "back" | undefined;
14844
15116
  locked?: boolean | undefined;
14845
15117
  colour?: string | undefined;
15118
+ url?: string | undefined;
15119
+ mode?: "redirect" | "raw" | undefined;
14846
15120
  }, {
14847
15121
  type: "qr";
14848
15122
  id: string;
@@ -14854,12 +15128,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
14854
15128
  z: number;
14855
15129
  };
14856
15130
  sizeMm: number;
14857
- url: string;
14858
15131
  frameRole: "text" | "accent";
14859
15132
  moduleRole: "text" | "accent";
14860
15133
  face?: "front" | "back" | undefined;
14861
15134
  locked?: boolean | undefined;
14862
15135
  colour?: string | undefined;
15136
+ url?: string | undefined;
15137
+ mode?: "redirect" | "raw" | undefined;
14863
15138
  }>, z.ZodObject<{
14864
15139
  type: z.ZodLiteral<"image">;
14865
15140
  assetRef: z.ZodString;
@@ -15151,13 +15426,16 @@ declare const adminCardCreateSchema: z.ZodObject<{
15151
15426
  }>>;
15152
15427
  qr: z.ZodOptional<z.ZodObject<{
15153
15428
  enabled: z.ZodBoolean;
15154
- url: z.ZodString;
15429
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
15430
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
15155
15431
  }, "strip", z.ZodTypeAny, {
15156
- url: string;
15157
15432
  enabled: boolean;
15433
+ url?: string | undefined;
15434
+ mode?: "redirect" | "raw" | undefined;
15158
15435
  }, {
15159
- url: string;
15160
15436
  enabled: boolean;
15437
+ url?: string | undefined;
15438
+ mode?: "redirect" | "raw" | undefined;
15161
15439
  }>>;
15162
15440
  logo: z.ZodOptional<z.ZodObject<{
15163
15441
  svg: z.ZodOptional<z.ZodString>;
@@ -15299,7 +15577,8 @@ declare const adminCardCreateSchema: z.ZodObject<{
15299
15577
  underline?: boolean | undefined;
15300
15578
  }>, z.ZodObject<{
15301
15579
  type: z.ZodLiteral<"qr">;
15302
- url: z.ZodString;
15580
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
15581
+ mode: z.ZodOptional<z.ZodEnum<["redirect", "raw"]>>;
15303
15582
  sizeMm: z.ZodNumber;
15304
15583
  frameRole: z.ZodEnum<["text", "accent"]>;
15305
15584
  moduleRole: z.ZodEnum<["text", "accent"]>;
@@ -15337,12 +15616,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
15337
15616
  z: number;
15338
15617
  };
15339
15618
  sizeMm: number;
15340
- url: string;
15341
15619
  frameRole: "text" | "accent";
15342
15620
  moduleRole: "text" | "accent";
15343
15621
  face?: "front" | "back" | undefined;
15344
15622
  locked?: boolean | undefined;
15345
15623
  colour?: string | undefined;
15624
+ url?: string | undefined;
15625
+ mode?: "redirect" | "raw" | undefined;
15346
15626
  }, {
15347
15627
  type: "qr";
15348
15628
  id: string;
@@ -15354,12 +15634,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
15354
15634
  z: number;
15355
15635
  };
15356
15636
  sizeMm: number;
15357
- url: string;
15358
15637
  frameRole: "text" | "accent";
15359
15638
  moduleRole: "text" | "accent";
15360
15639
  face?: "front" | "back" | undefined;
15361
15640
  locked?: boolean | undefined;
15362
15641
  colour?: string | undefined;
15642
+ url?: string | undefined;
15643
+ mode?: "redirect" | "raw" | undefined;
15363
15644
  }>, z.ZodObject<{
15364
15645
  type: z.ZodLiteral<"image">;
15365
15646
  assetRef: z.ZodString;
@@ -15550,8 +15831,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
15550
15831
  background: string;
15551
15832
  };
15552
15833
  qr?: {
15553
- url: string;
15554
15834
  enabled: boolean;
15835
+ url?: string | undefined;
15836
+ mode?: "redirect" | "raw" | undefined;
15555
15837
  } | undefined;
15556
15838
  logo?: {
15557
15839
  svg?: string | undefined;
@@ -15613,12 +15895,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
15613
15895
  z: number;
15614
15896
  };
15615
15897
  sizeMm: number;
15616
- url: string;
15617
15898
  frameRole: "text" | "accent";
15618
15899
  moduleRole: "text" | "accent";
15619
15900
  face?: "front" | "back" | undefined;
15620
15901
  locked?: boolean | undefined;
15621
15902
  colour?: string | undefined;
15903
+ url?: string | undefined;
15904
+ mode?: "redirect" | "raw" | undefined;
15622
15905
  } | {
15623
15906
  type: "image";
15624
15907
  id: string;
@@ -15695,8 +15978,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
15695
15978
  background: string;
15696
15979
  };
15697
15980
  qr?: {
15698
- url: string;
15699
15981
  enabled: boolean;
15982
+ url?: string | undefined;
15983
+ mode?: "redirect" | "raw" | undefined;
15700
15984
  } | undefined;
15701
15985
  logo?: {
15702
15986
  svg?: string | undefined;
@@ -15758,12 +16042,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
15758
16042
  z: number;
15759
16043
  };
15760
16044
  sizeMm: number;
15761
- url: string;
15762
16045
  frameRole: "text" | "accent";
15763
16046
  moduleRole: "text" | "accent";
15764
16047
  face?: "front" | "back" | undefined;
15765
16048
  locked?: boolean | undefined;
15766
16049
  colour?: string | undefined;
16050
+ url?: string | undefined;
16051
+ mode?: "redirect" | "raw" | undefined;
15767
16052
  } | {
15768
16053
  type: "image";
15769
16054
  id: string;
@@ -15840,8 +16125,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
15840
16125
  background: string;
15841
16126
  };
15842
16127
  qr?: {
15843
- url: string;
15844
16128
  enabled: boolean;
16129
+ url?: string | undefined;
16130
+ mode?: "redirect" | "raw" | undefined;
15845
16131
  } | undefined;
15846
16132
  logo?: {
15847
16133
  svg?: string | undefined;
@@ -15903,12 +16189,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
15903
16189
  z: number;
15904
16190
  };
15905
16191
  sizeMm: number;
15906
- url: string;
15907
16192
  frameRole: "text" | "accent";
15908
16193
  moduleRole: "text" | "accent";
15909
16194
  face?: "front" | "back" | undefined;
15910
16195
  locked?: boolean | undefined;
15911
16196
  colour?: string | undefined;
16197
+ url?: string | undefined;
16198
+ mode?: "redirect" | "raw" | undefined;
15912
16199
  } | {
15913
16200
  type: "image";
15914
16201
  id: string;
@@ -15985,8 +16272,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
15985
16272
  background: string;
15986
16273
  };
15987
16274
  qr?: {
15988
- url: string;
15989
16275
  enabled: boolean;
16276
+ url?: string | undefined;
16277
+ mode?: "redirect" | "raw" | undefined;
15990
16278
  } | undefined;
15991
16279
  logo?: {
15992
16280
  svg?: string | undefined;
@@ -16048,12 +16336,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16048
16336
  z: number;
16049
16337
  };
16050
16338
  sizeMm: number;
16051
- url: string;
16052
16339
  frameRole: "text" | "accent";
16053
16340
  moduleRole: "text" | "accent";
16054
16341
  face?: "front" | "back" | undefined;
16055
16342
  locked?: boolean | undefined;
16056
16343
  colour?: string | undefined;
16344
+ url?: string | undefined;
16345
+ mode?: "redirect" | "raw" | undefined;
16057
16346
  } | {
16058
16347
  type: "image";
16059
16348
  id: string;
@@ -16173,12 +16462,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16173
16462
  z: number;
16174
16463
  };
16175
16464
  sizeMm: number;
16176
- url: string;
16177
16465
  frameRole: "text" | "accent";
16178
16466
  moduleRole: "text" | "accent";
16179
16467
  face?: "front" | "back" | undefined;
16180
16468
  locked?: boolean | undefined;
16181
16469
  colour?: string | undefined;
16470
+ url?: string | undefined;
16471
+ mode?: "redirect" | "raw" | undefined;
16182
16472
  } | {
16183
16473
  type: "image";
16184
16474
  id: string;
@@ -16275,8 +16565,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
16275
16565
  background: string;
16276
16566
  };
16277
16567
  qr?: {
16278
- url: string;
16279
16568
  enabled: boolean;
16569
+ url?: string | undefined;
16570
+ mode?: "redirect" | "raw" | undefined;
16280
16571
  } | undefined;
16281
16572
  logo?: {
16282
16573
  svg?: string | undefined;
@@ -16338,12 +16629,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16338
16629
  z: number;
16339
16630
  };
16340
16631
  sizeMm: number;
16341
- url: string;
16342
16632
  frameRole: "text" | "accent";
16343
16633
  moduleRole: "text" | "accent";
16344
16634
  face?: "front" | "back" | undefined;
16345
16635
  locked?: boolean | undefined;
16346
16636
  colour?: string | undefined;
16637
+ url?: string | undefined;
16638
+ mode?: "redirect" | "raw" | undefined;
16347
16639
  } | {
16348
16640
  type: "image";
16349
16641
  id: string;
@@ -16463,12 +16755,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16463
16755
  z: number;
16464
16756
  };
16465
16757
  sizeMm: number;
16466
- url: string;
16467
16758
  frameRole: "text" | "accent";
16468
16759
  moduleRole: "text" | "accent";
16469
16760
  face?: "front" | "back" | undefined;
16470
16761
  locked?: boolean | undefined;
16471
16762
  colour?: string | undefined;
16763
+ url?: string | undefined;
16764
+ mode?: "redirect" | "raw" | undefined;
16472
16765
  } | {
16473
16766
  type: "image";
16474
16767
  id: string;
@@ -16565,8 +16858,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
16565
16858
  background: string;
16566
16859
  };
16567
16860
  qr?: {
16568
- url: string;
16569
16861
  enabled: boolean;
16862
+ url?: string | undefined;
16863
+ mode?: "redirect" | "raw" | undefined;
16570
16864
  } | undefined;
16571
16865
  logo?: {
16572
16866
  svg?: string | undefined;
@@ -16628,12 +16922,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16628
16922
  z: number;
16629
16923
  };
16630
16924
  sizeMm: number;
16631
- url: string;
16632
16925
  frameRole: "text" | "accent";
16633
16926
  moduleRole: "text" | "accent";
16634
16927
  face?: "front" | "back" | undefined;
16635
16928
  locked?: boolean | undefined;
16636
16929
  colour?: string | undefined;
16930
+ url?: string | undefined;
16931
+ mode?: "redirect" | "raw" | undefined;
16637
16932
  } | {
16638
16933
  type: "image";
16639
16934
  id: string;
@@ -16753,12 +17048,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16753
17048
  z: number;
16754
17049
  };
16755
17050
  sizeMm: number;
16756
- url: string;
16757
17051
  frameRole: "text" | "accent";
16758
17052
  moduleRole: "text" | "accent";
16759
17053
  face?: "front" | "back" | undefined;
16760
17054
  locked?: boolean | undefined;
16761
17055
  colour?: string | undefined;
17056
+ url?: string | undefined;
17057
+ mode?: "redirect" | "raw" | undefined;
16762
17058
  } | {
16763
17059
  type: "image";
16764
17060
  id: string;
@@ -16855,8 +17151,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
16855
17151
  background: string;
16856
17152
  };
16857
17153
  qr?: {
16858
- url: string;
16859
17154
  enabled: boolean;
17155
+ url?: string | undefined;
17156
+ mode?: "redirect" | "raw" | undefined;
16860
17157
  } | undefined;
16861
17158
  logo?: {
16862
17159
  svg?: string | undefined;
@@ -16918,12 +17215,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
16918
17215
  z: number;
16919
17216
  };
16920
17217
  sizeMm: number;
16921
- url: string;
16922
17218
  frameRole: "text" | "accent";
16923
17219
  moduleRole: "text" | "accent";
16924
17220
  face?: "front" | "back" | undefined;
16925
17221
  locked?: boolean | undefined;
16926
17222
  colour?: string | undefined;
17223
+ url?: string | undefined;
17224
+ mode?: "redirect" | "raw" | undefined;
16927
17225
  } | {
16928
17226
  type: "image";
16929
17227
  id: string;
@@ -17043,12 +17341,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17043
17341
  z: number;
17044
17342
  };
17045
17343
  sizeMm: number;
17046
- url: string;
17047
17344
  frameRole: "text" | "accent";
17048
17345
  moduleRole: "text" | "accent";
17049
17346
  face?: "front" | "back" | undefined;
17050
17347
  locked?: boolean | undefined;
17051
17348
  colour?: string | undefined;
17349
+ url?: string | undefined;
17350
+ mode?: "redirect" | "raw" | undefined;
17052
17351
  } | {
17053
17352
  type: "image";
17054
17353
  id: string;
@@ -17145,8 +17444,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
17145
17444
  background: string;
17146
17445
  };
17147
17446
  qr?: {
17148
- url: string;
17149
17447
  enabled: boolean;
17448
+ url?: string | undefined;
17449
+ mode?: "redirect" | "raw" | undefined;
17150
17450
  } | undefined;
17151
17451
  logo?: {
17152
17452
  svg?: string | undefined;
@@ -17208,12 +17508,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17208
17508
  z: number;
17209
17509
  };
17210
17510
  sizeMm: number;
17211
- url: string;
17212
17511
  frameRole: "text" | "accent";
17213
17512
  moduleRole: "text" | "accent";
17214
17513
  face?: "front" | "back" | undefined;
17215
17514
  locked?: boolean | undefined;
17216
17515
  colour?: string | undefined;
17516
+ url?: string | undefined;
17517
+ mode?: "redirect" | "raw" | undefined;
17217
17518
  } | {
17218
17519
  type: "image";
17219
17520
  id: string;
@@ -17333,12 +17634,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17333
17634
  z: number;
17334
17635
  };
17335
17636
  sizeMm: number;
17336
- url: string;
17337
17637
  frameRole: "text" | "accent";
17338
17638
  moduleRole: "text" | "accent";
17339
17639
  face?: "front" | "back" | undefined;
17340
17640
  locked?: boolean | undefined;
17341
17641
  colour?: string | undefined;
17642
+ url?: string | undefined;
17643
+ mode?: "redirect" | "raw" | undefined;
17342
17644
  } | {
17343
17645
  type: "image";
17344
17646
  id: string;
@@ -17435,8 +17737,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
17435
17737
  background: string;
17436
17738
  };
17437
17739
  qr?: {
17438
- url: string;
17439
17740
  enabled: boolean;
17741
+ url?: string | undefined;
17742
+ mode?: "redirect" | "raw" | undefined;
17440
17743
  } | undefined;
17441
17744
  logo?: {
17442
17745
  svg?: string | undefined;
@@ -17498,12 +17801,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17498
17801
  z: number;
17499
17802
  };
17500
17803
  sizeMm: number;
17501
- url: string;
17502
17804
  frameRole: "text" | "accent";
17503
17805
  moduleRole: "text" | "accent";
17504
17806
  face?: "front" | "back" | undefined;
17505
17807
  locked?: boolean | undefined;
17506
17808
  colour?: string | undefined;
17809
+ url?: string | undefined;
17810
+ mode?: "redirect" | "raw" | undefined;
17507
17811
  } | {
17508
17812
  type: "image";
17509
17813
  id: string;
@@ -17623,12 +17927,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17623
17927
  z: number;
17624
17928
  };
17625
17929
  sizeMm: number;
17626
- url: string;
17627
17930
  frameRole: "text" | "accent";
17628
17931
  moduleRole: "text" | "accent";
17629
17932
  face?: "front" | "back" | undefined;
17630
17933
  locked?: boolean | undefined;
17631
17934
  colour?: string | undefined;
17935
+ url?: string | undefined;
17936
+ mode?: "redirect" | "raw" | undefined;
17632
17937
  } | {
17633
17938
  type: "image";
17634
17939
  id: string;
@@ -17725,8 +18030,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
17725
18030
  background: string;
17726
18031
  };
17727
18032
  qr?: {
17728
- url: string;
17729
18033
  enabled: boolean;
18034
+ url?: string | undefined;
18035
+ mode?: "redirect" | "raw" | undefined;
17730
18036
  } | undefined;
17731
18037
  logo?: {
17732
18038
  svg?: string | undefined;
@@ -17788,12 +18094,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17788
18094
  z: number;
17789
18095
  };
17790
18096
  sizeMm: number;
17791
- url: string;
17792
18097
  frameRole: "text" | "accent";
17793
18098
  moduleRole: "text" | "accent";
17794
18099
  face?: "front" | "back" | undefined;
17795
18100
  locked?: boolean | undefined;
17796
18101
  colour?: string | undefined;
18102
+ url?: string | undefined;
18103
+ mode?: "redirect" | "raw" | undefined;
17797
18104
  } | {
17798
18105
  type: "image";
17799
18106
  id: string;
@@ -17913,6 +18220,15 @@ declare const adminCardCreateSchema: z.ZodObject<{
17913
18220
  handle: string;
17914
18221
  label?: undefined;
17915
18222
  } | undefined;
18223
+ booking?: {
18224
+ provider: _nfcard_types.BookingProviderId;
18225
+ handle: string;
18226
+ label: string;
18227
+ } | {
18228
+ provider: _nfcard_types.BookingProviderId;
18229
+ handle: string;
18230
+ label?: undefined;
18231
+ } | undefined;
17916
18232
  };
17917
18233
  targetUserId: string;
17918
18234
  physicalConfig?: {
@@ -17985,12 +18301,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
17985
18301
  z: number;
17986
18302
  };
17987
18303
  sizeMm: number;
17988
- url: string;
17989
18304
  frameRole: "text" | "accent";
17990
18305
  moduleRole: "text" | "accent";
17991
18306
  face?: "front" | "back" | undefined;
17992
18307
  locked?: boolean | undefined;
17993
18308
  colour?: string | undefined;
18309
+ url?: string | undefined;
18310
+ mode?: "redirect" | "raw" | undefined;
17994
18311
  } | {
17995
18312
  type: "image";
17996
18313
  id: string;
@@ -18087,8 +18404,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
18087
18404
  background: string;
18088
18405
  };
18089
18406
  qr?: {
18090
- url: string;
18091
18407
  enabled: boolean;
18408
+ url?: string | undefined;
18409
+ mode?: "redirect" | "raw" | undefined;
18092
18410
  } | undefined;
18093
18411
  logo?: {
18094
18412
  svg?: string | undefined;
@@ -18150,12 +18468,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
18150
18468
  z: number;
18151
18469
  };
18152
18470
  sizeMm: number;
18153
- url: string;
18154
18471
  frameRole: "text" | "accent";
18155
18472
  moduleRole: "text" | "accent";
18156
18473
  face?: "front" | "back" | undefined;
18157
18474
  locked?: boolean | undefined;
18158
18475
  colour?: string | undefined;
18476
+ url?: string | undefined;
18477
+ mode?: "redirect" | "raw" | undefined;
18159
18478
  } | {
18160
18479
  type: "image";
18161
18480
  id: string;
@@ -18267,6 +18586,7 @@ declare const adminCardCreateSchema: z.ZodObject<{
18267
18586
  label?: string | undefined;
18268
18587
  }[] | undefined;
18269
18588
  tipJar?: unknown;
18589
+ booking?: unknown;
18270
18590
  };
18271
18591
  targetUserId: string;
18272
18592
  physicalConfig?: {
@@ -18339,12 +18659,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
18339
18659
  z: number;
18340
18660
  };
18341
18661
  sizeMm: number;
18342
- url: string;
18343
18662
  frameRole: "text" | "accent";
18344
18663
  moduleRole: "text" | "accent";
18345
18664
  face?: "front" | "back" | undefined;
18346
18665
  locked?: boolean | undefined;
18347
18666
  colour?: string | undefined;
18667
+ url?: string | undefined;
18668
+ mode?: "redirect" | "raw" | undefined;
18348
18669
  } | {
18349
18670
  type: "image";
18350
18671
  id: string;
@@ -18441,8 +18762,9 @@ declare const adminCardCreateSchema: z.ZodObject<{
18441
18762
  background: string;
18442
18763
  };
18443
18764
  qr?: {
18444
- url: string;
18445
18765
  enabled: boolean;
18766
+ url?: string | undefined;
18767
+ mode?: "redirect" | "raw" | undefined;
18446
18768
  } | undefined;
18447
18769
  logo?: {
18448
18770
  svg?: string | undefined;
@@ -18504,12 +18826,13 @@ declare const adminCardCreateSchema: z.ZodObject<{
18504
18826
  z: number;
18505
18827
  };
18506
18828
  sizeMm: number;
18507
- url: string;
18508
18829
  frameRole: "text" | "accent";
18509
18830
  moduleRole: "text" | "accent";
18510
18831
  face?: "front" | "back" | undefined;
18511
18832
  locked?: boolean | undefined;
18512
18833
  colour?: string | undefined;
18834
+ url?: string | undefined;
18835
+ mode?: "redirect" | "raw" | undefined;
18513
18836
  } | {
18514
18837
  type: "image";
18515
18838
  id: string;
@@ -18840,6 +19163,15 @@ declare const profileCreateSchema: z.ZodObject<{
18840
19163
  handle: string;
18841
19164
  label?: undefined;
18842
19165
  } | undefined, unknown>>;
19166
+ booking: z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
19167
+ provider: _nfcard_types.BookingProviderId;
19168
+ handle: string;
19169
+ label: string;
19170
+ } | {
19171
+ provider: _nfcard_types.BookingProviderId;
19172
+ handle: string;
19173
+ label?: undefined;
19174
+ } | undefined, unknown>>;
18843
19175
  }, "strip", z.ZodTypeAny, {
18844
19176
  fontKey: string;
18845
19177
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
@@ -18884,6 +19216,15 @@ declare const profileCreateSchema: z.ZodObject<{
18884
19216
  handle: string;
18885
19217
  label?: undefined;
18886
19218
  } | undefined;
19219
+ booking?: {
19220
+ provider: _nfcard_types.BookingProviderId;
19221
+ handle: string;
19222
+ label: string;
19223
+ } | {
19224
+ provider: _nfcard_types.BookingProviderId;
19225
+ handle: string;
19226
+ label?: undefined;
19227
+ } | undefined;
18887
19228
  }, {
18888
19229
  fontKey: string;
18889
19230
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
@@ -18920,6 +19261,7 @@ declare const profileCreateSchema: z.ZodObject<{
18920
19261
  label?: string | undefined;
18921
19262
  }[] | undefined;
18922
19263
  tipJar?: unknown;
19264
+ booking?: unknown;
18923
19265
  }>;
18924
19266
  visibility: z.ZodDefault<z.ZodEnum<["public", "private", "link_only"]>>;
18925
19267
  accessPin: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
@@ -18993,6 +19335,15 @@ declare const profileCreateSchema: z.ZodObject<{
18993
19335
  handle: string;
18994
19336
  label?: undefined;
18995
19337
  } | undefined;
19338
+ booking?: {
19339
+ provider: _nfcard_types.BookingProviderId;
19340
+ handle: string;
19341
+ label: string;
19342
+ } | {
19343
+ provider: _nfcard_types.BookingProviderId;
19344
+ handle: string;
19345
+ label?: undefined;
19346
+ } | undefined;
18996
19347
  };
18997
19348
  label?: string | undefined;
18998
19349
  cardId?: string | undefined;
@@ -19059,6 +19410,7 @@ declare const profileCreateSchema: z.ZodObject<{
19059
19410
  label?: string | undefined;
19060
19411
  }[] | undefined;
19061
19412
  tipJar?: unknown;
19413
+ booking?: unknown;
19062
19414
  };
19063
19415
  label?: string | undefined;
19064
19416
  visibility?: "public" | "private" | "link_only" | undefined;
@@ -19260,6 +19612,15 @@ declare const signupWithProfileSchema: z.ZodObject<{
19260
19612
  handle: string;
19261
19613
  label?: undefined;
19262
19614
  } | undefined, unknown>>;
19615
+ booking: z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
19616
+ provider: _nfcard_types.BookingProviderId;
19617
+ handle: string;
19618
+ label: string;
19619
+ } | {
19620
+ provider: _nfcard_types.BookingProviderId;
19621
+ handle: string;
19622
+ label?: undefined;
19623
+ } | undefined, unknown>>;
19263
19624
  }, "strip", z.ZodTypeAny, {
19264
19625
  fontKey: string;
19265
19626
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
@@ -19304,6 +19665,15 @@ declare const signupWithProfileSchema: z.ZodObject<{
19304
19665
  handle: string;
19305
19666
  label?: undefined;
19306
19667
  } | undefined;
19668
+ booking?: {
19669
+ provider: _nfcard_types.BookingProviderId;
19670
+ handle: string;
19671
+ label: string;
19672
+ } | {
19673
+ provider: _nfcard_types.BookingProviderId;
19674
+ handle: string;
19675
+ label?: undefined;
19676
+ } | undefined;
19307
19677
  }, {
19308
19678
  fontKey: string;
19309
19679
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
@@ -19340,6 +19710,7 @@ declare const signupWithProfileSchema: z.ZodObject<{
19340
19710
  label?: string | undefined;
19341
19711
  }[] | undefined;
19342
19712
  tipJar?: unknown;
19713
+ booking?: unknown;
19343
19714
  }>;
19344
19715
  }, "strip", z.ZodTypeAny, {
19345
19716
  email: string;
@@ -19411,6 +19782,15 @@ declare const signupWithProfileSchema: z.ZodObject<{
19411
19782
  handle: string;
19412
19783
  label?: undefined;
19413
19784
  } | undefined;
19785
+ booking?: {
19786
+ provider: _nfcard_types.BookingProviderId;
19787
+ handle: string;
19788
+ label: string;
19789
+ } | {
19790
+ provider: _nfcard_types.BookingProviderId;
19791
+ handle: string;
19792
+ label?: undefined;
19793
+ } | undefined;
19414
19794
  };
19415
19795
  password: string;
19416
19796
  acceptedTerms: true;
@@ -19481,6 +19861,7 @@ declare const signupWithProfileSchema: z.ZodObject<{
19481
19861
  label?: string | undefined;
19482
19862
  }[] | undefined;
19483
19863
  tipJar?: unknown;
19864
+ booking?: unknown;
19484
19865
  };
19485
19866
  password: string;
19486
19867
  acceptedTerms: true;
@@ -19678,6 +20059,15 @@ declare const profileUpdateSchema: z.ZodObject<{
19678
20059
  handle: string;
19679
20060
  label?: undefined;
19680
20061
  } | undefined, unknown>>>>;
20062
+ booking: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
20063
+ provider: _nfcard_types.BookingProviderId;
20064
+ handle: string;
20065
+ label: string;
20066
+ } | {
20067
+ provider: _nfcard_types.BookingProviderId;
20068
+ handle: string;
20069
+ label?: undefined;
20070
+ } | undefined, unknown>>>>;
19681
20071
  profilePhotoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
19682
20072
  companyLogoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
19683
20073
  }, "strip", z.ZodTypeAny, {
@@ -19726,6 +20116,15 @@ declare const profileUpdateSchema: z.ZodObject<{
19726
20116
  handle: string;
19727
20117
  label?: undefined;
19728
20118
  } | undefined;
20119
+ booking?: {
20120
+ provider: _nfcard_types.BookingProviderId;
20121
+ handle: string;
20122
+ label: string;
20123
+ } | {
20124
+ provider: _nfcard_types.BookingProviderId;
20125
+ handle: string;
20126
+ label?: undefined;
20127
+ } | undefined;
19729
20128
  }, {
19730
20129
  profilePhotoUrl?: string | undefined;
19731
20130
  companyLogoUrl?: string | undefined;
@@ -19764,6 +20163,7 @@ declare const profileUpdateSchema: z.ZodObject<{
19764
20163
  label?: string | undefined;
19765
20164
  }[] | undefined;
19766
20165
  tipJar?: unknown;
20166
+ booking?: unknown;
19767
20167
  }>>;
19768
20168
  visibility: z.ZodOptional<z.ZodEnum<["public", "private", "link_only"]>>;
19769
20169
  accessPin: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
@@ -19840,6 +20240,15 @@ declare const profileUpdateSchema: z.ZodObject<{
19840
20240
  handle: string;
19841
20241
  label?: undefined;
19842
20242
  } | undefined;
20243
+ booking?: {
20244
+ provider: _nfcard_types.BookingProviderId;
20245
+ handle: string;
20246
+ label: string;
20247
+ } | {
20248
+ provider: _nfcard_types.BookingProviderId;
20249
+ handle: string;
20250
+ label?: undefined;
20251
+ } | undefined;
19843
20252
  } | undefined;
19844
20253
  icon?: string | undefined;
19845
20254
  accessPin?: string | undefined;
@@ -19908,6 +20317,7 @@ declare const profileUpdateSchema: z.ZodObject<{
19908
20317
  label?: string | undefined;
19909
20318
  }[] | undefined;
19910
20319
  tipJar?: unknown;
20320
+ booking?: unknown;
19911
20321
  } | undefined;
19912
20322
  icon?: string | undefined;
19913
20323
  accessPin?: string | undefined;
@@ -20056,4 +20466,4 @@ declare function validatePhysicalConfig(data: unknown): ValidationResult<z.infer
20056
20466
  declare function validateDigitalConfig(data: unknown): ValidationResult<z.infer<typeof digitalConfigSchema>>;
20057
20467
  declare function validateConfiguration(data: unknown): ValidationResult<z.infer<typeof configurationCreateSchema>>;
20058
20468
 
20059
- 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, 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 };