@middlewr/contracts 0.0.47 → 0.0.49

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.
@@ -484,6 +484,30 @@ export declare const linkTemplatesContract: {
484
484
  y: z.ZodNumber;
485
485
  }, z.core.$strip>;
486
486
  next: z.ZodNullable<z.ZodString>;
487
+ }, z.core.$strip>, z.ZodObject<{
488
+ id: z.ZodString;
489
+ type: z.ZodLiteral<"countdown">;
490
+ position: z.ZodObject<{
491
+ x: z.ZodNumber;
492
+ y: z.ZodNumber;
493
+ }, z.core.$strip>;
494
+ seconds: z.ZodNumber;
495
+ message: z.ZodNullable<z.ZodString>;
496
+ next: z.ZodNullable<z.ZodString>;
497
+ }, z.core.$strip>, z.ZodObject<{
498
+ id: z.ZodString;
499
+ type: z.ZodLiteral<"webhook">;
500
+ position: z.ZodObject<{
501
+ x: z.ZodNumber;
502
+ y: z.ZodNumber;
503
+ }, z.core.$strip>;
504
+ url: z.ZodString;
505
+ method: z.ZodEnum<{
506
+ POST: "POST";
507
+ GET: "GET";
508
+ }>;
509
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
510
+ next: z.ZodNullable<z.ZodString>;
487
511
  }, z.core.$strip>, z.ZodObject<{
488
512
  id: z.ZodString;
489
513
  type: z.ZodLiteral<"entry">;
@@ -492,6 +516,9 @@ export declare const linkTemplatesContract: {
492
516
  y: z.ZodNumber;
493
517
  }, z.core.$strip>;
494
518
  next: z.ZodNullable<z.ZodString>;
519
+ starts_at: z.ZodNullable<z.ZodString>;
520
+ expires_at: z.ZodNullable<z.ZodString>;
521
+ fallback_url: z.ZodNullable<z.ZodString>;
495
522
  }, z.core.$strip>], "type">>;
496
523
  }, z.core.$strip>>>;
497
524
  }, z.core.$strip>, z.ZodObject<{
@@ -581,6 +608,30 @@ export declare const linkTemplatesContract: {
581
608
  y: z.ZodNumber;
582
609
  }, z.core.$strip>;
583
610
  next: z.ZodNullable<z.ZodString>;
611
+ }, z.core.$strip>, z.ZodObject<{
612
+ id: z.ZodString;
613
+ type: z.ZodLiteral<"countdown">;
614
+ position: z.ZodObject<{
615
+ x: z.ZodNumber;
616
+ y: z.ZodNumber;
617
+ }, z.core.$strip>;
618
+ seconds: z.ZodNumber;
619
+ message: z.ZodNullable<z.ZodString>;
620
+ next: z.ZodNullable<z.ZodString>;
621
+ }, z.core.$strip>, z.ZodObject<{
622
+ id: z.ZodString;
623
+ type: z.ZodLiteral<"webhook">;
624
+ position: z.ZodObject<{
625
+ x: z.ZodNumber;
626
+ y: z.ZodNumber;
627
+ }, z.core.$strip>;
628
+ url: z.ZodString;
629
+ method: z.ZodEnum<{
630
+ POST: "POST";
631
+ GET: "GET";
632
+ }>;
633
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
634
+ next: z.ZodNullable<z.ZodString>;
584
635
  }, z.core.$strip>, z.ZodObject<{
585
636
  id: z.ZodString;
586
637
  type: z.ZodLiteral<"entry">;
@@ -589,6 +640,9 @@ export declare const linkTemplatesContract: {
589
640
  y: z.ZodNumber;
590
641
  }, z.core.$strip>;
591
642
  next: z.ZodNullable<z.ZodString>;
643
+ starts_at: z.ZodNullable<z.ZodString>;
644
+ expires_at: z.ZodNullable<z.ZodString>;
645
+ fallback_url: z.ZodNullable<z.ZodString>;
592
646
  }, z.core.$strip>], "type">>;
593
647
  }, z.core.$strip>>;
594
648
  created_at: z.ZodCoercedDate<unknown>;
@@ -687,6 +741,30 @@ export declare const linkTemplatesContract: {
687
741
  y: z.ZodNumber;
688
742
  }, z.core.$strip>;
689
743
  next: z.ZodNullable<z.ZodString>;
744
+ }, z.core.$strip>, z.ZodObject<{
745
+ id: z.ZodString;
746
+ type: z.ZodLiteral<"countdown">;
747
+ position: z.ZodObject<{
748
+ x: z.ZodNumber;
749
+ y: z.ZodNumber;
750
+ }, z.core.$strip>;
751
+ seconds: z.ZodNumber;
752
+ message: z.ZodNullable<z.ZodString>;
753
+ next: z.ZodNullable<z.ZodString>;
754
+ }, z.core.$strip>, z.ZodObject<{
755
+ id: z.ZodString;
756
+ type: z.ZodLiteral<"webhook">;
757
+ position: z.ZodObject<{
758
+ x: z.ZodNumber;
759
+ y: z.ZodNumber;
760
+ }, z.core.$strip>;
761
+ url: z.ZodString;
762
+ method: z.ZodEnum<{
763
+ POST: "POST";
764
+ GET: "GET";
765
+ }>;
766
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
767
+ next: z.ZodNullable<z.ZodString>;
690
768
  }, z.core.$strip>, z.ZodObject<{
691
769
  id: z.ZodString;
692
770
  type: z.ZodLiteral<"entry">;
@@ -695,6 +773,9 @@ export declare const linkTemplatesContract: {
695
773
  y: z.ZodNumber;
696
774
  }, z.core.$strip>;
697
775
  next: z.ZodNullable<z.ZodString>;
776
+ starts_at: z.ZodNullable<z.ZodString>;
777
+ expires_at: z.ZodNullable<z.ZodString>;
778
+ fallback_url: z.ZodNullable<z.ZodString>;
698
779
  }, z.core.$strip>], "type">>;
699
780
  }, z.core.$strip>>;
700
781
  created_at: z.ZodCoercedDate<unknown>;
@@ -795,6 +876,30 @@ export declare const linkTemplatesContract: {
795
876
  y: z.ZodNumber;
796
877
  }, z.core.$strip>;
797
878
  next: z.ZodNullable<z.ZodString>;
879
+ }, z.core.$strip>, z.ZodObject<{
880
+ id: z.ZodString;
881
+ type: z.ZodLiteral<"countdown">;
882
+ position: z.ZodObject<{
883
+ x: z.ZodNumber;
884
+ y: z.ZodNumber;
885
+ }, z.core.$strip>;
886
+ seconds: z.ZodNumber;
887
+ message: z.ZodNullable<z.ZodString>;
888
+ next: z.ZodNullable<z.ZodString>;
889
+ }, z.core.$strip>, z.ZodObject<{
890
+ id: z.ZodString;
891
+ type: z.ZodLiteral<"webhook">;
892
+ position: z.ZodObject<{
893
+ x: z.ZodNumber;
894
+ y: z.ZodNumber;
895
+ }, z.core.$strip>;
896
+ url: z.ZodString;
897
+ method: z.ZodEnum<{
898
+ POST: "POST";
899
+ GET: "GET";
900
+ }>;
901
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
902
+ next: z.ZodNullable<z.ZodString>;
798
903
  }, z.core.$strip>, z.ZodObject<{
799
904
  id: z.ZodString;
800
905
  type: z.ZodLiteral<"entry">;
@@ -803,6 +908,9 @@ export declare const linkTemplatesContract: {
803
908
  y: z.ZodNumber;
804
909
  }, z.core.$strip>;
805
910
  next: z.ZodNullable<z.ZodString>;
911
+ starts_at: z.ZodNullable<z.ZodString>;
912
+ expires_at: z.ZodNullable<z.ZodString>;
913
+ fallback_url: z.ZodNullable<z.ZodString>;
806
914
  }, z.core.$strip>], "type">>;
807
915
  }, z.core.$strip>>;
808
916
  created_at: z.ZodCoercedDate<unknown>;
@@ -895,6 +1003,30 @@ export declare const linkTemplatesContract: {
895
1003
  y: z.ZodNumber;
896
1004
  }, z.core.$strip>;
897
1005
  next: z.ZodNullable<z.ZodString>;
1006
+ }, z.core.$strip>, z.ZodObject<{
1007
+ id: z.ZodString;
1008
+ type: z.ZodLiteral<"countdown">;
1009
+ position: z.ZodObject<{
1010
+ x: z.ZodNumber;
1011
+ y: z.ZodNumber;
1012
+ }, z.core.$strip>;
1013
+ seconds: z.ZodNumber;
1014
+ message: z.ZodNullable<z.ZodString>;
1015
+ next: z.ZodNullable<z.ZodString>;
1016
+ }, z.core.$strip>, z.ZodObject<{
1017
+ id: z.ZodString;
1018
+ type: z.ZodLiteral<"webhook">;
1019
+ position: z.ZodObject<{
1020
+ x: z.ZodNumber;
1021
+ y: z.ZodNumber;
1022
+ }, z.core.$strip>;
1023
+ url: z.ZodString;
1024
+ method: z.ZodEnum<{
1025
+ POST: "POST";
1026
+ GET: "GET";
1027
+ }>;
1028
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1029
+ next: z.ZodNullable<z.ZodString>;
898
1030
  }, z.core.$strip>, z.ZodObject<{
899
1031
  id: z.ZodString;
900
1032
  type: z.ZodLiteral<"entry">;
@@ -903,6 +1035,9 @@ export declare const linkTemplatesContract: {
903
1035
  y: z.ZodNumber;
904
1036
  }, z.core.$strip>;
905
1037
  next: z.ZodNullable<z.ZodString>;
1038
+ starts_at: z.ZodNullable<z.ZodString>;
1039
+ expires_at: z.ZodNullable<z.ZodString>;
1040
+ fallback_url: z.ZodNullable<z.ZodString>;
906
1041
  }, z.core.$strip>], "type">>;
