@middlewr/contracts 0.0.46 → 0.0.48

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.
@@ -492,6 +492,9 @@ export declare const linkTemplatesContract: {
492
492
  y: z.ZodNumber;
493
493
  }, z.core.$strip>;
494
494
  next: z.ZodNullable<z.ZodString>;
495
+ starts_at: z.ZodNullable<z.ZodString>;
496
+ expires_at: z.ZodNullable<z.ZodString>;
497
+ fallback_url: z.ZodNullable<z.ZodString>;
495
498
  }, z.core.$strip>], "type">>;
496
499
  }, z.core.$strip>>>;
497
500
  }, z.core.$strip>, z.ZodObject<{
@@ -589,6 +592,9 @@ export declare const linkTemplatesContract: {
589
592
  y: z.ZodNumber;
590
593
  }, z.core.$strip>;
591
594
  next: z.ZodNullable<z.ZodString>;
595
+ starts_at: z.ZodNullable<z.ZodString>;
596
+ expires_at: z.ZodNullable<z.ZodString>;
597
+ fallback_url: z.ZodNullable<z.ZodString>;
592
598
  }, z.core.$strip>], "type">>;
593
599
  }, z.core.$strip>>;
594
600
  created_at: z.ZodCoercedDate<unknown>;
@@ -695,6 +701,9 @@ export declare const linkTemplatesContract: {
695
701
  y: z.ZodNumber;
696
702
  }, z.core.$strip>;
697
703
  next: z.ZodNullable<z.ZodString>;
704
+ starts_at: z.ZodNullable<z.ZodString>;
705
+ expires_at: z.ZodNullable<z.ZodString>;
706
+ fallback_url: z.ZodNullable<z.ZodString>;
698
707
  }, z.core.$strip>], "type">>;
699
708
  }, z.core.$strip>>;
700
709
  created_at: z.ZodCoercedDate<unknown>;
@@ -803,6 +812,9 @@ export declare const linkTemplatesContract: {
803
812
  y: z.ZodNumber;
804
813
  }, z.core.$strip>;
805
814
  next: z.ZodNullable<z.ZodString>;
815
+ starts_at: z.ZodNullable<z.ZodString>;
816
+ expires_at: z.ZodNullable<z.ZodString>;
817
+ fallback_url: z.ZodNullable<z.ZodString>;
806
818
  }, z.core.$strip>], "type">>;
807
819
  }, z.core.$strip>>;
808
820
  created_at: z.ZodCoercedDate<unknown>;
@@ -903,6 +915,9 @@ export declare const linkTemplatesContract: {
903
915
  y: z.ZodNumber;
904
916
  }, z.core.$strip>;
905
917
  next: z.ZodNullable<z.ZodString>;
918
+ starts_at: z.ZodNullable<z.ZodString>;
919
+ expires_at: z.ZodNullable<z.ZodString>;
920
+ fallback_url: z.ZodNullable<z.ZodString>;
906
921
  }, z.core.$strip>], "type">>;
907
922
  }, z.core.$strip>>;
908
923
  }, z.core.$strip>, z.ZodObject<{
@@ -1000,6 +1015,9 @@ export declare const linkTemplatesContract: {
1000
1015
  y: z.ZodNumber;
1001
1016
  }, z.core.$strip>;
1002
1017
  next: z.ZodNullable<z.ZodString>;
1018
+ starts_at: z.ZodNullable<z.ZodString>;
1019
+ expires_at: z.ZodNullable<z.ZodString>;
1020
+ fallback_url: z.ZodNullable<z.ZodString>;
1003
1021
  }, z.core.$strip>], "type">>;
1004
1022
  }, z.core.$strip>>;
1005
1023
  created_at: z.ZodCoercedDate<unknown>;
@@ -1024,9 +1042,6 @@ export declare const linksContract: {
1024
1042
  utm_term: z.ZodOptional<z.ZodString>;
1025
1043
  utm_content: z.ZodOptional<z.ZodString>;
1026
1044
  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
1045
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1031
1046
  qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1032
1047
  fg_color: z.ZodString;
@@ -1149,6 +1164,9 @@ export declare const linksContract: {
1149
1164
  y: z.ZodNumber;
1150
1165
  }, z.core.$strip>;
1151
1166
  next: z.ZodNullable<z.ZodString>;
1167
+ starts_at: z.ZodNullable<z.ZodString>;
1168
+ expires_at: z.ZodNullable<z.ZodString>;
1169
+ fallback_url: z.ZodNullable<z.ZodString>;
1152
1170
  }, z.core.$strip>], "type">>;