907
1042
  }, z.core.$strip>>;
908
1043
  }, z.core.$strip>, z.ZodObject<{
@@ -992,6 +1127,30 @@ export declare const linkTemplatesContract: {
992
1127
  y: z.ZodNumber;
993
1128
  }, z.core.$strip>;
994
1129
  next: z.ZodNullable<z.ZodString>;
1130
+ }, z.core.$strip>, z.ZodObject<{
1131
+ id: z.ZodString;
1132
+ type: z.ZodLiteral<"countdown">;
1133
+ position: z.ZodObject<{
1134
+ x: z.ZodNumber;
1135
+ y: z.ZodNumber;
1136
+ }, z.core.$strip>;
1137
+ seconds: z.ZodNumber;
1138
+ message: z.ZodNullable<z.ZodString>;
1139
+ next: z.ZodNullable<z.ZodString>;
1140
+ }, z.core.$strip>, z.ZodObject<{
1141
+ id: z.ZodString;
1142
+ type: z.ZodLiteral<"webhook">;
1143
+ position: z.ZodObject<{
1144
+ x: z.ZodNumber;
1145
+ y: z.ZodNumber;
1146
+ }, z.core.$strip>;
1147
+ url: z.ZodString;
1148
+ method: z.ZodEnum<{
1149
+ POST: "POST";
1150
+ GET: "GET";
1151
+ }>;
1152
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1153
+ next: z.ZodNullable<z.ZodString>;
995
1154
  }, z.core.$strip>, z.ZodObject<{
996
1155
  id: z.ZodString;
997
1156
  type: z.ZodLiteral<"entry">;
@@ -1000,6 +1159,9 @@ export declare const linkTemplatesContract: {
1000
1159
  y: z.ZodNumber;
1001
1160
  }, z.core.$strip>;
1002
1161
  next: z.ZodNullable<z.ZodString>;
1162
+ starts_at: z.ZodNullable<z.ZodString>;
1163
+ expires_at: z.ZodNullable<z.ZodString>;
1164
+ fallback_url: z.ZodNullable<z.ZodString>;
1003
1165
  }, z.core.$strip>], "type">>;
1004
1166
  }, z.core.$strip>>;
1005
1167
  created_at: z.ZodCoercedDate<unknown>;
@@ -1024,9 +1186,6 @@ export declare const linksContract: {
1024
1186
  utm_term: z.ZodOptional<z.ZodString>;
1025
1187
  utm_content: z.ZodOptional<z.ZodString>;
1026
1188
  password: z.ZodOptional<z.ZodString>;
1027
- starts_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1028
- expires_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1029
- fallback_url: z.ZodOptional<z.ZodString>;
1030
1189
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1031
1190
  qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1032
1191
  fg_color: z.ZodString;
@@ -1055,10 +1214,6 @@ export declare const linksContract: {
1055
1214
  logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1056
1215
  }, z.core.$strip>>>;
1057
1216
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1058
- link_type: z.ZodOptional<z.ZodEnum<{
1059
- redirect: "redirect";
1060
- rules: "rules";
1061
- }>>;
1062
1217
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1063
1218
  entry: z.ZodString;
1064
1219
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1141,6 +1296,30 @@ export declare const linksContract: {
1141
1296
  y: z.ZodNumber;
1142
1297
  }, z.core.$strip>;
1143
1298
  next: z.ZodNullable<z.ZodString>;
1299
+ }, z.core.$strip>, z.ZodObject<{
1300
+ id: z.ZodString;
1301
+ type: z.ZodLiteral<"countdown">;
1302
+ position: z.ZodObject<{
1303
+ x: z.ZodNumber;
1304
+ y: z.ZodNumber;
1305
+ }, z.core.$strip>;
1306
+ seconds: z.ZodNumber;
1307
+ message: z.ZodNullable<z.ZodString>;
1308
+ next: z.ZodNullable<z.ZodString>;
1309
+ }, z.core.$strip>, z.ZodObject<{
1310
+ id: z.ZodString;
1311
+ type: z.ZodLiteral<"webhook">;
1312
+ position: z.ZodObject<{
1313
+ x: z.ZodNumber;
1314
+ y: z.ZodNumber;
1315
+ }, z.core.$strip>;
1316
+ url: z.ZodString;
1317
+ method: z.ZodEnum<{
1318
+ POST: "POST";
1319
+ GET: "GET";
1320
+ }>;
1321
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1322
+ next: z.ZodNullable<z.ZodString>;
1144
1323
  }, z.core.$strip>, z.ZodObject<{
1145
1324
  id: z.ZodString;
1146
1325
  type: z.ZodLiteral<"entry">;
@@ -1149,6 +1328,9 @@ export declare const linksContract: {
1149
1328
  y: z.ZodNumber;
1150
1329
  }, z.core.$strip>;
1151
1330
  next: z.ZodNullable<z.ZodString>;
1331
+ starts_at: z.ZodNullable<z.ZodString>;
1332
+ expires_at: z.ZodNullable<z.ZodString>;
1333
+ fallback_url: z.ZodNullable<z.ZodString>;
1152
1334
  }, z.core.$strip>], "type">>;
1153
1335
  }, z.core.$strip>>>;
1154
1336
  }, z.core.$strip>, z.ZodObject<{
@@ -1166,9 +1348,6 @@ export declare const linksContract: {
1166
1348
  utm_term: z.ZodNullable<z.ZodString>;
1167
1349
  utm_content: z.ZodNullable<z.ZodString>;
1168
1350
  password: z.ZodNullable<z.ZodString>;
1169
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1170
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1171
- fallback_url: z.ZodNullable<z.ZodString>;
1172
1351
  is_active: z.ZodBoolean;
1173
1352
  redirect_type: z.ZodNumber;
1174
1353
  click_count: z.ZodCoercedNumber<unknown>;
@@ -1203,10 +1382,6 @@ export declare const linksContract: {
1203
1382
  }, z.core.$strip>>;
1204
1383
  qr_logo_key: z.ZodNullable<z.ZodString>;
1205
1384
  logo_url: z.ZodNullable<z.ZodString>;
1206
- link_type: z.ZodDefault<z.ZodEnum<{
1207
- redirect: "redirect";
1208
- rules: "rules";
1209
- }>>;
1210
1385
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1211
1386
  entry: z.ZodString;
1212
1387
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1289,6 +1464,30 @@ export declare const linksContract: {
1289
1464
  y: z.ZodNumber;
1290
1465
  }, z.core.$strip>;
1291
1466
  next: z.ZodNullable<z.ZodString>;
1467
+ }, z.core.$strip>, z.ZodObject<{
1468
+ id: z.ZodString;
1469
+ type: z.ZodLiteral<"countdown">;
1470
+ position: z.ZodObject<{
1471
+ x: z.ZodNumber;
1472
+ y: z.ZodNumber;
1473
+ }, z.core.$strip>;
1474
+ seconds: z.ZodNumber;
1475
+ message: z.ZodNullable<z.ZodString>;
1476
+ next: z.ZodNullable<z.ZodString>;
1477
+ }, z.core.$strip>, z.ZodObject<{
1478
+ id: z.ZodString;
1479
+ type: z.ZodLiteral<"webhook">;
1480
+ position: z.ZodObject<{
1481
+ x: z.ZodNumber;
1482
+ y: z.ZodNumber;
1483
+ }, z.core.$strip>;
1484
+ url: z.ZodString;
1485
+ method: z.ZodEnum<{
1486
+ POST: "POST";
1487
+ GET: "GET";
1488
+ }>;
1489
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1490
+ next: z.ZodNullable<z.ZodString>;
1292
1491
  }, z.core.$strip>, z.ZodObject<{
1293
1492
  id: z.ZodString;
1294
1493
  type: z.ZodLiteral<"entry">;
@@ -1297,6 +1496,9 @@ export declare const linksContract: {
1297
1496
  y: z.ZodNumber;
1298
1497
  }, z.core.$strip>;
1299
1498
  next: z.ZodNullable<z.ZodString>;
1499
+ starts_at: z.ZodNullable<z.ZodString>;
1500
+ expires_at: z.ZodNullable<z.ZodString>;
1501
+ fallback_url: z.ZodNullable<z.ZodString>;
1300
1502
  }, z.core.$strip>], "type">>;
1301
1503
  }, z.core.$strip>>>;
1302
1504
  tags: z.ZodArray<z.ZodObject<{
@@ -1316,18 +1518,8 @@ export declare const linksContract: {
1316
1518
  true: "true";
1317
1519
  false: "false";
1318
1520
  }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
1319
- has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
1320
- true: "true";
1321
- false: "false";
1322
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
1323
- expired: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
1324
- true: "true";
1325
- false: "false";
1326
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
1327
1521
  created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1328
1522
  created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1329
- expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1330
- expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1331
1523
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1332
1524
  sort_by: z.ZodDefault<z.ZodEnum<{
1333
1525
  created_at: "created_at";
@@ -1357,9 +1549,6 @@ export declare const linksContract: {
1357
1549
  utm_term: z.ZodNullable<z.ZodString>;
1358
1550
  utm_content: z.ZodNullable<z.ZodString>;
1359
1551
  password: z.ZodNullable<z.ZodString>;
1360
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1361
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1362
- fallback_url: z.ZodNullable<z.ZodString>;
1363
1552
  is_active: z.ZodBoolean;
1364
1553
  redirect_type: z.ZodNumber;
1365
1554
  click_count: z.ZodCoercedNumber<unknown>;
@@ -1394,10 +1583,6 @@ export declare const linksContract: {
1394
1583
  }, z.core.$strip>>;
1395
1584
  qr_logo_key: z.ZodNullable<z.ZodString>;
1396
1585
  logo_url: z.ZodNullable<z.ZodString>;
1397
- link_type: z.ZodDefault<z.ZodEnum<{
1398
- redirect: "redirect";
1399
- rules: "rules";
1400
- }>>;
1401
1586
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1402
1587
  entry: z.ZodString;
1403
1588
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1480,6 +1665,30 @@ export declare const linksContract: {
1480
1665
  y: z.ZodNumber;
1481
1666
  }, z.core.$strip>;
1482
1667
  next: z.ZodNullable<z.ZodString>;
1668
+ }, z.core.$strip>, z.ZodObject<{
1669
+ id: z.ZodString;
1670
+ type: z.ZodLiteral<"countdown">;
1671
+ position: z.ZodObject<{
1672
+ x: z.ZodNumber;
1673
+ y: z.ZodNumber;
1674
+ }, z.core.$strip>;
1675
+ seconds: z.ZodNumber;
1676
+ message: z.ZodNullable<z.ZodString>;
1677
+ next: z.ZodNullable<z.ZodString>;
1678
+ }, z.core.$strip>, z.ZodObject<{
1679
+ id: z.ZodString;
1680
+ type: z.ZodLiteral<"webhook">;
1681
+ position: z.ZodObject<{
1682
+ x: z.ZodNumber;
1683
+ y: z.ZodNumber;
1684
+ }, z.core.$strip>;
1685
+ url: z.ZodString;
1686
+ method: z.ZodEnum<{
1687
+ POST: "POST";
1688
+ GET: "GET";
1689
+ }>;
1690
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1691
+ next: z.ZodNullable<z.ZodString>;
1483
1692
  }, z.core.$strip>, z.ZodObject<{
1484
1693
  id: z.ZodString;
1485
1694
  type: z.ZodLiteral<"entry">;
@@ -1488,6 +1697,9 @@ export declare const linksContract: {
1488
1697
  y: z.ZodNumber;
1489
1698
  }, z.core.$strip>;
1490
1699
  next: z.ZodNullable<z.ZodString>;
1700
+ starts_at: z.ZodNullable<z.ZodString>;
1701
+ expires_at: z.ZodNullable<z.ZodString>;
1702
+ fallback_url: z.ZodNullable<z.ZodString>;
1491
1703
  }, z.core.$strip>], "type">>;
1492
1704
  }, z.core.$strip>>>;
1493
1705
  tags: z.ZodArray<z.ZodObject<{
@@ -1513,18 +1725,8 @@ export declare const linksContract: {
1513
1725
  }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
1514
1726
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1515
1727
  domain_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1516
- has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
1517
- true: "true";
1518
- false: "false";
1519
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
1520
- expired: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
1521
- true: "true";
1522
- false: "false";
1523
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
1524
1728
  created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1525
1729
  created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1526
- expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1527
- expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1528
1730
  sort_by: z.ZodDefault<z.ZodEnum<{
1529
1731
  created_at: "created_at";
1530
1732
  title: "title";
@@ -1554,9 +1756,6 @@ export declare const linksContract: {
1554
1756
  utm_term: z.ZodNullable<z.ZodString>;
1555
1757
  utm_content: z.ZodNullable<z.ZodString>;
1556
1758
  password: z.ZodNullable<z.ZodString>;
1557
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1558
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1559
- fallback_url: z.ZodNullable<z.ZodString>;
1560
1759
  is_active: z.ZodBoolean;
1561
1760
  redirect_type: z.ZodNumber;
1562
1761
  click_count: z.ZodCoercedNumber<unknown>;
@@ -1591,10 +1790,6 @@ export declare const linksContract: {
1591
1790
  }, z.core.$strip>>;
1592
1791
  qr_logo_key: z.ZodNullable<z.ZodString>;
1593
1792
  logo_url: z.ZodNullable<z.ZodString>;
1594
- link_type: z.ZodDefault<z.ZodEnum<{
1595
- redirect: "redirect";
1596
- rules: "rules";
1597
- }>>;
1598
1793
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1599
1794
  entry: z.ZodString;
1600
1795
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1677,6 +1872,30 @@ export declare const linksContract: {
1677
1872
  y: z.ZodNumber;
1678
1873
  }, z.core.$strip>;
1679
1874
  next: z.ZodNullable<z.ZodString>;
1875
+ }, z.core.$strip>, z.ZodObject<{
1876
+ id: z.ZodString;
1877
+ type: z.ZodLiteral<"countdown">;
1878
+ position: z.ZodObject<{
1879
+ x: z.ZodNumber;
1880
+ y: z.ZodNumber;
1881
+ }, z.core.$strip>;
1882
+ seconds: z.ZodNumber;
1883
+ message: z.ZodNullable<z.ZodString>;
1884
+ next: z.ZodNullable<z.ZodString>;
1885
+ }, z.core.$strip>, z.ZodObject<{
1886
+ id: z.ZodString;
1887
+ type: z.ZodLiteral<"webhook">;
1888
+ position: z.ZodObject<{
1889
+ x: z.ZodNumber;
1890
+ y: z.ZodNumber;
1891
+ }, z.core.$strip>;
1892
+ url: z.ZodString;
1893
+ method: z.ZodEnum<{
1894
+ POST: "POST";
1895
+ GET: "GET";
1896
+ }>;
1897
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1898
+ next: z.ZodNullable<z.ZodString>;
1680
1899
  }, z.core.$strip>, z.ZodObject<{
1681
1900
  id: z.ZodString;
1682
1901
  type: z.ZodLiteral<"entry">;
@@ -1685,6 +1904,9 @@ export declare const linksContract: {
1685
1904
  y: z.ZodNumber;
1686
1905
  }, z.core.$strip>;
1687
1906
  next: z.ZodNullable<z.ZodString>;
1907
+ starts_at: z.ZodNullable<z.ZodString>;
1908
+ expires_at: z.ZodNullable<z.ZodString>;
1909
+ fallback_url: z.ZodNullable<z.ZodString>;
1688
1910
  }, z.core.$strip>], "type">>;
1689
1911
  }, z.core.$strip>>>;
1690
1912
  tags: z.ZodArray<z.ZodObject<{
@@ -1710,9 +1932,6 @@ export declare const linksContract: {
1710
1932
  utm_term: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1711
1933
  utm_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1712
1934
  password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1713
- starts_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
1714
- expires_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
1715
- fallback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1716
1935
  is_active: z.ZodOptional<z.ZodBoolean>;
1717
1936
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1718
1937
  qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1742,10 +1961,6 @@ export declare const linksContract: {
1742
1961
  logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1743
1962
  }, z.core.$strip>>>;
1744
1963
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1745
- link_type: z.ZodOptional<z.ZodEnum<{
1746
- redirect: "redirect";
1747
- rules: "rules";
1748
- }>>;
1749
1964
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1750
1965
  entry: z.ZodString;
1751
1966
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1828,6 +2043,30 @@ export declare const linksContract: {
1828
2043
  y: z.ZodNumber;
1829
2044
  }, z.core.$strip>;
1830
2045
  next: z.ZodNullable<z.ZodString>;
2046
+ }, z.core.$strip>, z.ZodObject<{
2047
+ id: z.ZodString;
2048
+ type: z.ZodLiteral<"countdown">;
2049
+ position: z.ZodObject<{
2050
+ x: z.ZodNumber;
2051
+ y: z.ZodNumber;
2052
+ }, z.core.$strip>;
2053
+ seconds: z.ZodNumber;
2054
+ message: z.ZodNullable<z.ZodString>;
2055
+ next: z.ZodNullable<z.ZodString>;
2056
+ }, z.core.$strip>, z.ZodObject<{
2057
+ id: z.ZodString;
2058
+ type: z.ZodLiteral<"webhook">;
2059
+ position: z.ZodObject<{
2060
+ x: z.ZodNumber;
2061
+ y: z.ZodNumber;
2062
+ }, z.core.$strip>;
2063
+ url: z.ZodString;
2064
+ method: z.ZodEnum<{
2065
+ POST: "POST";
2066
+ GET: "GET";
2067
+ }>;
2068
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2069
+ next: z.ZodNullable<z.ZodString>;
1831
2070
  }, z.core.$strip>, z.ZodObject<{
1832
2071
  id: z.ZodString;
1833
2072
  type: z.ZodLiteral<"entry">;
@@ -1836,6 +2075,9 @@ export declare const linksContract: {
1836
2075
  y: z.ZodNumber;
1837
2076
  }, z.core.$strip>;
1838
2077
  next: z.ZodNullable<z.ZodString>;
2078
+ starts_at: z.ZodNullable<z.ZodString>;
2079
+ expires_at: z.ZodNullable<z.ZodString>;
2080
+ fallback_url: z.ZodNullable<z.ZodString>;
1839
2081
  }, z.core.$strip>], "type">>;
1840
2082
  }, z.core.$strip>>>;