1153
1171
  }, z.core.$strip>>>;
1154
1172
  }, z.core.$strip>, z.ZodObject<{
@@ -1166,9 +1184,6 @@ export declare const linksContract: {
1166
1184
  utm_term: z.ZodNullable<z.ZodString>;
1167
1185
  utm_content: z.ZodNullable<z.ZodString>;
1168
1186
  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
1187
  is_active: z.ZodBoolean;
1173
1188
  redirect_type: z.ZodNumber;
1174
1189
  click_count: z.ZodCoercedNumber<unknown>;
@@ -1297,6 +1312,9 @@ export declare const linksContract: {
1297
1312
  y: z.ZodNumber;
1298
1313
  }, z.core.$strip>;
1299
1314
  next: z.ZodNullable<z.ZodString>;
1315
+ starts_at: z.ZodNullable<z.ZodString>;
1316
+ expires_at: z.ZodNullable<z.ZodString>;
1317
+ fallback_url: z.ZodNullable<z.ZodString>;
1300
1318
  }, z.core.$strip>], "type">>;
1301
1319
  }, z.core.$strip>>>;
1302
1320
  tags: z.ZodArray<z.ZodObject<{
@@ -1316,18 +1334,8 @@ export declare const linksContract: {
1316
1334
  true: "true";
1317
1335
  false: "false";
1318
1336
  }>]>, 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
1337
  created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1328
1338
  created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1329
- expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1330
- expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1331
1339
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1332
1340
  sort_by: z.ZodDefault<z.ZodEnum<{
1333
1341
  created_at: "created_at";
@@ -1357,9 +1365,6 @@ export declare const linksContract: {
1357
1365
  utm_term: z.ZodNullable<z.ZodString>;
1358
1366
  utm_content: z.ZodNullable<z.ZodString>;
1359
1367
  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
1368
  is_active: z.ZodBoolean;
1364
1369
  redirect_type: z.ZodNumber;
1365
1370
  click_count: z.ZodCoercedNumber<unknown>;
@@ -1488,6 +1493,9 @@ export declare const linksContract: {
1488
1493
  y: z.ZodNumber;
1489
1494
  }, z.core.$strip>;
1490
1495
  next: z.ZodNullable<z.ZodString>;
1496
+ starts_at: z.ZodNullable<z.ZodString>;
1497
+ expires_at: z.ZodNullable<z.ZodString>;
1498
+ fallback_url: z.ZodNullable<z.ZodString>;
1491
1499
  }, z.core.$strip>], "type">>;
1492
1500
  }, z.core.$strip>>>;
1493
1501
  tags: z.ZodArray<z.ZodObject<{
@@ -1513,18 +1521,8 @@ export declare const linksContract: {
1513
1521
  }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
1514
1522
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1515
1523
  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
1524
  created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1525
1525
  created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1526
- expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1527
- expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1528
1526
  sort_by: z.ZodDefault<z.ZodEnum<{
1529
1527
  created_at: "created_at";
1530
1528
  title: "title";
@@ -1554,9 +1552,6 @@ export declare const linksContract: {
1554
1552
  utm_term: z.ZodNullable<z.ZodString>;
1555
1553
  utm_content: z.ZodNullable<z.ZodString>;
1556
1554
  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
1555
  is_active: z.ZodBoolean;
1561
1556
  redirect_type: z.ZodNumber;
1562
1557
  click_count: z.ZodCoercedNumber<unknown>;
@@ -1685,6 +1680,9 @@ export declare const linksContract: {
1685
1680
  y: z.ZodNumber;
1686
1681
  }, z.core.$strip>;
1687
1682
  next: z.ZodNullable<z.ZodString>;
1683
+ starts_at: z.ZodNullable<z.ZodString>;
1684
+ expires_at: z.ZodNullable<z.ZodString>;
1685
+ fallback_url: z.ZodNullable<z.ZodString>;
1688
1686
  }, z.core.$strip>], "type">>;
1689
1687
  }, z.core.$strip>>>;