1841
2083
  }, z.core.$strip>, z.ZodObject<{
@@ -1853,9 +2095,6 @@ export declare const linksContract: {
1853
2095
  utm_term: z.ZodNullable<z.ZodString>;
1854
2096
  utm_content: z.ZodNullable<z.ZodString>;
1855
2097
  password: z.ZodNullable<z.ZodString>;
1856
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1857
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1858
- fallback_url: z.ZodNullable<z.ZodString>;
1859
2098
  is_active: z.ZodBoolean;
1860
2099
  redirect_type: z.ZodNumber;
1861
2100
  click_count: z.ZodCoercedNumber<unknown>;
@@ -1890,10 +2129,6 @@ export declare const linksContract: {
1890
2129
  }, z.core.$strip>>;
1891
2130
  qr_logo_key: z.ZodNullable<z.ZodString>;
1892
2131
  logo_url: z.ZodNullable<z.ZodString>;
1893
- link_type: z.ZodDefault<z.ZodEnum<{
1894
- redirect: "redirect";
1895
- rules: "rules";
1896
- }>>;
1897
2132
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1898
2133
  entry: z.ZodString;
1899
2134
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1976,6 +2211,30 @@ export declare const linksContract: {
1976
2211
  y: z.ZodNumber;
1977
2212
  }, z.core.$strip>;
1978
2213
  next: z.ZodNullable<z.ZodString>;
2214
+ }, z.core.$strip>, z.ZodObject<{
2215
+ id: z.ZodString;
2216
+ type: z.ZodLiteral<"countdown">;
2217
+ position: z.ZodObject<{
2218
+ x: z.ZodNumber;
2219
+ y: z.ZodNumber;
2220
+ }, z.core.$strip>;
2221
+ seconds: z.ZodNumber;
2222
+ message: z.ZodNullable<z.ZodString>;
2223
+ next: z.ZodNullable<z.ZodString>;
2224
+ }, z.core.$strip>, z.ZodObject<{
2225
+ id: z.ZodString;
2226
+ type: z.ZodLiteral<"webhook">;
2227
+ position: z.ZodObject<{
2228
+ x: z.ZodNumber;
2229
+ y: z.ZodNumber;
2230
+ }, z.core.$strip>;
2231
+ url: z.ZodString;
2232
+ method: z.ZodEnum<{
2233
+ POST: "POST";
2234
+ GET: "GET";
2235
+ }>;
2236
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2237
+ next: z.ZodNullable<z.ZodString>;
1979
2238
  }, z.core.$strip>, z.ZodObject<{
1980
2239
  id: z.ZodString;
1981
2240
  type: z.ZodLiteral<"entry">;
@@ -1984,6 +2243,9 @@ export declare const linksContract: {
1984
2243
  y: z.ZodNumber;
1985
2244
  }, z.core.$strip>;
1986
2245
  next: z.ZodNullable<z.ZodString>;
2246
+ starts_at: z.ZodNullable<z.ZodString>;
2247
+ expires_at: z.ZodNullable<z.ZodString>;
2248
+ fallback_url: z.ZodNullable<z.ZodString>;
1987
2249
  }, z.core.$strip>], "type">>;
1988
2250
  }, z.core.$strip>>>;
1989
2251
  tags: z.ZodArray<z.ZodObject<{
@@ -2028,9 +2290,6 @@ export declare const linksContract: {
2028
2290
  utm_term: z.ZodNullable<z.ZodString>;
2029
2291
  utm_content: z.ZodNullable<z.ZodString>;
2030
2292
  password: z.ZodNullable<z.ZodString>;
2031
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2032
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2033
- fallback_url: z.ZodNullable<z.ZodString>;
2034
2293
  is_active: z.ZodBoolean;
2035
2294
  redirect_type: z.ZodNumber;
2036
2295
  click_count: z.ZodCoercedNumber<unknown>;
@@ -2065,10 +2324,6 @@ export declare const linksContract: {
2065
2324
  }, z.core.$strip>>;
2066
2325
  qr_logo_key: z.ZodNullable<z.ZodString>;
2067
2326
  logo_url: z.ZodNullable<z.ZodString>;
2068
- link_type: z.ZodDefault<z.ZodEnum<{
2069
- redirect: "redirect";
2070
- rules: "rules";
2071
- }>>;
2072
2327
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2073
2328
  entry: z.ZodString;
2074
2329
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2151,6 +2406,30 @@ export declare const linksContract: {
2151
2406
  y: z.ZodNumber;
2152
2407
  }, z.core.$strip>;
2153
2408
  next: z.ZodNullable<z.ZodString>;
2409
+ }, z.core.$strip>, z.ZodObject<{
2410
+ id: z.ZodString;
2411
+ type: z.ZodLiteral<"countdown">;
2412
+ position: z.ZodObject<{
2413
+ x: z.ZodNumber;
2414
+ y: z.ZodNumber;
2415
+ }, z.core.$strip>;
2416
+ seconds: z.ZodNumber;
2417
+ message: z.ZodNullable<z.ZodString>;
2418
+ next: z.ZodNullable<z.ZodString>;
2419
+ }, z.core.$strip>, z.ZodObject<{
2420
+ id: z.ZodString;
2421
+ type: z.ZodLiteral<"webhook">;
2422
+ position: z.ZodObject<{
2423
+ x: z.ZodNumber;
2424
+ y: z.ZodNumber;
2425
+ }, z.core.$strip>;
2426
+ url: z.ZodString;
2427
+ method: z.ZodEnum<{
2428
+ POST: "POST";
2429
+ GET: "GET";
2430
+ }>;
2431
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2432
+ next: z.ZodNullable<z.ZodString>;
2154
2433
  }, z.core.$strip>, z.ZodObject<{
2155
2434
  id: z.ZodString;
2156
2435
  type: z.ZodLiteral<"entry">;
@@ -2159,6 +2438,9 @@ export declare const linksContract: {
2159
2438
  y: z.ZodNumber;
2160
2439
  }, z.core.$strip>;
2161
2440
  next: z.ZodNullable<z.ZodString>;
2441
+ starts_at: z.ZodNullable<z.ZodString>;
2442
+ expires_at: z.ZodNullable<z.ZodString>;
2443
+ fallback_url: z.ZodNullable<z.ZodString>;
2162
2444
  }, z.core.$strip>], "type">>;
2163
2445
  }, z.core.$strip>>>;
2164
2446
  tags: z.ZodArray<z.ZodObject<{
@@ -2188,9 +2470,6 @@ export declare const linksContract: {
2188
2470
  utm_term: z.ZodNullable<z.ZodString>;
2189
2471
  utm_content: z.ZodNullable<z.ZodString>;
2190
2472
  password: z.ZodNullable<z.ZodString>;
2191
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2192
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2193
- fallback_url: z.ZodNullable<z.ZodString>;
2194
2473
  is_active: z.ZodBoolean;
2195
2474
  redirect_type: z.ZodNumber;
2196
2475
  click_count: z.ZodCoercedNumber<unknown>;
@@ -2225,10 +2504,6 @@ export declare const linksContract: {
2225
2504
  }, z.core.$strip>>;
2226
2505
  qr_logo_key: z.ZodNullable<z.ZodString>;
2227
2506
  logo_url: z.ZodNullable<z.ZodString>;
2228
- link_type: z.ZodDefault<z.ZodEnum<{
2229
- redirect: "redirect";
2230
- rules: "rules";
2231
- }>>;
2232
2507
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2233
2508
  entry: z.ZodString;
2234
2509
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2311,6 +2586,30 @@ export declare const linksContract: {
2311
2586
  y: z.ZodNumber;
2312
2587
  }, z.core.$strip>;
2313
2588
  next: z.ZodNullable<z.ZodString>;
2589
+ }, z.core.$strip>, z.ZodObject<{
2590
+ id: z.ZodString;
2591
+ type: z.ZodLiteral<"countdown">;
2592
+ position: z.ZodObject<{
2593
+ x: z.ZodNumber;
2594
+ y: z.ZodNumber;
2595
+ }, z.core.$strip>;
2596
+ seconds: z.ZodNumber;
2597
+ message: z.ZodNullable<z.ZodString>;
2598
+ next: z.ZodNullable<z.ZodString>;
2599
+ }, z.core.$strip>, z.ZodObject<{
2600
+ id: z.ZodString;
2601
+ type: z.ZodLiteral<"webhook">;
2602
+ position: z.ZodObject<{
2603
+ x: z.ZodNumber;
2604
+ y: z.ZodNumber;
2605
+ }, z.core.$strip>;
2606
+ url: z.ZodString;
2607
+ method: z.ZodEnum<{
2608
+ POST: "POST";
2609
+ GET: "GET";
2610
+ }>;
2611
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2612
+ next: z.ZodNullable<z.ZodString>;
2314
2613
  }, z.core.$strip>, z.ZodObject<{
2315
2614
  id: z.ZodString;
2316
2615
  type: z.ZodLiteral<"entry">;
@@ -2319,6 +2618,9 @@ export declare const linksContract: {
2319
2618
  y: z.ZodNumber;
2320
2619
  }, z.core.$strip>;
2321
2620
  next: z.ZodNullable<z.ZodString>;
2621
+ starts_at: z.ZodNullable<z.ZodString>;
2622
+ expires_at: z.ZodNullable<z.ZodString>;
2623
+ fallback_url: z.ZodNullable<z.ZodString>;
2322
2624
  }, z.core.$strip>], "type">>;
2323
2625
  }, z.core.$strip>>>;