1690
1688
  tags: z.ZodArray<z.ZodObject<{
@@ -1710,9 +1708,6 @@ export declare const linksContract: {
1710
1708
  utm_term: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1711
1709
  utm_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1712
1710
  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
1711
  is_active: z.ZodOptional<z.ZodBoolean>;
1717
1712
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1718
1713
  qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1836,6 +1831,9 @@ export declare const linksContract: {
1836
1831
  y: z.ZodNumber;
1837
1832
  }, z.core.$strip>;
1838
1833
  next: z.ZodNullable<z.ZodString>;
1834
+ starts_at: z.ZodNullable<z.ZodString>;
1835
+ expires_at: z.ZodNullable<z.ZodString>;
1836
+ fallback_url: z.ZodNullable<z.ZodString>;
1839
1837
  }, z.core.$strip>], "type">>;
1840
1838
  }, z.core.$strip>>>;
1841
1839
  }, z.core.$strip>, z.ZodObject<{
@@ -1853,9 +1851,6 @@ export declare const linksContract: {
1853
1851
  utm_term: z.ZodNullable<z.ZodString>;
1854
1852
  utm_content: z.ZodNullable<z.ZodString>;
1855
1853
  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
1854
  is_active: z.ZodBoolean;
1860
1855
  redirect_type: z.ZodNumber;
1861
1856
  click_count: z.ZodCoercedNumber<unknown>;
@@ -1984,6 +1979,9 @@ export declare const linksContract: {
1984
1979
  y: z.ZodNumber;
1985
1980
  }, z.core.$strip>;
1986
1981
  next: z.ZodNullable<z.ZodString>;
1982
+ starts_at: z.ZodNullable<z.ZodString>;
1983
+ expires_at: z.ZodNullable<z.ZodString>;
1984
+ fallback_url: z.ZodNullable<z.ZodString>;
1987
1985
  }, z.core.$strip>], "type">>;
1988
1986
  }, z.core.$strip>>>;
1989
1987
  tags: z.ZodArray<z.ZodObject<{
@@ -2028,9 +2026,6 @@ export declare const linksContract: {
2028
2026
  utm_term: z.ZodNullable<z.ZodString>;
2029
2027
  utm_content: z.ZodNullable<z.ZodString>;
2030
2028
  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
2029
  is_active: z.ZodBoolean;
2035
2030
  redirect_type: z.ZodNumber;
2036
2031
  click_count: z.ZodCoercedNumber<unknown>;
@@ -2159,6 +2154,9 @@ export declare const linksContract: {
2159
2154
  y: z.ZodNumber;
2160
2155
  }, z.core.$strip>;
2161
2156
  next: z.ZodNullable<z.ZodString>;
2157
+ starts_at: z.ZodNullable<z.ZodString>;
2158
+ expires_at: z.ZodNullable<z.ZodString>;
2159
+ fallback_url: z.ZodNullable<z.ZodString>;
2162
2160
  }, z.core.$strip>], "type">>;
2163
2161
  }, z.core.$strip>>>;
2164
2162
  tags: z.ZodArray<z.ZodObject<{
@@ -2188,9 +2186,6 @@ export declare const linksContract: {
2188
2186
  utm_term: z.ZodNullable<z.ZodString>;
2189
2187
  utm_content: z.ZodNullable<z.ZodString>;
2190
2188
  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
2189
  is_active: z.ZodBoolean;
2195
2190
  redirect_type: z.ZodNumber;
2196
2191
  click_count: z.ZodCoercedNumber<unknown>;
@@ -2319,6 +2314,9 @@ export declare const linksContract: {
2319
2314
  y: z.ZodNumber;
2320
2315
  }, z.core.$strip>;
2321
2316
  next: z.ZodNullable<z.ZodString>;
2317
+ starts_at: z.ZodNullable<z.ZodString>;
2318
+ expires_at: z.ZodNullable<z.ZodString>;
2319
+ fallback_url: z.ZodNullable<z.ZodString>;
2322
2320
  }, z.core.$strip>], "type">>;
2323
2321
  }, z.core.$strip>>>;
2324
2322
  tags: z.ZodArray<z.ZodObject<{
@@ -3073,6 +3071,9 @@ export declare const contract: {
3073
3071
  y: z.ZodNumber;
3074
3072
  }, z.core.$strip>;
3075
3073
  next: z.ZodNullable<z.ZodString>;
3074
+ starts_at: z.ZodNullable<z.ZodString>;
3075
+ expires_at: z.ZodNullable<z.ZodString>;
3076
+ fallback_url: z.ZodNullable<z.ZodString>;
3076
3077
  }, z.core.$strip>], "type">>;
3077
3078
  }, z.core.$strip>>>;
3078
3079
  }, z.core.$strip>, z.ZodObject<{
@@ -3170,6 +3171,9 @@ export declare const contract: {
3170
3171
  y: z.ZodNumber;
3171
3172
  }, z.core.$strip>;
3172
3173
  next: z.ZodNullable<z.ZodString>;
3174
+ starts_at: z.ZodNullable<z.ZodString>;
3175
+ expires_at: z.ZodNullable<z.ZodString>;
3176
+ fallback_url: z.ZodNullable<z.ZodString>;
3173
3177
  }, z.core.$strip>], "type">>;
3174
3178
  }, z.core.$strip>>;
3175
3179
  created_at: z.ZodCoercedDate<unknown>;
@@ -3276,6 +3280,9 @@ export declare const contract: {
3276
3280
  y: z.ZodNumber;
3277
3281
  }, z.core.$strip>;
3278
3282
  next: z.ZodNullable<z.ZodString>;
3283
+ starts_at: z.ZodNullable<z.ZodString>;
3284
+ expires_at: z.ZodNullable<z.ZodString>;
3285
+ fallback_url: z.ZodNullable<z.ZodString>;
3279
3286
  }, z.core.$strip>], "type">>;
3280
3287
  }, z.core.$strip>>;
3281
3288
  created_at: z.ZodCoercedDate<unknown>;
@@ -3384,6 +3391,9 @@ export declare const contract: {
3384
3391
  y: z.ZodNumber;
3385
3392
  }, z.core.$strip>;
3386
3393
  next: z.ZodNullable<z.ZodString>;
3394
+ starts_at: z.ZodNullable<z.ZodString>;
3395
+ expires_at: z.ZodNullable<z.ZodString>;
3396
+ fallback_url: z.ZodNullable<z.ZodString>;
3387
3397
  }, z.core.$strip>], "type">>;
3388
3398
  }, z.core.$strip>>;
3389
3399
  created_at: z.ZodCoercedDate<unknown>;
@@ -3484,6 +3494,9 @@ export declare const contract: {
3484
3494
  y: z.ZodNumber;
3485
3495
  }, z.core.$strip>;
3486
3496
  next: z.ZodNullable<z.ZodString>;
3497
+ starts_at: z.ZodNullable<z.ZodString>;
3498
+ expires_at: z.ZodNullable<z.ZodString>;
3499
+ fallback_url: z.ZodNullable<z.ZodString>;
3487
3500
  }, z.core.$strip>], "type">>;
3488
3501
  }, z.core.$strip>>;
3489
3502
  }, z.core.$strip>, z.ZodObject<{
@@ -3581,6 +3594,9 @@ export declare const contract: {
3581
3594
  y: z.ZodNumber;
3582
3595
  }, z.core.$strip>;
3583
3596
  next: z.ZodNullable<z.ZodString>;
3597
+ starts_at: z.ZodNullable<z.ZodString>;
3598
+ expires_at: z.ZodNullable<z.ZodString>;
3599
+ fallback_url: z.ZodNullable<z.ZodString>;
3584
3600
  }, z.core.$strip>], "type">>;
3585
3601
  }, z.core.$strip>>;
3586
3602
  created_at: z.ZodCoercedDate<unknown>;