2324
2626
  tags: z.ZodArray<z.ZodObject<{
@@ -3065,6 +3367,30 @@ export declare const contract: {
3065
3367
  y: z.ZodNumber;
3066
3368
  }, z.core.$strip>;
3067
3369
  next: z.ZodNullable<z.ZodString>;
3370
+ }, z.core.$strip>, z.ZodObject<{
3371
+ id: z.ZodString;
3372
+ type: z.ZodLiteral<"countdown">;
3373
+ position: z.ZodObject<{
3374
+ x: z.ZodNumber;
3375
+ y: z.ZodNumber;
3376
+ }, z.core.$strip>;
3377
+ seconds: z.ZodNumber;
3378
+ message: z.ZodNullable<z.ZodString>;
3379
+ next: z.ZodNullable<z.ZodString>;
3380
+ }, z.core.$strip>, z.ZodObject<{
3381
+ id: z.ZodString;
3382
+ type: z.ZodLiteral<"webhook">;
3383
+ position: z.ZodObject<{
3384
+ x: z.ZodNumber;
3385
+ y: z.ZodNumber;
3386
+ }, z.core.$strip>;
3387
+ url: z.ZodString;
3388
+ method: z.ZodEnum<{
3389
+ POST: "POST";
3390
+ GET: "GET";
3391
+ }>;
3392
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3393
+ next: z.ZodNullable<z.ZodString>;
3068
3394
  }, z.core.$strip>, z.ZodObject<{
3069
3395
  id: z.ZodString;
3070
3396
  type: z.ZodLiteral<"entry">;
@@ -3073,6 +3399,9 @@ export declare const contract: {
3073
3399
  y: z.ZodNumber;
3074
3400
  }, z.core.$strip>;
3075
3401
  next: z.ZodNullable<z.ZodString>;
3402
+ starts_at: z.ZodNullable<z.ZodString>;
3403
+ expires_at: z.ZodNullable<z.ZodString>;
3404
+ fallback_url: z.ZodNullable<z.ZodString>;
3076
3405
  }, z.core.$strip>], "type">>;
3077
3406
  }, z.core.$strip>>>;
3078
3407
  }, z.core.$strip>, z.ZodObject<{
@@ -3162,6 +3491,30 @@ export declare const contract: {
3162
3491
  y: z.ZodNumber;
3163
3492
  }, z.core.$strip>;
3164
3493
  next: z.ZodNullable<z.ZodString>;
3494
+ }, z.core.$strip>, z.ZodObject<{
3495
+ id: z.ZodString;
3496
+ type: z.ZodLiteral<"countdown">;
3497
+ position: z.ZodObject<{
3498
+ x: z.ZodNumber;
3499
+ y: z.ZodNumber;
3500
+ }, z.core.$strip>;
3501
+ seconds: z.ZodNumber;
3502
+ message: z.ZodNullable<z.ZodString>;
3503
+ next: z.ZodNullable<z.ZodString>;
3504
+ }, z.core.$strip>, z.ZodObject<{
3505
+ id: z.ZodString;
3506
+ type: z.ZodLiteral<"webhook">;
3507
+ position: z.ZodObject<{
3508
+ x: z.ZodNumber;
3509
+ y: z.ZodNumber;
3510
+ }, z.core.$strip>;
3511
+ url: z.ZodString;
3512
+ method: z.ZodEnum<{
3513
+ POST: "POST";
3514
+ GET: "GET";
3515
+ }>;
3516
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3517
+ next: z.ZodNullable<z.ZodString>;
3165
3518
  }, z.core.$strip>, z.ZodObject<{
3166
3519
  id: z.ZodString;
3167
3520
  type: z.ZodLiteral<"entry">;
@@ -3170,6 +3523,9 @@ export declare const contract: {
3170
3523
  y: z.ZodNumber;
3171
3524
  }, z.core.$strip>;
3172
3525
  next: z.ZodNullable<z.ZodString>;
3526
+ starts_at: z.ZodNullable<z.ZodString>;
3527
+ expires_at: z.ZodNullable<z.ZodString>;
3528
+ fallback_url: z.ZodNullable<z.ZodString>;
3173
3529
  }, z.core.$strip>], "type">>;
3174
3530
  }, z.core.$strip>>;
3175
3531
  created_at: z.ZodCoercedDate<unknown>;
@@ -3268,6 +3624,30 @@ export declare const contract: {
3268
3624
  y: z.ZodNumber;
3269
3625
  }, z.core.$strip>;
3270
3626
  next: z.ZodNullable<z.ZodString>;
3627
+ }, z.core.$strip>, z.ZodObject<{
3628
+ id: z.ZodString;
3629
+ type: z.ZodLiteral<"countdown">;
3630
+ position: z.ZodObject<{
3631
+ x: z.ZodNumber;
3632
+ y: z.ZodNumber;
3633
+ }, z.core.$strip>;
3634
+ seconds: z.ZodNumber;
3635
+ message: z.ZodNullable<z.ZodString>;
3636
+ next: z.ZodNullable<z.ZodString>;
3637
+ }, z.core.$strip>, z.ZodObject<{
3638
+ id: z.ZodString;
3639
+ type: z.ZodLiteral<"webhook">;
3640
+ position: z.ZodObject<{
3641
+ x: z.ZodNumber;
3642
+ y: z.ZodNumber;
3643
+ }, z.core.$strip>;
3644
+ url: z.ZodString;
3645
+ method: z.ZodEnum<{
3646
+ POST: "POST";
3647
+ GET: "GET";
3648
+ }>;
3649
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3650
+ next: z.ZodNullable<z.ZodString>;
3271
3651
  }, z.core.$strip>, z.ZodObject<{
3272
3652
  id: z.ZodString;
3273
3653
  type: z.ZodLiteral<"entry">;
@@ -3276,6 +3656,9 @@ export declare const contract: {
3276
3656
  y: z.ZodNumber;
3277
3657
  }, z.core.$strip>;
3278
3658
  next: z.ZodNullable<z.ZodString>;
3659
+ starts_at: z.ZodNullable<z.ZodString>;
3660
+ expires_at: z.ZodNullable<z.ZodString>;
3661
+ fallback_url: z.ZodNullable<z.ZodString>;
3279
3662
  }, z.core.$strip>], "type">>;
3280
3663
  }, z.core.$strip>>;
3281
3664
  created_at: z.ZodCoercedDate<unknown>;
@@ -3376,6 +3759,30 @@ export declare const contract: {
3376
3759
  y: z.ZodNumber;
3377
3760
  }, z.core.$strip>;
3378
3761
  next: z.ZodNullable<z.ZodString>;
3762
+ }, z.core.$strip>, z.ZodObject<{
3763
+ id: z.ZodString;
3764
+ type: z.ZodLiteral<"countdown">;
3765
+ position: z.ZodObject<{
3766
+ x: z.ZodNumber;
3767
+ y: z.ZodNumber;
3768
+ }, z.core.$strip>;
3769
+ seconds: z.ZodNumber;
3770
+ message: z.ZodNullable<z.ZodString>;
3771
+ next: z.ZodNullable<z.ZodString>;
3772
+ }, z.core.$strip>, z.ZodObject<{
3773
+ id: z.ZodString;
3774
+ type: z.ZodLiteral<"webhook">;
3775
+ position: z.ZodObject<{
3776
+ x: z.ZodNumber;
3777
+ y: z.ZodNumber;
3778
+ }, z.core.$strip>;
3779
+ url: z.ZodString;
3780
+ method: z.ZodEnum<{
3781
+ POST: "POST";
3782
+ GET: "GET";
3783
+ }>;
3784
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3785
+ next: z.ZodNullable<z.ZodString>;
3379
3786
  }, z.core.$strip>, z.ZodObject<{
3380
3787
  id: z.ZodString;
3381
3788
  type: z.ZodLiteral<"entry">;
@@ -3384,6 +3791,9 @@ export declare const contract: {
3384
3791
  y: z.ZodNumber;
3385
3792
  }, z.core.$strip>;
3386
3793
  next: z.ZodNullable<z.ZodString>;
3794
+ starts_at: z.ZodNullable<z.ZodString>;
3795
+ expires_at: z.ZodNullable<z.ZodString>;
3796
+ fallback_url: z.ZodNullable<z.ZodString>;
3387
3797
  }, z.core.$strip>], "type">>;
3388
3798
  }, z.core.$strip>>;
3389
3799
  created_at: z.ZodCoercedDate<unknown>;
@@ -3476,6 +3886,30 @@ export declare const contract: {
3476
3886
  y: z.ZodNumber;
3477
3887
  }, z.core.$strip>;
3478
3888
  next: z.ZodNullable<z.ZodString>;
3889
+ }, z.core.$strip>, z.ZodObject<{
3890
+ id: z.ZodString;
3891
+ type: z.ZodLiteral<"countdown">;
3892
+ position: z.ZodObject<{
3893
+ x: z.ZodNumber;
3894
+ y: z.ZodNumber;
3895
+ }, z.core.$strip>;
3896
+ seconds: z.ZodNumber;
3897
+ message: z.ZodNullable<z.ZodString>;
3898
+ next: z.ZodNullable<z.ZodString>;
3899
+ }, z.core.$strip>, z.ZodObject<{
3900
+ id: z.ZodString;
3901
+ type: z.ZodLiteral<"webhook">;
3902
+ position: z.ZodObject<{
3903
+ x: z.ZodNumber;
3904
+ y: z.ZodNumber;
3905
+ }, z.core.$strip>;
3906
+ url: z.ZodString;
3907
+ method: z.ZodEnum<{
3908
+ POST: "POST";
3909
+ GET: "GET";
3910
+ }>;
3911
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3912
+ next: z.ZodNullable<z.ZodString>;
3479
3913
  }, z.core.$strip>, z.ZodObject<{
3480
3914
  id: z.ZodString;
3481
3915
  type: z.ZodLiteral<"entry">;
@@ -3484,6 +3918,9 @@ export declare const contract: {
3484
3918
  y: z.ZodNumber;
3485
3919
  }, z.core.$strip>;
3486
3920
  next: z.ZodNullable<z.ZodString>;
3921
+ starts_at: z.ZodNullable<z.ZodString>;
3922
+ expires_at: z.ZodNullable<z.ZodString>;
3923
+ fallback_url: z.ZodNullable<z.ZodString>;
3487
3924
  }, z.core.$strip>], "type">>;