@@ -3605,9 +3621,6 @@ export declare const contract: {
3605
3621
  utm_term: z.ZodOptional<z.ZodString>;
3606
3622
  utm_content: z.ZodOptional<z.ZodString>;
3607
3623
  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
3624
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3612
3625
  qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3613
3626
  fg_color: z.ZodString;
@@ -3730,6 +3743,9 @@ export declare const contract: {
3730
3743
  y: z.ZodNumber;
3731
3744
  }, z.core.$strip>;
3732
3745
  next: z.ZodNullable<z.ZodString>;
3746
+ starts_at: z.ZodNullable<z.ZodString>;
3747
+ expires_at: z.ZodNullable<z.ZodString>;
3748
+ fallback_url: z.ZodNullable<z.ZodString>;
3733
3749
  }, z.core.$strip>], "type">>;
3734
3750
  }, z.core.$strip>>>;
3735
3751
  }, z.core.$strip>, z.ZodObject<{
@@ -3747,9 +3763,6 @@ export declare const contract: {
3747
3763
  utm_term: z.ZodNullable<z.ZodString>;
3748
3764
  utm_content: z.ZodNullable<z.ZodString>;
3749
3765
  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
3766
  is_active: z.ZodBoolean;
3754
3767
  redirect_type: z.ZodNumber;
3755
3768
  click_count: z.ZodCoercedNumber<unknown>;
@@ -3878,6 +3891,9 @@ export declare const contract: {
3878
3891
  y: z.ZodNumber;
3879
3892
  }, z.core.$strip>;
3880
3893
  next: z.ZodNullable<z.ZodString>;
3894
+ starts_at: z.ZodNullable<z.ZodString>;
3895
+ expires_at: z.ZodNullable<z.ZodString>;
3896
+ fallback_url: z.ZodNullable<z.ZodString>;
3881
3897
  }, z.core.$strip>], "type">>;
3882
3898
  }, z.core.$strip>>>;
3883
3899
  tags: z.ZodArray<z.ZodObject<{
@@ -3897,18 +3913,8 @@ export declare const contract: {
3897
3913
  true: "true";
3898
3914
  false: "false";
3899
3915
  }>]>, 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
3916
  created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
3909
3917
  created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
3910
- expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
3911
- expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
3912
3918
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3913
3919
  sort_by: z.ZodDefault<z.ZodEnum<{
3914
3920
  created_at: "created_at";
@@ -3938,9 +3944,6 @@ export declare const contract: {
3938
3944
  utm_term: z.ZodNullable<z.ZodString>;
3939
3945
  utm_content: z.ZodNullable<z.ZodString>;
3940
3946
  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
3947
  is_active: z.ZodBoolean;
3945
3948
  redirect_type: z.ZodNumber;
3946
3949
  click_count: z.ZodCoercedNumber<unknown>;
@@ -4069,6 +4072,9 @@ export declare const contract: {
4069
4072
  y: z.ZodNumber;
4070
4073
  }, z.core.$strip>;
4071
4074
  next: z.ZodNullable<z.ZodString>;
4075
+ starts_at: z.ZodNullable<z.ZodString>;
4076
+ expires_at: z.ZodNullable<z.ZodString>;
4077
+ fallback_url: z.ZodNullable<z.ZodString>;
4072
4078
  }, z.core.$strip>], "type">>;
4073
4079
  }, z.core.$strip>>>;
4074
4080
  tags: z.ZodArray<z.ZodObject<{
@@ -4094,18 +4100,8 @@ export declare const contract: {
4094
4100
  }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
4095
4101
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4096
4102
  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
4103
  created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
4106
4104
  created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
4107
- expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
4108
- expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
4109
4105
  sort_by: z.ZodDefault<z.ZodEnum<{
4110
4106
  created_at: "created_at";
4111
4107
  title: "title";
@@ -4135,9 +4131,6 @@ export declare const contract: {
4135
4131
  utm_term: z.ZodNullable<z.ZodString>;
4136
4132
  utm_content: z.ZodNullable<z.ZodString>;
4137
4133
  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
4134
  is_active: z.ZodBoolean;
4142
4135
  redirect_type: z.ZodNumber;
4143
4136
  click_count: z.ZodCoercedNumber<unknown>;
@@ -4266,6 +4259,9 @@ export declare const contract: {
4266
4259
  y: z.ZodNumber;
4267
4260
  }, z.core.$strip>;
4268
4261
  next: z.ZodNullable<z.ZodString>;
4262
+ starts_at: z.ZodNullable<z.ZodString>;
4263
+ expires_at: z.ZodNullable<z.ZodString>;
4264
+ fallback_url: z.ZodNullable<z.ZodString>;
4269
4265
  }, z.core.$strip>], "type">>;
4270
4266
  }, z.core.$strip>>>;
4271
4267
  tags: z.ZodArray<z.ZodObject<{
@@ -4291,9 +4287,6 @@ export declare const contract: {
4291
4287
  utm_term: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4292
4288
  utm_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4293
4289
  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
4290
  is_active: z.ZodOptional<z.ZodBoolean>;
4298
4291
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
4299
4292
  qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4417,6 +4410,9 @@ export declare const contract: {
4417
4410
  y: z.ZodNumber;
4418
4411
  }, z.core.$strip>;
4419
4412
  next: z.ZodNullable<z.ZodString>;
4413
+ starts_at: z.ZodNullable<z.ZodString>;
4414
+ expires_at: z.ZodNullable<z.ZodString>;
4415
+ fallback_url: z.ZodNullable<z.ZodString>;
4420
4416
  }, z.core.$strip>], "type">>;
4421
4417
  }, z.core.$strip>>>;
4422
4418
  }, z.core.$strip>, z.ZodObject<{
@@ -4434,9 +4430,6 @@ export declare const contract: {
4434
4430
  utm_term: z.ZodNullable<z.ZodString>;
4435
4431
  utm_content: z.ZodNullable<z.ZodString>;
4436
4432
  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
4433
  is_active: z.ZodBoolean;
4441
4434
  redirect_type: z.ZodNumber;
4442
4435
  click_count: z.ZodCoercedNumber<unknown>;
@@ -4565,6 +4558,9 @@ export declare const contract: {
4565
4558
  y: z.ZodNumber;
4566
4559
  }, z.core.$strip>;
4567
4560
  next: z.ZodNullable<z.ZodString>;
4561
+ starts_at: z.ZodNullable<z.ZodString>;
4562
+ expires_at: z.ZodNullable<z.ZodString>;
4563
+ fallback_url: z.ZodNullable<z.ZodString>;
4568
4564
  }, z.core.$strip>], "type">>;
4569
4565
  }, z.core.$strip>>>;
4570
4566
  tags: z.ZodArray<z.ZodObject<{
@@ -4609,9 +4605,6 @@ export declare const contract: {
4609
4605
  utm_term: z.ZodNullable<z.ZodString>;
4610
4606
  utm_content: z.ZodNullable<z.ZodString>;
4611
4607
  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
4608
  is_active: z.ZodBoolean;
4616
4609
  redirect_type: z.ZodNumber;
4617
4610
  click_count: z.ZodCoercedNumber<unknown>;
@@ -4740,6 +4733,9 @@ export declare const contract: {
4740
4733
  y: z.ZodNumber;
4741
4734
  }, z.core.$strip>;
4742
4735
  next: z.ZodNullable<z.ZodString>;
4736
+ starts_at: z.ZodNullable<z.ZodString>;
4737
+ expires_at: z.ZodNullable<z.ZodString>;
4738
+ fallback_url: z.ZodNullable<z.ZodString>;
4743
4739
  }, z.core.$strip>], "type">>;
4744
4740
  }, z.core.$strip>>>;
4745
4741
  tags: z.ZodArray<z.ZodObject<{
@@ -4769,9 +4765,6 @@ export declare const contract: {
4769
4765
  utm_term: z.ZodNullable<z.ZodString>;
4770
4766
  utm_content: z.ZodNullable<z.ZodString>;
4771
4767
  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
4768
  is_active: z.ZodBoolean;
4776
4769
  redirect_type: z.ZodNumber;
4777
4770
  click_count: z.ZodCoercedNumber<unknown>;
@@ -4900,6 +4893,9 @@ export declare const contract: {
4900
4893
  y: z.ZodNumber;
4901
4894
  }, z.core.$strip>;
4902
4895
  next: z.ZodNullable<z.ZodString>;
4896
+ starts_at: z.ZodNullable<z.ZodString>;
4897
+ expires_at: z.ZodNullable<z.ZodString>;
4898
+ fallback_url: z.ZodNullable<z.ZodString>;
4903
4899
  }, z.core.$strip>], "type">>;