3488
3925
  }, z.core.$strip>>;
3489
3926
  }, z.core.$strip>, z.ZodObject<{
@@ -3573,6 +4010,30 @@ export declare const contract: {
3573
4010
  y: z.ZodNumber;
3574
4011
  }, z.core.$strip>;
3575
4012
  next: z.ZodNullable<z.ZodString>;
4013
+ }, z.core.$strip>, z.ZodObject<{
4014
+ id: z.ZodString;
4015
+ type: z.ZodLiteral<"countdown">;
4016
+ position: z.ZodObject<{
4017
+ x: z.ZodNumber;
4018
+ y: z.ZodNumber;
4019
+ }, z.core.$strip>;
4020
+ seconds: z.ZodNumber;
4021
+ message: z.ZodNullable<z.ZodString>;
4022
+ next: z.ZodNullable<z.ZodString>;
4023
+ }, z.core.$strip>, z.ZodObject<{
4024
+ id: z.ZodString;
4025
+ type: z.ZodLiteral<"webhook">;
4026
+ position: z.ZodObject<{
4027
+ x: z.ZodNumber;
4028
+ y: z.ZodNumber;
4029
+ }, z.core.$strip>;
4030
+ url: z.ZodString;
4031
+ method: z.ZodEnum<{
4032
+ POST: "POST";
4033
+ GET: "GET";
4034
+ }>;
4035
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4036
+ next: z.ZodNullable<z.ZodString>;
3576
4037
  }, z.core.$strip>, z.ZodObject<{
3577
4038
  id: z.ZodString;
3578
4039
  type: z.ZodLiteral<"entry">;
@@ -3581,6 +4042,9 @@ export declare const contract: {
3581
4042
  y: z.ZodNumber;
3582
4043
  }, z.core.$strip>;
3583
4044
  next: z.ZodNullable<z.ZodString>;
4045
+ starts_at: z.ZodNullable<z.ZodString>;
4046
+ expires_at: z.ZodNullable<z.ZodString>;
4047
+ fallback_url: z.ZodNullable<z.ZodString>;
3584
4048
  }, z.core.$strip>], "type">>;
3585
4049
  }, z.core.$strip>>;
3586
4050
  created_at: z.ZodCoercedDate<unknown>;
@@ -3605,9 +4069,6 @@ export declare const contract: {
3605
4069
  utm_term: z.ZodOptional<z.ZodString>;
3606
4070
  utm_content: z.ZodOptional<z.ZodString>;
3607
4071
  password: z.ZodOptional<z.ZodString>;
3608
- starts_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
3609
- expires_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
3610
- fallback_url: z.ZodOptional<z.ZodString>;
3611
4072
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3612
4073
  qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3613
4074
  fg_color: z.ZodString;
@@ -3636,10 +4097,6 @@ export declare const contract: {
3636
4097
  logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3637
4098
  }, z.core.$strip>>>;
3638
4099
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3639
- link_type: z.ZodOptional<z.ZodEnum<{
3640
- redirect: "redirect";
3641
- rules: "rules";
3642
- }>>;
3643
4100
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3644
4101
  entry: z.ZodString;
3645
4102
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3722,6 +4179,30 @@ export declare const contract: {
3722
4179
  y: z.ZodNumber;
3723
4180
  }, z.core.$strip>;
3724
4181
  next: z.ZodNullable<z.ZodString>;
4182
+ }, z.core.$strip>, z.ZodObject<{
4183
+ id: z.ZodString;
4184
+ type: z.ZodLiteral<"countdown">;
4185
+ position: z.ZodObject<{
4186
+ x: z.ZodNumber;
4187
+ y: z.ZodNumber;
4188
+ }, z.core.$strip>;
4189
+ seconds: z.ZodNumber;
4190
+ message: z.ZodNullable<z.ZodString>;
4191
+ next: z.ZodNullable<z.ZodString>;
4192
+ }, z.core.$strip>, z.ZodObject<{
4193
+ id: z.ZodString;
4194
+ type: z.ZodLiteral<"webhook">;
4195
+ position: z.ZodObject<{
4196
+ x: z.ZodNumber;
4197
+ y: z.ZodNumber;
4198
+ }, z.core.$strip>;
4199
+ url: z.ZodString;
4200
+ method: z.ZodEnum<{
4201
+ POST: "POST";
4202
+ GET: "GET";
4203
+ }>;
4204
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4205
+ next: z.ZodNullable<z.ZodString>;
3725
4206
  }, z.core.$strip>, z.ZodObject<{
3726
4207
  id: z.ZodString;
3727
4208
  type: z.ZodLiteral<"entry">;
@@ -3730,6 +4211,9 @@ export declare const contract: {
3730
4211
  y: z.ZodNumber;
3731
4212
  }, z.core.$strip>;
3732
4213
  next: z.ZodNullable<z.ZodString>;
4214
+ starts_at: z.ZodNullable<z.ZodString>;
4215
+ expires_at: z.ZodNullable<z.ZodString>;
4216
+ fallback_url: z.ZodNullable<z.ZodString>;
3733
4217
  }, z.core.$strip>], "type">>;
3734
4218
  }, z.core.$strip>>>;
3735
4219
  }, z.core.$strip>, z.ZodObject<{
@@ -3747,9 +4231,6 @@ export declare const contract: {
3747
4231
  utm_term: z.ZodNullable<z.ZodString>;
3748
4232
  utm_content: z.ZodNullable<z.ZodString>;
3749
4233
  password: z.ZodNullable<z.ZodString>;
3750
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
3751
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
3752
- fallback_url: z.ZodNullable<z.ZodString>;
3753
4234
  is_active: z.ZodBoolean;
3754
4235
  redirect_type: z.ZodNumber;
3755
4236
  click_count: z.ZodCoercedNumber<unknown>;
@@ -3784,10 +4265,6 @@ export declare const contract: {
3784
4265
  }, z.core.$strip>>;
3785
4266
  qr_logo_key: z.ZodNullable<z.ZodString>;
3786
4267
  logo_url: z.ZodNullable<z.ZodString>;
3787
- link_type: z.ZodDefault<z.ZodEnum<{
3788
- redirect: "redirect";
3789
- rules: "rules";
3790
- }>>;
3791
4268
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3792
4269
  entry: z.ZodString;
3793
4270
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3870,6 +4347,30 @@ export declare const contract: {
3870
4347
  y: z.ZodNumber;
3871
4348
  }, z.core.$strip>;
3872
4349
  next: z.ZodNullable<z.ZodString>;
4350
+ }, z.core.$strip>, z.ZodObject<{
4351
+ id: z.ZodString;
4352
+ type: z.ZodLiteral<"countdown">;
4353
+ position: z.ZodObject<{
4354
+ x: z.ZodNumber;
4355
+ y: z.ZodNumber;
4356
+ }, z.core.$strip>;
4357
+ seconds: z.ZodNumber;
4358
+ message: z.ZodNullable<z.ZodString>;
4359
+ next: z.ZodNullable<z.ZodString>;
4360
+ }, z.core.$strip>, z.ZodObject<{
4361
+ id: z.ZodString;
4362
+ type: z.ZodLiteral<"webhook">;
4363
+ position: z.ZodObject<{
4364
+ x: z.ZodNumber;
4365
+ y: z.ZodNumber;
4366
+ }, z.core.$strip>;
4367
+ url: z.ZodString;
4368
+ method: z.ZodEnum<{
4369
+ POST: "POST";
4370
+ GET: "GET";
4371
+ }>;
4372
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4373
+ next: z.ZodNullable<z.ZodString>;
3873
4374
  }, z.core.$strip>, z.ZodObject<{
3874
4375
  id: z.ZodString;
3875
4376
  type: z.ZodLiteral<"entry">;
@@ -3878,6 +4379,9 @@ export declare const contract: {
3878
4379
  y: z.ZodNumber;
3879
4380
  }, z.core.$strip>;
3880
4381
  next: z.ZodNullable<z.ZodString>;
4382
+ starts_at: z.ZodNullable<z.ZodString>;
4383
+ expires_at: z.ZodNullable<z.ZodString>;
4384
+ fallback_url: z.ZodNullable<z.ZodString>;
3881
4385
  }, z.core.$strip>], "type">>;
3882
4386
  }, z.core.$strip>>>;