4904
4900
  }, z.core.$strip>>>;
4905
4901
  tags: z.ZodArray<z.ZodObject<{
@@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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC"}
package/dist/esm/index.js CHANGED
@@ -276,7 +276,10 @@ var EntryNodeSchema = z6.object({
276
276
  id: z6.string(),
277
277
  type: z6.literal("entry"),
278
278
  position: PositionSchema,
279
- next: z6.string().nullable()
279
+ next: z6.string().nullable(),
280
+ starts_at: z6.string().nullable(),
281
+ expires_at: z6.string().nullable(),
282
+ fallback_url: z6.string().nullable()
280
283
  });
281
284
  var RuleGraphNodeSchema = z6.discriminatedUnion("type", [
282
285
  ConditionNodeSchema,
@@ -286,10 +289,15 @@ var RuleGraphNodeSchema = z6.discriminatedUnion("type", [
286
289
  PasswordNodeSchema,
287
290
  EntryNodeSchema
288
291
  ]);
289
- var RuleGraphSchema = z6.object({
292
+ var BaseRuleGraphSchema = z6.object({
290
293
  entry: z6.string(),
291
294
  nodes: z6.record(z6.string(), RuleGraphNodeSchema)
292
- }).refine((data) => data.nodes[data.entry] !== void 0, {
295
+ });
296
+ var RuleGraphOutputSchema = BaseRuleGraphSchema.refine((data) => data.nodes[data.entry] !== void 0, {
297
+ message: "Entry node must reference an existing node in the graph",
298
+ path: ["entry"]
299
+ });
300
+ var RuleGraphSchema = BaseRuleGraphSchema.refine((data) => data.nodes[data.entry] !== void 0, {
293
301
  message: "Entry node must reference an existing node in the graph",
294
302
  path: ["entry"]
295
303
  }).refine(
@@ -318,7 +326,7 @@ var LinkTemplateSchema = z7.object({
318
326
  workspace_id: z7.string().uuid(),
319
327
  title: z7.string(),
320
328
  description: z7.string().nullable(),
321
- rule_graph: RuleGraphSchema.nullable(),
329
+ rule_graph: RuleGraphOutputSchema.nullable(),
322
330
  created_at: z7.coerce.date(),
323
331
  updated_at: z7.coerce.date().nullable()
324
332
  });
@@ -398,9 +406,6 @@ var LinkSchema = z9.object({
398
406
  utm_term: z9.string().nullable(),
399
407
  utm_content: z9.string().nullable(),
400
408
  password: z9.string().nullable(),
401
- starts_at: z9.coerce.date().nullable(),
402
- expires_at: z9.coerce.date().nullable(),
403
- fallback_url: z9.string().nullable(),
404
409
  is_active: z9.boolean(),
405
410
  redirect_type: z9.number().int(),
406
411
  click_count: z9.coerce.number().int(),
@@ -411,7 +416,7 @@ var LinkSchema = z9.object({
411
416
  qr_logo_key: z9.string().nullable(),
412
417
  logo_url: z9.string().nullable(),
413
418
  link_type: z9.enum(["redirect", "rules"]).default("redirect"),
414
- rule_graph: RuleGraphSchema.nullable().optional(),
419
+ rule_graph: RuleGraphOutputSchema.nullable().optional(),
415
420
  tags: z9.array(TagSchema)
416
421
  });
417
422
  var CreateLinkInputSchema = z9.object({
@@ -426,9 +431,6 @@ var CreateLinkInputSchema = z9.object({
426
431
  utm_term: z9.string().max(255).optional(),
427
432
  utm_content: z9.string().max(255).optional(),
428
433
  password: z9.string().min(4).max(100).optional(),
429
- starts_at: z9.coerce.date().optional(),
430
- expires_at: z9.coerce.date().optional(),
431
- fallback_url: z9.string().url().max(2048).optional(),
432
434
  redirect_type: z9.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
433
435
  qr_code_settings: QrCodeSettingsSchema.nullable().optional(),
434
436
  tag_ids: z9.array(z9.string().uuid()).optional(),
@@ -450,9 +452,6 @@ var UpdateLinkInputSchema = z9.object({
450
452
  utm_term: z9.string().max(255).nullable().optional(),
451
453
  utm_content: z9.string().max(255).nullable().optional(),
452
454
  password: z9.string().min(4).max(100).nullable().optional(),
453
- starts_at: z9.coerce.date().nullable().optional(),
454
- expires_at: z9.coerce.date().nullable().optional(),
455
- fallback_url: z9.string().url().max(2048).nullable().optional(),
456
455
  is_active: z9.boolean().optional(),
457
456
  redirect_type: z9.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
458
457
  qr_code_settings: QrCodeSettingsSchema.nullable().optional(),
@@ -468,12 +467,8 @@ var LinkFiltersSchema = z9.object({
468
467
  search: z9.string().optional(),
469
468
  domain_ids: z9.array(z9.string().uuid()).optional(),
470
469
  is_active: stringToBoolean.optional(),
471
- has_expiration: stringToBoolean.optional(),
472
- expired: stringToBoolean.optional(),
473
470
  created_from: z9.coerce.date().optional(),
474
471
  created_to: z9.coerce.date().optional(),
475
- expires_from: z9.coerce.date().optional(),
476
- expires_to: z9.coerce.date().optional(),
477
472
  tag_ids: z9.array(z9.string().uuid()).optional(),
478
473
  sort_by: z9.enum(["created_at", "title", "click_count", "original_url"]).default("created_at"),
479
474
  sort_order: z9.enum(["asc", "desc"]).default("desc"),
@@ -734,6 +729,7 @@ export {
734
729
  PlansOutputSchema,
735
730
  QrCodeSettingsSchema,
736
731
  RuleGraphNodeSchema,
732
+ RuleGraphOutputSchema,
737
733
  RuleGraphSchema,
738
734
  SignInInputSchema,
739
735
  TagIdParamSchema,
@@ -94,6 +94,9 @@ export declare const LinkTemplateSchema: z.ZodObject<{
94
94
  y: z.ZodNumber;
95
95
  }, z.core.$strip>;
96
96
  next: z.ZodNullable<z.ZodString>;
97
+ starts_at: z.ZodNullable<z.ZodString>;
98
+ expires_at: z.ZodNullable<z.ZodString>;
99
+ fallback_url: z.ZodNullable<z.ZodString>;
97
100
  }, z.core.$strip>], "type">>;
98
101
  }, z.core.$strip>>;
99
102
  created_at: z.ZodCoercedDate<unknown>;
@@ -192,6 +195,9 @@ export declare const CreateLinkTemplateInputSchema: z.ZodObject<{
192
195
  y: z.ZodNumber;
193
196
  }, z.core.$strip>;
194
197
  next: z.ZodNullable<z.ZodString>;
198
+ starts_at: z.ZodNullable<z.ZodString>;
199
+ expires_at: z.ZodNullable<z.ZodString>;
200
+ fallback_url: z.ZodNullable<z.ZodString>;
195
201
  }, z.core.$strip>], "type">>;
196
202
  }, z.core.$strip>>>;
197
203
  }, z.core.$strip>;
@@ -288,6 +294,9 @@ export declare const UpdateLinkTemplateInputSchema: z.ZodObject<{
288
294
  y: z.ZodNumber;
289
295
  }, z.core.$strip>;
290
296
  next: z.ZodNullable<z.ZodString>;
297
+ starts_at: z.ZodNullable<z.ZodString>;
298
+ expires_at: z.ZodNullable<z.ZodString>;
299
+ fallback_url: z.ZodNullable<z.ZodString>;
291
300
  }, z.core.$strip>], "type">>;
292
301
  }, z.core.$strip>>;
293
302
  }, z.core.$strip>;
@@ -392,6 +401,9 @@ export declare const PaginatedLinkTemplatesSchema: z.ZodObject<{
392
401
  y: z.ZodNumber;
393
402
  }, z.core.$strip>;
394
403
  next: z.ZodNullable<z.ZodString>;
404
+ starts_at: z.ZodNullable<z.ZodString>;
405
+ expires_at: z.ZodNullable<z.ZodString>;
406
+ fallback_url: z.ZodNullable<z.ZodString>;
395
407
  }, z.core.$strip>], "type">>;
396
408
  }, z.core.$strip>>;
397
409
  created_at: z.ZodCoercedDate<unknown>;