3883
4387
  tags: z.ZodArray<z.ZodObject<{
@@ -3897,18 +4401,8 @@ export declare const contract: {
3897
4401
  true: "true";
3898
4402
  false: "false";
3899
4403
  }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
3900
- has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
3901
- true: "true";
3902
- false: "false";
3903
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
3904
- expired: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
3905
- true: "true";
3906
- false: "false";
3907
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
3908
4404
  created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
3909
4405
  created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
3910
- expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
3911
- expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
3912
4406
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3913
4407
  sort_by: z.ZodDefault<z.ZodEnum<{
3914
4408
  created_at: "created_at";
@@ -3938,9 +4432,6 @@ export declare const contract: {
3938
4432
  utm_term: z.ZodNullable<z.ZodString>;
3939
4433
  utm_content: z.ZodNullable<z.ZodString>;
3940
4434
  password: z.ZodNullable<z.ZodString>;
3941
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
3942
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
3943
- fallback_url: z.ZodNullable<z.ZodString>;
3944
4435
  is_active: z.ZodBoolean;
3945
4436
  redirect_type: z.ZodNumber;
3946
4437
  click_count: z.ZodCoercedNumber<unknown>;
@@ -3975,10 +4466,6 @@ export declare const contract: {
3975
4466
  }, z.core.$strip>>;
3976
4467
  qr_logo_key: z.ZodNullable<z.ZodString>;
3977
4468
  logo_url: z.ZodNullable<z.ZodString>;
3978
- link_type: z.ZodDefault<z.ZodEnum<{
3979
- redirect: "redirect";
3980
- rules: "rules";
3981
- }>>;
3982
4469
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3983
4470
  entry: z.ZodString;
3984
4471
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4061,6 +4548,30 @@ export declare const contract: {
4061
4548
  y: z.ZodNumber;
4062
4549
  }, z.core.$strip>;
4063
4550
  next: z.ZodNullable<z.ZodString>;
4551
+ }, z.core.$strip>, z.ZodObject<{
4552
+ id: z.ZodString;
4553
+ type: z.ZodLiteral<"countdown">;
4554
+ position: z.ZodObject<{
4555
+ x: z.ZodNumber;
4556
+ y: z.ZodNumber;
4557
+ }, z.core.$strip>;
4558
+ seconds: z.ZodNumber;
4559
+ message: z.ZodNullable<z.ZodString>;
4560
+ next: z.ZodNullable<z.ZodString>;
4561
+ }, z.core.$strip>, z.ZodObject<{
4562
+ id: z.ZodString;
4563
+ type: z.ZodLiteral<"webhook">;
4564
+ position: z.ZodObject<{
4565
+ x: z.ZodNumber;
4566
+ y: z.ZodNumber;
4567
+ }, z.core.$strip>;
4568
+ url: z.ZodString;
4569
+ method: z.ZodEnum<{
4570
+ POST: "POST";
4571
+ GET: "GET";
4572
+ }>;
4573
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4574
+ next: z.ZodNullable<z.ZodString>;
4064
4575
  }, z.core.$strip>, z.ZodObject<{
4065
4576
  id: z.ZodString;
4066
4577
  type: z.ZodLiteral<"entry">;
@@ -4069,6 +4580,9 @@ export declare const contract: {
4069
4580
  y: z.ZodNumber;
4070
4581
  }, z.core.$strip>;
4071
4582
  next: z.ZodNullable<z.ZodString>;
4583
+ starts_at: z.ZodNullable<z.ZodString>;
4584
+ expires_at: z.ZodNullable<z.ZodString>;
4585
+ fallback_url: z.ZodNullable<z.ZodString>;
4072
4586
  }, z.core.$strip>], "type">>;
4073
4587
  }, z.core.$strip>>>;
4074
4588
  tags: z.ZodArray<z.ZodObject<{
@@ -4094,18 +4608,8 @@ export declare const contract: {
4094
4608
  }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
4095
4609
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4096
4610
  domain_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4097
- has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
4098
- true: "true";
4099
- false: "false";
4100
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
4101
- expired: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
4102
- true: "true";
4103
- false: "false";
4104
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
4105
4611
  created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
4106
4612
  created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
4107
- expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
4108
- expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
4109
4613
  sort_by: z.ZodDefault<z.ZodEnum<{
4110
4614
  created_at: "created_at";
4111
4615
  title: "title";
@@ -4135,9 +4639,6 @@ export declare const contract: {
4135
4639
  utm_term: z.ZodNullable<z.ZodString>;
4136
4640
  utm_content: z.ZodNullable<z.ZodString>;
4137
4641
  password: z.ZodNullable<z.ZodString>;
4138
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
4139
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
4140
- fallback_url: z.ZodNullable<z.ZodString>;
4141
4642
  is_active: z.ZodBoolean;
4142
4643
  redirect_type: z.ZodNumber;
4143
4644
  click_count: z.ZodCoercedNumber<unknown>;
@@ -4172,10 +4673,6 @@ export declare const contract: {
4172
4673
  }, z.core.$strip>>;
4173
4674
  qr_logo_key: z.ZodNullable<z.ZodString>;
4174
4675
  logo_url: z.ZodNullable<z.ZodString>;
4175
- link_type: z.ZodDefault<z.ZodEnum<{
4176
- redirect: "redirect";
4177
- rules: "rules";
4178
- }>>;
4179
4676
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4180
4677
  entry: z.ZodString;
4181
4678
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4258,6 +4755,30 @@ export declare const contract: {
4258
4755
  y: z.ZodNumber;
4259
4756
  }, z.core.$strip>;
4260
4757
  next: z.ZodNullable<z.ZodString>;
4758
+ }, z.core.$strip>, z.ZodObject<{
4759
+ id: z.ZodString;
4760
+ type: z.ZodLiteral<"countdown">;
4761
+ position: z.ZodObject<{
4762
+ x: z.ZodNumber;
4763
+ y: z.ZodNumber;
4764
+ }, z.core.$strip>;
4765
+ seconds: z.ZodNumber;
4766
+ message: z.ZodNullable<z.ZodString>;
4767
+ next: z.ZodNullable<z.ZodString>;
4768
+ }, z.core.$strip>, z.ZodObject<{
4769
+ id: z.ZodString;
4770
+ type: z.ZodLiteral<"webhook">;
4771
+ position: z.ZodObject<{
4772
+ x: z.ZodNumber;
4773
+ y: z.ZodNumber;
4774
+ }, z.core.$strip>;
4775
+ url: z.ZodString;
4776
+ method: z.ZodEnum<{
4777
+ POST: "POST";
4778
+ GET: "GET";
4779
+ }>;
4780
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4781
+ next: z.ZodNullable<z.ZodString>;
4261
4782
  }, z.core.$strip>, z.ZodObject<{
4262
4783
  id: z.ZodString;
4263
4784
  type: z.ZodLiteral<"entry">;
@@ -4266,6 +4787,9 @@ export declare const contract: {
4266
4787
  y: z.ZodNumber;
4267
4788
  }, z.core.$strip>;
4268
4789
  next: z.ZodNullable<z.ZodString>;
4790
+ starts_at: z.ZodNullable<z.ZodString>;
4791
+ expires_at: z.ZodNullable<z.ZodString>;
4792
+ fallback_url: z.ZodNullable<z.ZodString>;
4269
4793
  }, z.core.$strip>], "type">>;
4270
4794
  }, z.core.$strip>>>;
4271
4795
  tags: z.ZodArray<z.ZodObject<{
@@ -4291,9 +4815,6 @@ export declare const contract: {
4291
4815
  utm_term: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4292
4816
  utm_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4293
4817
  password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4294
- starts_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
4295
- expires_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
4296
- fallback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4297
4818
  is_active: z.ZodOptional<z.ZodBoolean>;
4298
4819
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
4299
4820
  qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4323,10 +4844,6 @@ export declare const contract: {
4323
4844
  logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4324
4845
  }, z.core.$strip>>>;
4325
4846
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4326
- link_type: z.ZodOptional<z.ZodEnum<{
4327
- redirect: "redirect";
4328
- rules: "rules";
4329
- }>>;
4330
4847
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4331
4848
  entry: z.ZodString;
4332
4849
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4409,6 +4926,30 @@ export declare const contract: {
4409
4926
  y: z.ZodNumber;
4410
4927
  }, z.core.$strip>;
4411
4928
  next: z.ZodNullable<z.ZodString>;
4929
+ }, z.core.$strip>, z.ZodObject<{
4930
+ id: z.ZodString;
4931
+ type: z.ZodLiteral<"countdown">;
4932
+ position: z.ZodObject<{
4933
+ x: z.ZodNumber;
4934
+ y: z.ZodNumber;
4935
+ }, z.core.$strip>;
4936
+ seconds: z.ZodNumber;
4937
+ message: z.ZodNullable<z.ZodString>;
4938
+ next: z.ZodNullable<z.ZodString>;
4939
+ }, z.core.$strip>, z.ZodObject<{
4940
+ id: z.ZodString;
4941
+ type: z.ZodLiteral<"webhook">;
4942
+ position: z.ZodObject<{
4943
+ x: z.ZodNumber;
4944
+ y: z.ZodNumber;
4945
+ }, z.core.$strip>;
4946
+ url: z.ZodString;
4947
+ method: z.ZodEnum<{
4948
+ POST: "POST";
4949
+ GET: "GET";
4950
+ }>;
4951
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4952
+ next: z.ZodNullable<z.ZodString>;
4412
4953
  }, z.core.$strip>, z.ZodObject<{
4413
4954
  id: z.ZodString;
4414
4955
  type: z.ZodLiteral<"entry">;
@@ -4417,6 +4958,9 @@ export declare const contract: {
4417
4958
  y: z.ZodNumber;
4418
4959
  }, z.core.$strip>;
4419
4960
  next: z.ZodNullable<z.ZodString>;
4961
+ starts_at: z.ZodNullable<z.ZodString>;
4962
+ expires_at: z.ZodNullable<z.ZodString>;
4963
+ fallback_url: z.ZodNullable<z.ZodString>;
4420
4964
  }, z.core.$strip>], "type">>;
4421
4965
  }, z.core.$strip>>>;
4422
4966
  }, z.core.$strip>, z.ZodObject<{
@@ -4434,9 +4978,6 @@ export declare const contract: {
4434
4978
  utm_term: z.ZodNullable<z.ZodString>;
4435
4979
  utm_content: z.ZodNullable<z.ZodString>;
4436
4980
  password: z.ZodNullable<z.ZodString>;
4437
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
4438
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
4439
- fallback_url: z.ZodNullable<z.ZodString>;
4440
4981
  is_active: z.ZodBoolean;
4441
4982
  redirect_type: z.ZodNumber;
4442
4983
  click_count: z.ZodCoercedNumber<unknown>;
@@ -4471,10 +5012,6 @@ export declare const contract: {
4471
5012
  }, z.core.$strip>>;
4472
5013
  qr_logo_key: z.ZodNullable<z.ZodString>;
4473
5014
  logo_url: z.ZodNullable<z.ZodString>;
4474
- link_type: z.ZodDefault<z.ZodEnum<{
4475
- redirect: "redirect";
4476
- rules: "rules";
4477
- }>>;
4478
5015
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4479
5016
  entry: z.ZodString;
4480
5017
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4557,6 +5094,30 @@ export declare const contract: {
4557
5094
  y: z.ZodNumber;
4558
5095
  }, z.core.$strip>;
4559
5096
  next: z.ZodNullable<z.ZodString>;
5097
+ }, z.core.$strip>, z.ZodObject<{
5098
+ id: z.ZodString;
5099
+ type: z.ZodLiteral<"countdown">;
5100
+ position: z.ZodObject<{
5101
+ x: z.ZodNumber;
5102
+ y: z.ZodNumber;
5103
+ }, z.core.$strip>;
5104
+ seconds: z.ZodNumber;
5105
+ message: z.ZodNullable<z.ZodString>;
5106
+ next: z.ZodNullable<z.ZodString>;
5107
+ }, z.core.$strip>, z.ZodObject<{
5108
+ id: z.ZodString;
5109
+ type: z.ZodLiteral<"webhook">;
5110
+ position: z.ZodObject<{
5111
+ x: z.ZodNumber;
5112
+ y: z.ZodNumber;
5113
+ }, z.core.$strip>;
5114
+ url: z.ZodString;
5115
+ method: z.ZodEnum<{
5116
+ POST: "POST";
5117
+ GET: "GET";
5118
+ }>;
5119
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5120
+ next: z.ZodNullable<z.ZodString>;
4560
5121
  }, z.core.$strip>, z.ZodObject<{
4561
5122
  id: z.ZodString;
4562
5123
  type: z.ZodLiteral<"entry">;
@@ -4565,6 +5126,9 @@ export declare const contract: {
4565
5126
  y: z.ZodNumber;
4566
5127
  }, z.core.$strip>;
4567
5128
  next: z.ZodNullable<z.ZodString>;
5129
+ starts_at: z.ZodNullable<z.ZodString>;
5130
+ expires_at: z.ZodNullable<z.ZodString>;
5131
+ fallback_url: z.ZodNullable<z.ZodString>;
4568
5132
  }, z.core.$strip>], "type">>;
4569
5133
  }, z.core.$strip>>>;
4570
5134
  tags: z.ZodArray<z.ZodObject<{
@@ -4609,9 +5173,6 @@ export declare const contract: {
4609
5173
  utm_term: z.ZodNullable<z.ZodString>;
4610
5174
  utm_content: z.ZodNullable<z.ZodString>;
4611
5175
  password: z.ZodNullable<z.ZodString>;
4612
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
4613
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
4614
- fallback_url: z.ZodNullable<z.ZodString>;
4615
5176
  is_active: z.ZodBoolean;
4616
5177
  redirect_type: z.ZodNumber;
4617
5178
  click_count: z.ZodCoercedNumber<unknown>;
@@ -4646,10 +5207,6 @@ export declare const contract: {
4646
5207
  }, z.core.$strip>>;
4647
5208
  qr_logo_key: z.ZodNullable<z.ZodString>;
4648
5209
  logo_url: z.ZodNullable<z.ZodString>;
4649
- link_type: z.ZodDefault<z.ZodEnum<{
4650
- redirect: "redirect";
4651
- rules: "rules";
4652
- }>>;
4653
5210
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4654
5211
  entry: z.ZodString;
4655
5212
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4732,6 +5289,30 @@ export declare const contract: {
4732
5289
  y: z.ZodNumber;
4733
5290
  }, z.core.$strip>;
4734
5291
  next: z.ZodNullable<z.ZodString>;
5292
+ }, z.core.$strip>, z.ZodObject<{
5293
+ id: z.ZodString;
5294
+ type: z.ZodLiteral<"countdown">;
5295
+ position: z.ZodObject<{
5296
+ x: z.ZodNumber;
5297
+ y: z.ZodNumber;
5298
+ }, z.core.$strip>;
5299
+ seconds: z.ZodNumber;
5300
+ message: z.ZodNullable<z.ZodString>;
5301
+ next: z.ZodNullable<z.ZodString>;
5302
+ }, z.core.$strip>, z.ZodObject<{
5303
+ id: z.ZodString;
5304
+ type: z.ZodLiteral<"webhook">;
5305
+ position: z.ZodObject<{
5306
+ x: z.ZodNumber;
5307
+ y: z.ZodNumber;
5308
+ }, z.core.$strip>;
5309
+ url: z.ZodString;
5310
+ method: z.ZodEnum<{
5311
+ POST: "POST";
5312
+ GET: "GET";
5313
+ }>;
5314
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5315
+ next: z.ZodNullable<z.ZodString>;
4735
5316
  }, z.core.$strip>, z.ZodObject<{
4736
5317
  id: z.ZodString;
4737
5318
  type: z.ZodLiteral<"entry">;
@@ -4740,6 +5321,9 @@ export declare const contract: {
4740
5321
  y: z.ZodNumber;
4741
5322
  }, z.core.$strip>;
4742
5323
  next: z.ZodNullable<z.ZodString>;
5324
+ starts_at: z.ZodNullable<z.ZodString>;
5325
+ expires_at: z.ZodNullable<z.ZodString>;
5326
+ fallback_url: z.ZodNullable<z.ZodString>;
4743
5327
  }, z.core.$strip>], "type">>;
4744
5328
  }, z.core.$strip>>>;
4745
5329
  tags: z.ZodArray<z.ZodObject<{
@@ -4769,9 +5353,6 @@ export declare const contract: {
4769
5353
  utm_term: z.ZodNullable<z.ZodString>;
4770
5354
  utm_content: z.ZodNullable<z.ZodString>;
4771
5355
  password: z.ZodNullable<z.ZodString>;
4772
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
4773
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
4774
- fallback_url: z.ZodNullable<z.ZodString>;
4775
5356
  is_active: z.ZodBoolean;
4776
5357
  redirect_type: z.ZodNumber;
4777
5358
  click_count: z.ZodCoercedNumber<unknown>;
@@ -4806,10 +5387,6 @@ export declare const contract: {
4806
5387
  }, z.core.$strip>>;
4807
5388
  qr_logo_key: z.ZodNullable<z.ZodString>;
4808
5389
  logo_url: z.ZodNullable<z.ZodString>;
4809
- link_type: z.ZodDefault<z.ZodEnum<{
4810
- redirect: "redirect";
4811
- rules: "rules";
4812
- }>>;
4813
5390
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4814
5391
  entry: z.ZodString;
4815
5392
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4892,6 +5469,30 @@ export declare const contract: {
4892
5469
  y: z.ZodNumber;
4893
5470
  }, z.core.$strip>;
4894
5471
  next: z.ZodNullable<z.ZodString>;
5472
+ }, z.core.$strip>, z.ZodObject<{
5473
+ id: z.ZodString;
5474
+ type: z.ZodLiteral<"countdown">;
5475
+ position: z.ZodObject<{
5476
+ x: z.ZodNumber;
5477
+ y: z.ZodNumber;
5478
+ }, z.core.$strip>;
5479
+ seconds: z.ZodNumber;
5480
+ message: z.ZodNullable<z.ZodString>;
5481
+ next: z.ZodNullable<z.ZodString>;
5482
+ }, z.core.$strip>, z.ZodObject<{
5483
+ id: z.ZodString;
5484
+ type: z.ZodLiteral<"webhook">;
5485
+ position: z.ZodObject<{
5486
+ x: z.ZodNumber;
5487
+ y: z.ZodNumber;
5488
+ }, z.core.$strip>;
5489
+ url: z.ZodString;
5490
+ method: z.ZodEnum<{
5491
+ POST: "POST";
5492
+ GET: "GET";
5493
+ }>;
5494
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5495
+ next: z.ZodNullable<z.ZodString>;
4895
5496
  }, z.core.$strip>, z.ZodObject<{
4896
5497
  id: z.ZodString;
4897
5498
  type: z.ZodLiteral<"entry">;
@@ -4900,6 +5501,9 @@ export declare const contract: {
4900
5501
  y: z.ZodNumber;
4901
5502
  }, z.core.$strip>;
4902
5503
  next: z.ZodNullable<z.ZodString>;
5504
+ starts_at: z.ZodNullable<z.ZodString>;
5505
+ expires_at: z.ZodNullable<z.ZodString>;
5506
+ fallback_url: z.ZodNullable<z.ZodString>;
4903
5507
  }, z.core.$strip>], "type">>;
4904
5508
  }, z.core.$strip>>>;
4905
5509
  tags: z.ZodArray<z.ZodObject<{