@tmlmobilidade/types 20260411.1248.30 → 20260418.1237.24

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.
@@ -22,13 +22,31 @@ export declare const PathSchema: z.ZodObject<{
22
22
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
23
23
  updated_by: z.ZodOptional<z.ZodString>;
24
24
  } & {
25
- _id: z.ZodString;
25
+ _id: z.ZodNumber;
26
+ flags: z.ZodDefault<z.ZodArray<z.ZodObject<{
27
+ agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
28
+ is_harmonized: z.ZodDefault<z.ZodBoolean>;
29
+ short_name: z.ZodString;
30
+ stop_id: z.ZodString;
31
+ }, "strip", z.ZodTypeAny, {
32
+ short_name: string;
33
+ stop_id: string;
34
+ agency_ids: string[];
35
+ is_harmonized: boolean;
36
+ }, {
37
+ short_name: string;
38
+ stop_id: string;
39
+ agency_ids?: string[] | undefined;
40
+ is_harmonized?: boolean | undefined;
41
+ }>, "many">>;
26
42
  is_deleted: z.ZodDefault<z.ZodBoolean>;
27
43
  jurisdiction: z.ZodDefault<z.ZodEnum<["ip", "municipality", "other", "unknown"]>>;
28
44
  legacy_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
45
+ legacy_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
29
46
  lifecycle_status: z.ZodDefault<z.ZodEnum<["draft", "active", "inactive", "provisional", "seasonal", "voided"]>>;
30
47
  name: z.ZodString;
31
48
  new_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
49
+ previous_go_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
32
50
  short_name: z.ZodString;
33
51
  tts_name: z.ZodString;
34
52
  district_id: z.ZodString;
@@ -275,7 +293,7 @@ export declare const PathSchema: z.ZodObject<{
275
293
  }>, "many">>;
276
294
  observations: z.ZodDefault<z.ZodNullable<z.ZodString>>;
277
295
  }, "strip", z.ZodTypeAny, {
278
- _id: string;
296
+ _id: number;
279
297
  created_at: number & {
280
298
  __brand: "UnixTimestamp";
281
299
  };
@@ -345,11 +363,19 @@ export declare const PathSchema: z.ZodObject<{
345
363
  parish_id: string | null;
346
364
  shelter_code: string | null;
347
365
  shelter_maintainer: string | null;
366
+ flags: {
367
+ short_name: string;
368
+ stop_id: string;
369
+ agency_ids: string[];
370
+ is_harmonized: boolean;
371
+ }[];
348
372
  is_deleted: boolean;
349
373
  jurisdiction: "unknown" | "municipality" | "ip" | "other";
350
374
  legacy_id: string | null;
375
+ legacy_ids: string[];
351
376
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
352
377
  new_name: string | null;
378
+ previous_go_id: string | null;
353
379
  tts_name: string;
354
380
  district_id: string;
355
381
  locality_id: string | null;
@@ -373,7 +399,7 @@ export declare const PathSchema: z.ZodObject<{
373
399
  image_ids: string[];
374
400
  updated_by?: string | undefined;
375
401
  }, {
376
- _id: string;
402
+ _id: number;
377
403
  created_at: number;
378
404
  updated_at: number;
379
405
  name: string;
@@ -430,11 +456,19 @@ export declare const PathSchema: z.ZodObject<{
430
456
  parish_id?: string | null | undefined;
431
457
  shelter_code?: string | null | undefined;
432
458
  shelter_maintainer?: string | null | undefined;
459
+ flags?: {
460
+ short_name: string;
461
+ stop_id: string;
462
+ agency_ids?: string[] | undefined;
463
+ is_harmonized?: boolean | undefined;
464
+ }[] | undefined;
433
465
  is_deleted?: boolean | undefined;
434
466
  jurisdiction?: "unknown" | "municipality" | "ip" | "other" | undefined;
435
467
  legacy_id?: string | null | undefined;
468
+ legacy_ids?: string[] | undefined;
436
469
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
437
470
  new_name?: string | null | undefined;
471
+ previous_go_id?: string | null | undefined;
438
472
  locality_id?: string | null | undefined;
439
473
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
440
474
  electricity_status?: "unknown" | "available" | "unavailable" | undefined;
@@ -455,19 +489,19 @@ export declare const PathSchema: z.ZodObject<{
455
489
  file_ids?: string[] | undefined;
456
490
  image_ids?: string[] | undefined;
457
491
  }>>>;
458
- stop_id: z.ZodString;
492
+ stop_id: z.ZodNumber;
459
493
  timepoint: z.ZodDefault<z.ZodBoolean>;
460
494
  zones: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
461
495
  }, "strip", z.ZodTypeAny, {
462
496
  _id: string;
463
- stop_id: string;
497
+ stop_id: number;
464
498
  timepoint: boolean;
465
499
  allow_drop_off: boolean;
466
500
  allow_pickup: boolean;
467
501
  distance_delta: number | null;
468
502
  zones?: string[] | undefined;
469
503
  stop?: {
470
- _id: string;
504
+ _id: number;
471
505
  created_at: number & {
472
506
  __brand: "UnixTimestamp";
473
507
  };
@@ -537,11 +571,19 @@ export declare const PathSchema: z.ZodObject<{
537
571
  parish_id: string | null;
538
572
  shelter_code: string | null;
539
573
  shelter_maintainer: string | null;
574
+ flags: {
575
+ short_name: string;
576
+ stop_id: string;
577
+ agency_ids: string[];
578
+ is_harmonized: boolean;
579
+ }[];
540
580
  is_deleted: boolean;
541
581
  jurisdiction: "unknown" | "municipality" | "ip" | "other";
542
582
  legacy_id: string | null;
583
+ legacy_ids: string[];
543
584
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
544
585
  new_name: string | null;
586
+ previous_go_id: string | null;
545
587
  tts_name: string;
546
588
  district_id: string;
547
589
  locality_id: string | null;
@@ -567,14 +609,14 @@ export declare const PathSchema: z.ZodObject<{
567
609
  } | null | undefined;
568
610
  }, {
569
611
  _id: string;
570
- stop_id: string;
612
+ stop_id: number;
571
613
  zones?: string[] | undefined;
572
614
  timepoint?: boolean | undefined;
573
615
  allow_drop_off?: boolean | undefined;
574
616
  allow_pickup?: boolean | undefined;
575
617
  distance_delta?: number | null | undefined;
576
618
  stop?: {
577
- _id: string;
619
+ _id: number;
578
620
  created_at: number;
579
621
  updated_at: number;
580
622
  name: string;
@@ -631,11 +673,19 @@ export declare const PathSchema: z.ZodObject<{
631
673
  parish_id?: string | null | undefined;
632
674
  shelter_code?: string | null | undefined;
633
675
  shelter_maintainer?: string | null | undefined;
676
+ flags?: {
677
+ short_name: string;
678
+ stop_id: string;
679
+ agency_ids?: string[] | undefined;
680
+ is_harmonized?: boolean | undefined;
681
+ }[] | undefined;
634
682
  is_deleted?: boolean | undefined;
635
683
  jurisdiction?: "unknown" | "municipality" | "ip" | "other" | undefined;
636
684
  legacy_id?: string | null | undefined;
685
+ legacy_ids?: string[] | undefined;
637
686
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
638
687
  new_name?: string | null | undefined;
688
+ previous_go_id?: string | null | undefined;
639
689
  locality_id?: string | null | undefined;
640
690
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
641
691
  electricity_status?: "unknown" | "available" | "unavailable" | undefined;
@@ -938,13 +988,13 @@ export declare const PatternSchema: z.ZodObject<{
938
988
  path: z.ZodArray<z.ZodObject<{
939
989
  avg_speed: z.ZodNumber;
940
990
  dwell_time: z.ZodNumber;
941
- stop_id: z.ZodString;
991
+ stop_id: z.ZodNumber;
942
992
  }, "strip", z.ZodTypeAny, {
943
- stop_id: string;
993
+ stop_id: number;
944
994
  avg_speed: number;
945
995
  dwell_time: number;
946
996
  }, {
947
- stop_id: string;
997
+ stop_id: number;
948
998
  avg_speed: number;
949
999
  dwell_time: number;
950
1000
  }>, "many">;
@@ -953,7 +1003,7 @@ export declare const PatternSchema: z.ZodObject<{
953
1003
  kind: z.ZodLiteral<"default">;
954
1004
  }, "strip", z.ZodTypeAny, {
955
1005
  path: {
956
- stop_id: string;
1006
+ stop_id: number;
957
1007
  avg_speed: number;
958
1008
  dwell_time: number;
959
1009
  }[];
@@ -963,7 +1013,7 @@ export declare const PatternSchema: z.ZodObject<{
963
1013
  vehicle_type?: string | undefined;
964
1014
  }, {
965
1015
  path: {
966
- stop_id: string;
1016
+ stop_id: number;
967
1017
  avg_speed: number;
968
1018
  dwell_time: number;
969
1019
  }[];
@@ -977,13 +1027,13 @@ export declare const PatternSchema: z.ZodObject<{
977
1027
  path: z.ZodArray<z.ZodObject<{
978
1028
  avg_speed: z.ZodNumber;
979
1029
  dwell_time: z.ZodNumber;
980
- stop_id: z.ZodString;
1030
+ stop_id: z.ZodNumber;
981
1031
  }, "strip", z.ZodTypeAny, {
982
- stop_id: string;
1032
+ stop_id: number;
983
1033
  avg_speed: number;
984
1034
  dwell_time: number;
985
1035
  }, {
986
- stop_id: string;
1036
+ stop_id: number;
987
1037
  avg_speed: number;
988
1038
  dwell_time: number;
989
1039
  }>, "many">;
@@ -1003,7 +1053,7 @@ export declare const PatternSchema: z.ZodObject<{
1003
1053
  year_period_ids: z.ZodArray<z.ZodString, "many">;
1004
1054
  }, "strip", z.ZodTypeAny, {
1005
1055
  path: {
1006
- stop_id: string;
1056
+ stop_id: number;
1007
1057
  avg_speed: number;
1008
1058
  dwell_time: number;
1009
1059
  }[];
@@ -1016,7 +1066,7 @@ export declare const PatternSchema: z.ZodObject<{
1016
1066
  day_periods?: ("PPM" | "CD" | "PPT" | "N" | "M")[] | undefined;
1017
1067
  }, {
1018
1068
  path: {
1019
- stop_id: string;
1069
+ stop_id: number;
1020
1070
  avg_speed: number;
1021
1071
  dwell_time: number;
1022
1072
  }[];
@@ -1029,7 +1079,7 @@ export declare const PatternSchema: z.ZodObject<{
1029
1079
  day_periods?: ("PPM" | "CD" | "PPT" | "N" | "M")[] | undefined;
1030
1080
  }>]>, "many">, ({
1031
1081
  path: {
1032
- stop_id: string;
1082
+ stop_id: number;
1033
1083
  avg_speed: number;
1034
1084
  dwell_time: number;
1035
1085
  }[];
@@ -1039,7 +1089,7 @@ export declare const PatternSchema: z.ZodObject<{
1039
1089
  vehicle_type?: string | undefined;
1040
1090
  } | {
1041
1091
  path: {
1042
- stop_id: string;
1092
+ stop_id: number;
1043
1093
  avg_speed: number;
1044
1094
  dwell_time: number;
1045
1095
  }[];
@@ -1052,7 +1102,7 @@ export declare const PatternSchema: z.ZodObject<{
1052
1102
  day_periods?: ("PPM" | "CD" | "PPT" | "N" | "M")[] | undefined;
1053
1103
  })[], ({
1054
1104
  path: {
1055
- stop_id: string;
1105
+ stop_id: number;
1056
1106
  avg_speed: number;
1057
1107
  dwell_time: number;
1058
1108
  }[];
@@ -1062,7 +1112,7 @@ export declare const PatternSchema: z.ZodObject<{
1062
1112
  vehicle_type?: string | undefined;
1063
1113
  } | {
1064
1114
  path: {
1065
- stop_id: string;
1115
+ stop_id: number;
1066
1116
  avg_speed: number;
1067
1117
  dwell_time: number;
1068
1118
  }[];
@@ -1086,13 +1136,31 @@ export declare const PatternSchema: z.ZodObject<{
1086
1136
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
1087
1137
  updated_by: z.ZodOptional<z.ZodString>;
1088
1138
  } & {
1089
- _id: z.ZodString;
1139
+ _id: z.ZodNumber;
1140
+ flags: z.ZodDefault<z.ZodArray<z.ZodObject<{
1141
+ agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1142
+ is_harmonized: z.ZodDefault<z.ZodBoolean>;
1143
+ short_name: z.ZodString;
1144
+ stop_id: z.ZodString;
1145
+ }, "strip", z.ZodTypeAny, {
1146
+ short_name: string;
1147
+ stop_id: string;
1148
+ agency_ids: string[];
1149
+ is_harmonized: boolean;
1150
+ }, {
1151
+ short_name: string;
1152
+ stop_id: string;
1153
+ agency_ids?: string[] | undefined;
1154
+ is_harmonized?: boolean | undefined;
1155
+ }>, "many">>;
1090
1156
  is_deleted: z.ZodDefault<z.ZodBoolean>;
1091
1157
  jurisdiction: z.ZodDefault<z.ZodEnum<["ip", "municipality", "other", "unknown"]>>;
1092
1158
  legacy_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1159
+ legacy_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1093
1160
  lifecycle_status: z.ZodDefault<z.ZodEnum<["draft", "active", "inactive", "provisional", "seasonal", "voided"]>>;
1094
1161
  name: z.ZodString;
1095
1162
  new_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1163
+ previous_go_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1096
1164
  short_name: z.ZodString;
1097
1165
  tts_name: z.ZodString;
1098
1166
  district_id: z.ZodString;
@@ -1339,7 +1407,7 @@ export declare const PatternSchema: z.ZodObject<{
1339
1407
  }>, "many">>;
1340
1408
  observations: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1341
1409
  }, "strip", z.ZodTypeAny, {
1342
- _id: string;
1410
+ _id: number;
1343
1411
  created_at: number & {
1344
1412
  __brand: "UnixTimestamp";
1345
1413
  };
@@ -1409,11 +1477,19 @@ export declare const PatternSchema: z.ZodObject<{
1409
1477
  parish_id: string | null;
1410
1478
  shelter_code: string | null;
1411
1479
  shelter_maintainer: string | null;
1480
+ flags: {
1481
+ short_name: string;
1482
+ stop_id: string;
1483
+ agency_ids: string[];
1484
+ is_harmonized: boolean;
1485
+ }[];
1412
1486
  is_deleted: boolean;
1413
1487
  jurisdiction: "unknown" | "municipality" | "ip" | "other";
1414
1488
  legacy_id: string | null;
1489
+ legacy_ids: string[];
1415
1490
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
1416
1491
  new_name: string | null;
1492
+ previous_go_id: string | null;
1417
1493
  tts_name: string;
1418
1494
  district_id: string;
1419
1495
  locality_id: string | null;
@@ -1437,7 +1513,7 @@ export declare const PatternSchema: z.ZodObject<{
1437
1513
  image_ids: string[];
1438
1514
  updated_by?: string | undefined;
1439
1515
  }, {
1440
- _id: string;
1516
+ _id: number;
1441
1517
  created_at: number;
1442
1518
  updated_at: number;
1443
1519
  name: string;
@@ -1494,11 +1570,19 @@ export declare const PatternSchema: z.ZodObject<{
1494
1570
  parish_id?: string | null | undefined;
1495
1571
  shelter_code?: string | null | undefined;
1496
1572
  shelter_maintainer?: string | null | undefined;
1573
+ flags?: {
1574
+ short_name: string;
1575
+ stop_id: string;
1576
+ agency_ids?: string[] | undefined;
1577
+ is_harmonized?: boolean | undefined;
1578
+ }[] | undefined;
1497
1579
  is_deleted?: boolean | undefined;
1498
1580
  jurisdiction?: "unknown" | "municipality" | "ip" | "other" | undefined;
1499
1581
  legacy_id?: string | null | undefined;
1582
+ legacy_ids?: string[] | undefined;
1500
1583
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
1501
1584
  new_name?: string | null | undefined;
1585
+ previous_go_id?: string | null | undefined;
1502
1586
  locality_id?: string | null | undefined;
1503
1587
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
1504
1588
  electricity_status?: "unknown" | "available" | "unavailable" | undefined;
@@ -1519,19 +1603,19 @@ export declare const PatternSchema: z.ZodObject<{
1519
1603
  file_ids?: string[] | undefined;
1520
1604
  image_ids?: string[] | undefined;
1521
1605
  }>>>;
1522
- stop_id: z.ZodString;
1606
+ stop_id: z.ZodNumber;
1523
1607
  timepoint: z.ZodDefault<z.ZodBoolean>;
1524
1608
  zones: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1525
1609
  }, "strip", z.ZodTypeAny, {
1526
1610
  _id: string;
1527
- stop_id: string;
1611
+ stop_id: number;
1528
1612
  timepoint: boolean;
1529
1613
  allow_drop_off: boolean;
1530
1614
  allow_pickup: boolean;
1531
1615
  distance_delta: number | null;
1532
1616
  zones?: string[] | undefined;
1533
1617
  stop?: {
1534
- _id: string;
1618
+ _id: number;
1535
1619
  created_at: number & {
1536
1620
  __brand: "UnixTimestamp";
1537
1621
  };
@@ -1601,11 +1685,19 @@ export declare const PatternSchema: z.ZodObject<{
1601
1685
  parish_id: string | null;
1602
1686
  shelter_code: string | null;
1603
1687
  shelter_maintainer: string | null;
1688
+ flags: {
1689
+ short_name: string;
1690
+ stop_id: string;
1691
+ agency_ids: string[];
1692
+ is_harmonized: boolean;
1693
+ }[];
1604
1694
  is_deleted: boolean;
1605
1695
  jurisdiction: "unknown" | "municipality" | "ip" | "other";
1606
1696
  legacy_id: string | null;
1697
+ legacy_ids: string[];
1607
1698
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
1608
1699
  new_name: string | null;
1700
+ previous_go_id: string | null;
1609
1701
  tts_name: string;
1610
1702
  district_id: string;
1611
1703
  locality_id: string | null;
@@ -1631,14 +1723,14 @@ export declare const PatternSchema: z.ZodObject<{
1631
1723
  } | null | undefined;
1632
1724
  }, {
1633
1725
  _id: string;
1634
- stop_id: string;
1726
+ stop_id: number;
1635
1727
  zones?: string[] | undefined;
1636
1728
  timepoint?: boolean | undefined;
1637
1729
  allow_drop_off?: boolean | undefined;
1638
1730
  allow_pickup?: boolean | undefined;
1639
1731
  distance_delta?: number | null | undefined;
1640
1732
  stop?: {
1641
- _id: string;
1733
+ _id: number;
1642
1734
  created_at: number;
1643
1735
  updated_at: number;
1644
1736
  name: string;
@@ -1695,11 +1787,19 @@ export declare const PatternSchema: z.ZodObject<{
1695
1787
  parish_id?: string | null | undefined;
1696
1788
  shelter_code?: string | null | undefined;
1697
1789
  shelter_maintainer?: string | null | undefined;
1790
+ flags?: {
1791
+ short_name: string;
1792
+ stop_id: string;
1793
+ agency_ids?: string[] | undefined;
1794
+ is_harmonized?: boolean | undefined;
1795
+ }[] | undefined;
1698
1796
  is_deleted?: boolean | undefined;
1699
1797
  jurisdiction?: "unknown" | "municipality" | "ip" | "other" | undefined;
1700
1798
  legacy_id?: string | null | undefined;
1799
+ legacy_ids?: string[] | undefined;
1701
1800
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
1702
1801
  new_name?: string | null | undefined;
1802
+ previous_go_id?: string | null | undefined;
1703
1803
  locality_id?: string | null | undefined;
1704
1804
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
1705
1805
  electricity_status?: "unknown" | "available" | "unavailable" | undefined;
@@ -2052,14 +2152,14 @@ export declare const PatternSchema: z.ZodObject<{
2052
2152
  updated_by?: string | undefined;
2053
2153
  path?: {
2054
2154
  _id: string;
2055
- stop_id: string;
2155
+ stop_id: number;
2056
2156
  timepoint: boolean;
2057
2157
  allow_drop_off: boolean;
2058
2158
  allow_pickup: boolean;
2059
2159
  distance_delta: number | null;
2060
2160
  zones?: string[] | undefined;
2061
2161
  stop?: {
2062
- _id: string;
2162
+ _id: number;
2063
2163
  created_at: number & {
2064
2164
  __brand: "UnixTimestamp";
2065
2165
  };
@@ -2129,11 +2229,19 @@ export declare const PatternSchema: z.ZodObject<{
2129
2229
  parish_id: string | null;
2130
2230
  shelter_code: string | null;
2131
2231
  shelter_maintainer: string | null;
2232
+ flags: {
2233
+ short_name: string;
2234
+ stop_id: string;
2235
+ agency_ids: string[];
2236
+ is_harmonized: boolean;
2237
+ }[];
2132
2238
  is_deleted: boolean;
2133
2239
  jurisdiction: "unknown" | "municipality" | "ip" | "other";
2134
2240
  legacy_id: string | null;
2241
+ legacy_ids: string[];
2135
2242
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
2136
2243
  new_name: string | null;
2244
+ previous_go_id: string | null;
2137
2245
  tts_name: string;
2138
2246
  district_id: string;
2139
2247
  locality_id: string | null;
@@ -2171,7 +2279,7 @@ export declare const PatternSchema: z.ZodObject<{
2171
2279
  } | undefined;
2172
2280
  parameters?: ({
2173
2281
  path: {
2174
- stop_id: string;
2282
+ stop_id: number;
2175
2283
  avg_speed: number;
2176
2284
  dwell_time: number;
2177
2285
  }[];
@@ -2181,7 +2289,7 @@ export declare const PatternSchema: z.ZodObject<{
2181
2289
  vehicle_type?: string | undefined;
2182
2290
  } | {
2183
2291
  path: {
2184
- stop_id: string;
2292
+ stop_id: number;
2185
2293
  avg_speed: number;
2186
2294
  dwell_time: number;
2187
2295
  }[];
@@ -2208,14 +2316,14 @@ export declare const PatternSchema: z.ZodObject<{
2208
2316
  updated_by?: string | undefined;
2209
2317
  path?: {
2210
2318
  _id: string;
2211
- stop_id: string;
2319
+ stop_id: number;
2212
2320
  zones?: string[] | undefined;
2213
2321
  timepoint?: boolean | undefined;
2214
2322
  allow_drop_off?: boolean | undefined;
2215
2323
  allow_pickup?: boolean | undefined;
2216
2324
  distance_delta?: number | null | undefined;
2217
2325
  stop?: {
2218
- _id: string;
2326
+ _id: number;
2219
2327
  created_at: number;
2220
2328
  updated_at: number;
2221
2329
  name: string;
@@ -2272,11 +2380,19 @@ export declare const PatternSchema: z.ZodObject<{
2272
2380
  parish_id?: string | null | undefined;
2273
2381
  shelter_code?: string | null | undefined;
2274
2382
  shelter_maintainer?: string | null | undefined;
2383
+ flags?: {
2384
+ short_name: string;
2385
+ stop_id: string;
2386
+ agency_ids?: string[] | undefined;
2387
+ is_harmonized?: boolean | undefined;
2388
+ }[] | undefined;
2275
2389
  is_deleted?: boolean | undefined;
2276
2390
  jurisdiction?: "unknown" | "municipality" | "ip" | "other" | undefined;
2277
2391
  legacy_id?: string | null | undefined;
2392
+ legacy_ids?: string[] | undefined;
2278
2393
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
2279
2394
  new_name?: string | null | undefined;
2395
+ previous_go_id?: string | null | undefined;
2280
2396
  locality_id?: string | null | undefined;
2281
2397
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
2282
2398
  electricity_status?: "unknown" | "available" | "unavailable" | undefined;
@@ -2389,7 +2505,7 @@ export declare const PatternSchema: z.ZodObject<{
2389
2505
  direction?: "outbound" | "inbound" | undefined;
2390
2506
  parameters?: ({
2391
2507
  path: {
2392
- stop_id: string;
2508
+ stop_id: number;
2393
2509
  avg_speed: number;
2394
2510
  dwell_time: number;
2395
2511
  }[];
@@ -2399,7 +2515,7 @@ export declare const PatternSchema: z.ZodObject<{
2399
2515
  vehicle_type?: string | undefined;
2400
2516
  } | {
2401
2517
  path: {
2402
- stop_id: string;
2518
+ stop_id: number;
2403
2519
  avg_speed: number;
2404
2520
  dwell_time: number;
2405
2521
  }[];
@@ -2661,13 +2777,13 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2661
2777
  path: z.ZodArray<z.ZodObject<{
2662
2778
  avg_speed: z.ZodNumber;
2663
2779
  dwell_time: z.ZodNumber;
2664
- stop_id: z.ZodString;
2780
+ stop_id: z.ZodNumber;
2665
2781
  }, "strip", z.ZodTypeAny, {
2666
- stop_id: string;
2782
+ stop_id: number;
2667
2783
  avg_speed: number;
2668
2784
  dwell_time: number;
2669
2785
  }, {
2670
- stop_id: string;
2786
+ stop_id: number;
2671
2787
  avg_speed: number;
2672
2788
  dwell_time: number;
2673
2789
  }>, "many">;
@@ -2676,7 +2792,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2676
2792
  kind: z.ZodLiteral<"default">;
2677
2793
  }, "strip", z.ZodTypeAny, {
2678
2794
  path: {
2679
- stop_id: string;
2795
+ stop_id: number;
2680
2796
  avg_speed: number;
2681
2797
  dwell_time: number;
2682
2798
  }[];
@@ -2686,7 +2802,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2686
2802
  vehicle_type?: string | undefined;
2687
2803
  }, {
2688
2804
  path: {
2689
- stop_id: string;
2805
+ stop_id: number;
2690
2806
  avg_speed: number;
2691
2807
  dwell_time: number;
2692
2808
  }[];
@@ -2700,13 +2816,13 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2700
2816
  path: z.ZodArray<z.ZodObject<{
2701
2817
  avg_speed: z.ZodNumber;
2702
2818
  dwell_time: z.ZodNumber;
2703
- stop_id: z.ZodString;
2819
+ stop_id: z.ZodNumber;
2704
2820
  }, "strip", z.ZodTypeAny, {
2705
- stop_id: string;
2821
+ stop_id: number;
2706
2822
  avg_speed: number;
2707
2823
  dwell_time: number;
2708
2824
  }, {
2709
- stop_id: string;
2825
+ stop_id: number;
2710
2826
  avg_speed: number;
2711
2827
  dwell_time: number;
2712
2828
  }>, "many">;
@@ -2726,7 +2842,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2726
2842
  year_period_ids: z.ZodArray<z.ZodString, "many">;
2727
2843
  }, "strip", z.ZodTypeAny, {
2728
2844
  path: {
2729
- stop_id: string;
2845
+ stop_id: number;
2730
2846
  avg_speed: number;
2731
2847
  dwell_time: number;
2732
2848
  }[];
@@ -2739,7 +2855,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2739
2855
  day_periods?: ("PPM" | "CD" | "PPT" | "N" | "M")[] | undefined;
2740
2856
  }, {
2741
2857
  path: {
2742
- stop_id: string;
2858
+ stop_id: number;
2743
2859
  avg_speed: number;
2744
2860
  dwell_time: number;
2745
2861
  }[];
@@ -2752,7 +2868,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2752
2868
  day_periods?: ("PPM" | "CD" | "PPT" | "N" | "M")[] | undefined;
2753
2869
  }>]>, "many">, ({
2754
2870
  path: {
2755
- stop_id: string;
2871
+ stop_id: number;
2756
2872
  avg_speed: number;
2757
2873
  dwell_time: number;
2758
2874
  }[];
@@ -2762,7 +2878,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2762
2878
  vehicle_type?: string | undefined;
2763
2879
  } | {
2764
2880
  path: {
2765
- stop_id: string;
2881
+ stop_id: number;
2766
2882
  avg_speed: number;
2767
2883
  dwell_time: number;
2768
2884
  }[];
@@ -2775,7 +2891,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2775
2891
  day_periods?: ("PPM" | "CD" | "PPT" | "N" | "M")[] | undefined;
2776
2892
  })[], ({
2777
2893
  path: {
2778
- stop_id: string;
2894
+ stop_id: number;
2779
2895
  avg_speed: number;
2780
2896
  dwell_time: number;
2781
2897
  }[];
@@ -2785,7 +2901,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2785
2901
  vehicle_type?: string | undefined;
2786
2902
  } | {
2787
2903
  path: {
2788
- stop_id: string;
2904
+ stop_id: number;
2789
2905
  avg_speed: number;
2790
2906
  dwell_time: number;
2791
2907
  }[];
@@ -2809,13 +2925,31 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
2809
2925
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
2810
2926
  updated_by: z.ZodOptional<z.ZodString>;
2811
2927
  } & {
2812
- _id: z.ZodString;
2928
+ _id: z.ZodNumber;
2929
+ flags: z.ZodDefault<z.ZodArray<z.ZodObject<{
2930
+ agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2931
+ is_harmonized: z.ZodDefault<z.ZodBoolean>;
2932
+ short_name: z.ZodString;
2933
+ stop_id: z.ZodString;
2934
+ }, "strip", z.ZodTypeAny, {
2935
+ short_name: string;
2936
+ stop_id: string;
2937
+ agency_ids: string[];
2938
+ is_harmonized: boolean;
2939
+ }, {
2940
+ short_name: string;
2941
+ stop_id: string;
2942
+ agency_ids?: string[] | undefined;
2943
+ is_harmonized?: boolean | undefined;
2944
+ }>, "many">>;
2813
2945
  is_deleted: z.ZodDefault<z.ZodBoolean>;
2814
2946
  jurisdiction: z.ZodDefault<z.ZodEnum<["ip", "municipality", "other", "unknown"]>>;
2815
2947
  legacy_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2948
+ legacy_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2816
2949
  lifecycle_status: z.ZodDefault<z.ZodEnum<["draft", "active", "inactive", "provisional", "seasonal", "voided"]>>;
2817
2950
  name: z.ZodString;
2818
2951
  new_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2952
+ previous_go_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2819
2953
  short_name: z.ZodString;
2820
2954
  tts_name: z.ZodString;
2821
2955
  district_id: z.ZodString;
@@ -3062,7 +3196,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3062
3196
  }>, "many">>;
3063
3197
  observations: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3064
3198
  }, "strip", z.ZodTypeAny, {
3065
- _id: string;
3199
+ _id: number;
3066
3200
  created_at: number & {
3067
3201
  __brand: "UnixTimestamp";
3068
3202
  };
@@ -3132,11 +3266,19 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3132
3266
  parish_id: string | null;
3133
3267
  shelter_code: string | null;
3134
3268
  shelter_maintainer: string | null;
3269
+ flags: {
3270
+ short_name: string;
3271
+ stop_id: string;
3272
+ agency_ids: string[];
3273
+ is_harmonized: boolean;
3274
+ }[];
3135
3275
  is_deleted: boolean;
3136
3276
  jurisdiction: "unknown" | "municipality" | "ip" | "other";
3137
3277
  legacy_id: string | null;
3278
+ legacy_ids: string[];
3138
3279
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
3139
3280
  new_name: string | null;
3281
+ previous_go_id: string | null;
3140
3282
  tts_name: string;
3141
3283
  district_id: string;
3142
3284
  locality_id: string | null;
@@ -3160,7 +3302,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3160
3302
  image_ids: string[];
3161
3303
  updated_by?: string | undefined;
3162
3304
  }, {
3163
- _id: string;
3305
+ _id: number;
3164
3306
  created_at: number;
3165
3307
  updated_at: number;
3166
3308
  name: string;
@@ -3217,11 +3359,19 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3217
3359
  parish_id?: string | null | undefined;
3218
3360
  shelter_code?: string | null | undefined;
3219
3361
  shelter_maintainer?: string | null | undefined;
3362
+ flags?: {
3363
+ short_name: string;
3364
+ stop_id: string;
3365
+ agency_ids?: string[] | undefined;
3366
+ is_harmonized?: boolean | undefined;
3367
+ }[] | undefined;
3220
3368
  is_deleted?: boolean | undefined;
3221
3369
  jurisdiction?: "unknown" | "municipality" | "ip" | "other" | undefined;
3222
3370
  legacy_id?: string | null | undefined;
3371
+ legacy_ids?: string[] | undefined;
3223
3372
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
3224
3373
  new_name?: string | null | undefined;
3374
+ previous_go_id?: string | null | undefined;
3225
3375
  locality_id?: string | null | undefined;
3226
3376
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
3227
3377
  electricity_status?: "unknown" | "available" | "unavailable" | undefined;
@@ -3242,19 +3392,19 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3242
3392
  file_ids?: string[] | undefined;
3243
3393
  image_ids?: string[] | undefined;
3244
3394
  }>>>;
3245
- stop_id: z.ZodString;
3395
+ stop_id: z.ZodNumber;
3246
3396
  timepoint: z.ZodDefault<z.ZodBoolean>;
3247
3397
  zones: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3248
3398
  }, "strip", z.ZodTypeAny, {
3249
3399
  _id: string;
3250
- stop_id: string;
3400
+ stop_id: number;
3251
3401
  timepoint: boolean;
3252
3402
  allow_drop_off: boolean;
3253
3403
  allow_pickup: boolean;
3254
3404
  distance_delta: number | null;
3255
3405
  zones?: string[] | undefined;
3256
3406
  stop?: {
3257
- _id: string;
3407
+ _id: number;
3258
3408
  created_at: number & {
3259
3409
  __brand: "UnixTimestamp";
3260
3410
  };
@@ -3324,11 +3474,19 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3324
3474
  parish_id: string | null;
3325
3475
  shelter_code: string | null;
3326
3476
  shelter_maintainer: string | null;
3477
+ flags: {
3478
+ short_name: string;
3479
+ stop_id: string;
3480
+ agency_ids: string[];
3481
+ is_harmonized: boolean;
3482
+ }[];
3327
3483
  is_deleted: boolean;
3328
3484
  jurisdiction: "unknown" | "municipality" | "ip" | "other";
3329
3485
  legacy_id: string | null;
3486
+ legacy_ids: string[];
3330
3487
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
3331
3488
  new_name: string | null;
3489
+ previous_go_id: string | null;
3332
3490
  tts_name: string;
3333
3491
  district_id: string;
3334
3492
  locality_id: string | null;
@@ -3354,14 +3512,14 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3354
3512
  } | null | undefined;
3355
3513
  }, {
3356
3514
  _id: string;
3357
- stop_id: string;
3515
+ stop_id: number;
3358
3516
  zones?: string[] | undefined;
3359
3517
  timepoint?: boolean | undefined;
3360
3518
  allow_drop_off?: boolean | undefined;
3361
3519
  allow_pickup?: boolean | undefined;
3362
3520
  distance_delta?: number | null | undefined;
3363
3521
  stop?: {
3364
- _id: string;
3522
+ _id: number;
3365
3523
  created_at: number;
3366
3524
  updated_at: number;
3367
3525
  name: string;
@@ -3418,11 +3576,19 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3418
3576
  parish_id?: string | null | undefined;
3419
3577
  shelter_code?: string | null | undefined;
3420
3578
  shelter_maintainer?: string | null | undefined;
3579
+ flags?: {
3580
+ short_name: string;
3581
+ stop_id: string;
3582
+ agency_ids?: string[] | undefined;
3583
+ is_harmonized?: boolean | undefined;
3584
+ }[] | undefined;
3421
3585
  is_deleted?: boolean | undefined;
3422
3586
  jurisdiction?: "unknown" | "municipality" | "ip" | "other" | undefined;
3423
3587
  legacy_id?: string | null | undefined;
3588
+ legacy_ids?: string[] | undefined;
3424
3589
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
3425
3590
  new_name?: string | null | undefined;
3591
+ previous_go_id?: string | null | undefined;
3426
3592
  locality_id?: string | null | undefined;
3427
3593
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
3428
3594
  electricity_status?: "unknown" | "available" | "unavailable" | undefined;
@@ -3768,14 +3934,14 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3768
3934
  updated_by?: string | undefined;
3769
3935
  path?: {
3770
3936
  _id: string;
3771
- stop_id: string;
3937
+ stop_id: number;
3772
3938
  timepoint: boolean;
3773
3939
  allow_drop_off: boolean;
3774
3940
  allow_pickup: boolean;
3775
3941
  distance_delta: number | null;
3776
3942
  zones?: string[] | undefined;
3777
3943
  stop?: {
3778
- _id: string;
3944
+ _id: number;
3779
3945
  created_at: number & {
3780
3946
  __brand: "UnixTimestamp";
3781
3947
  };
@@ -3845,11 +4011,19 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3845
4011
  parish_id: string | null;
3846
4012
  shelter_code: string | null;
3847
4013
  shelter_maintainer: string | null;
4014
+ flags: {
4015
+ short_name: string;
4016
+ stop_id: string;
4017
+ agency_ids: string[];
4018
+ is_harmonized: boolean;
4019
+ }[];
3848
4020
  is_deleted: boolean;
3849
4021
  jurisdiction: "unknown" | "municipality" | "ip" | "other";
3850
4022
  legacy_id: string | null;
4023
+ legacy_ids: string[];
3851
4024
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
3852
4025
  new_name: string | null;
4026
+ previous_go_id: string | null;
3853
4027
  tts_name: string;
3854
4028
  district_id: string;
3855
4029
  locality_id: string | null;
@@ -3887,7 +4061,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3887
4061
  } | undefined;
3888
4062
  parameters?: ({
3889
4063
  path: {
3890
- stop_id: string;
4064
+ stop_id: number;
3891
4065
  avg_speed: number;
3892
4066
  dwell_time: number;
3893
4067
  }[];
@@ -3897,7 +4071,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3897
4071
  vehicle_type?: string | undefined;
3898
4072
  } | {
3899
4073
  path: {
3900
- stop_id: string;
4074
+ stop_id: number;
3901
4075
  avg_speed: number;
3902
4076
  dwell_time: number;
3903
4077
  }[];
@@ -3921,14 +4095,14 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3921
4095
  updated_by?: string | undefined;
3922
4096
  path?: {
3923
4097
  _id: string;
3924
- stop_id: string;
4098
+ stop_id: number;
3925
4099
  zones?: string[] | undefined;
3926
4100
  timepoint?: boolean | undefined;
3927
4101
  allow_drop_off?: boolean | undefined;
3928
4102
  allow_pickup?: boolean | undefined;
3929
4103
  distance_delta?: number | null | undefined;
3930
4104
  stop?: {
3931
- _id: string;
4105
+ _id: number;
3932
4106
  created_at: number;
3933
4107
  updated_at: number;
3934
4108
  name: string;
@@ -3985,11 +4159,19 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
3985
4159
  parish_id?: string | null | undefined;
3986
4160
  shelter_code?: string | null | undefined;
3987
4161
  shelter_maintainer?: string | null | undefined;
4162
+ flags?: {
4163
+ short_name: string;
4164
+ stop_id: string;
4165
+ agency_ids?: string[] | undefined;
4166
+ is_harmonized?: boolean | undefined;
4167
+ }[] | undefined;
3988
4168
  is_deleted?: boolean | undefined;
3989
4169
  jurisdiction?: "unknown" | "municipality" | "ip" | "other" | undefined;
3990
4170
  legacy_id?: string | null | undefined;
4171
+ legacy_ids?: string[] | undefined;
3991
4172
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
3992
4173
  new_name?: string | null | undefined;
4174
+ previous_go_id?: string | null | undefined;
3993
4175
  locality_id?: string | null | undefined;
3994
4176
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
3995
4177
  electricity_status?: "unknown" | "available" | "unavailable" | undefined;
@@ -4102,7 +4284,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
4102
4284
  direction?: "outbound" | "inbound" | undefined;
4103
4285
  parameters?: ({
4104
4286
  path: {
4105
- stop_id: string;
4287
+ stop_id: number;
4106
4288
  avg_speed: number;
4107
4289
  dwell_time: number;
4108
4290
  }[];
@@ -4112,7 +4294,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
4112
4294
  vehicle_type?: string | undefined;
4113
4295
  } | {
4114
4296
  path: {
4115
- stop_id: string;
4297
+ stop_id: number;
4116
4298
  avg_speed: number;
4117
4299
  dwell_time: number;
4118
4300
  }[];
@@ -4141,13 +4323,31 @@ export declare const UpdatePatternSchema: z.ZodObject<{
4141
4323
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
4142
4324
  updated_by: z.ZodOptional<z.ZodString>;
4143
4325
  } & {
4144
- _id: z.ZodString;
4326
+ _id: z.ZodNumber;
4327
+ flags: z.ZodDefault<z.ZodArray<z.ZodObject<{
4328
+ agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
4329
+ is_harmonized: z.ZodDefault<z.ZodBoolean>;
4330
+ short_name: z.ZodString;
4331
+ stop_id: z.ZodString;
4332
+ }, "strip", z.ZodTypeAny, {
4333
+ short_name: string;
4334
+ stop_id: string;
4335
+ agency_ids: string[];
4336
+ is_harmonized: boolean;
4337
+ }, {
4338
+ short_name: string;
4339
+ stop_id: string;
4340
+ agency_ids?: string[] | undefined;
4341
+ is_harmonized?: boolean | undefined;
4342
+ }>, "many">>;
4145
4343
  is_deleted: z.ZodDefault<z.ZodBoolean>;
4146
4344
  jurisdiction: z.ZodDefault<z.ZodEnum<["ip", "municipality", "other", "unknown"]>>;
4147
4345
  legacy_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4346
+ legacy_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
4148
4347
  lifecycle_status: z.ZodDefault<z.ZodEnum<["draft", "active", "inactive", "provisional", "seasonal", "voided"]>>;
4149
4348
  name: z.ZodString;
4150
4349
  new_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4350
+ previous_go_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4151
4351
  short_name: z.ZodString;
4152
4352
  tts_name: z.ZodString;
4153
4353
  district_id: z.ZodString;
@@ -4394,7 +4594,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
4394
4594
  }>, "many">>;
4395
4595
  observations: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4396
4596
  }, "strip", z.ZodTypeAny, {
4397
- _id: string;
4597
+ _id: number;
4398
4598
  created_at: number & {
4399
4599
  __brand: "UnixTimestamp";
4400
4600
  };
@@ -4464,11 +4664,19 @@ export declare const UpdatePatternSchema: z.ZodObject<{
4464
4664
  parish_id: string | null;
4465
4665
  shelter_code: string | null;
4466
4666
  shelter_maintainer: string | null;
4667
+ flags: {
4668
+ short_name: string;
4669
+ stop_id: string;
4670
+ agency_ids: string[];
4671
+ is_harmonized: boolean;
4672
+ }[];
4467
4673
  is_deleted: boolean;
4468
4674
  jurisdiction: "unknown" | "municipality" | "ip" | "other";
4469
4675
  legacy_id: string | null;
4676
+ legacy_ids: string[];
4470
4677
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
4471
4678
  new_name: string | null;
4679
+ previous_go_id: string | null;
4472
4680
  tts_name: string;
4473
4681
  district_id: string;
4474
4682
  locality_id: string | null;
@@ -4492,7 +4700,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
4492
4700
  image_ids: string[];
4493
4701
  updated_by?: string | undefined;
4494
4702
  }, {
4495
- _id: string;
4703
+ _id: number;
4496
4704
  created_at: number;
4497
4705
  updated_at: number;
4498
4706
  name: string;
@@ -4549,11 +4757,19 @@ export declare const UpdatePatternSchema: z.ZodObject<{
4549
4757
  parish_id?: string | null | undefined;
4550
4758
  shelter_code?: string | null | undefined;
4551
4759
  shelter_maintainer?: string | null | undefined;
4760
+ flags?: {
4761
+ short_name: string;
4762
+ stop_id: string;
4763
+ agency_ids?: string[] | undefined;
4764
+ is_harmonized?: boolean | undefined;
4765
+ }[] | undefined;
4552
4766
  is_deleted?: boolean | undefined;
4553
4767
  jurisdiction?: "unknown" | "municipality" | "ip" | "other" | undefined;
4554
4768
  legacy_id?: string | null | undefined;
4769
+ legacy_ids?: string[] | undefined;
4555
4770
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
4556
4771
  new_name?: string | null | undefined;
4772
+ previous_go_id?: string | null | undefined;
4557
4773
  locality_id?: string | null | undefined;
4558
4774
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
4559
4775
  electricity_status?: "unknown" | "available" | "unavailable" | undefined;
@@ -4574,19 +4790,19 @@ export declare const UpdatePatternSchema: z.ZodObject<{
4574
4790
  file_ids?: string[] | undefined;
4575
4791
  image_ids?: string[] | undefined;
4576
4792
  }>>>;
4577
- stop_id: z.ZodString;
4793
+ stop_id: z.ZodNumber;
4578
4794
  timepoint: z.ZodDefault<z.ZodBoolean>;
4579
4795
  zones: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4580
4796
  }, "strip", z.ZodTypeAny, {
4581
4797
  _id: string;
4582
- stop_id: string;
4798
+ stop_id: number;
4583
4799
  timepoint: boolean;
4584
4800
  allow_drop_off: boolean;
4585
4801
  allow_pickup: boolean;
4586
4802
  distance_delta: number | null;
4587
4803
  zones?: string[] | undefined;
4588
4804
  stop?: {
4589
- _id: string;
4805
+ _id: number;
4590
4806
  created_at: number & {
4591
4807
  __brand: "UnixTimestamp";
4592
4808
  };
@@ -4656,11 +4872,19 @@ export declare const UpdatePatternSchema: z.ZodObject<{
4656
4872
  parish_id: string | null;
4657
4873
  shelter_code: string | null;
4658
4874
  shelter_maintainer: string | null;
4875
+ flags: {
4876
+ short_name: string;
4877
+ stop_id: string;
4878
+ agency_ids: string[];
4879
+ is_harmonized: boolean;
4880
+ }[];
4659
4881
  is_deleted: boolean;
4660
4882
  jurisdiction: "unknown" | "municipality" | "ip" | "other";
4661
4883
  legacy_id: string | null;
4884
+ legacy_ids: string[];
4662
4885
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
4663
4886
  new_name: string | null;
4887
+ previous_go_id: string | null;
4664
4888
  tts_name: string;
4665
4889
  district_id: string;
4666
4890
  locality_id: string | null;
@@ -4686,14 +4910,14 @@ export declare const UpdatePatternSchema: z.ZodObject<{
4686
4910
  } | null | undefined;
4687
4911
  }, {
4688
4912
  _id: string;
4689
- stop_id: string;
4913
+ stop_id: number;
4690
4914
  zones?: string[] | undefined;
4691
4915
  timepoint?: boolean | undefined;
4692
4916
  allow_drop_off?: boolean | undefined;
4693
4917
  allow_pickup?: boolean | undefined;
4694
4918
  distance_delta?: number | null | undefined;
4695
4919
  stop?: {
4696
- _id: string;
4920
+ _id: number;
4697
4921
  created_at: number;
4698
4922
  updated_at: number;
4699
4923
  name: string;
@@ -4750,11 +4974,19 @@ export declare const UpdatePatternSchema: z.ZodObject<{
4750
4974
  parish_id?: string | null | undefined;
4751
4975
  shelter_code?: string | null | undefined;
4752
4976
  shelter_maintainer?: string | null | undefined;
4977
+ flags?: {
4978
+ short_name: string;
4979
+ stop_id: string;
4980
+ agency_ids?: string[] | undefined;
4981
+ is_harmonized?: boolean | undefined;
4982
+ }[] | undefined;
4753
4983
  is_deleted?: boolean | undefined;
4754
4984
  jurisdiction?: "unknown" | "municipality" | "ip" | "other" | undefined;
4755
4985
  legacy_id?: string | null | undefined;
4986
+ legacy_ids?: string[] | undefined;
4756
4987
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
4757
4988
  new_name?: string | null | undefined;
4989
+ previous_go_id?: string | null | undefined;
4758
4990
  locality_id?: string | null | undefined;
4759
4991
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
4760
4992
  electricity_status?: "unknown" | "available" | "unavailable" | undefined;
@@ -5049,13 +5281,13 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5049
5281
  path: z.ZodArray<z.ZodObject<{
5050
5282
  avg_speed: z.ZodNumber;
5051
5283
  dwell_time: z.ZodNumber;
5052
- stop_id: z.ZodString;
5284
+ stop_id: z.ZodNumber;
5053
5285
  }, "strip", z.ZodTypeAny, {
5054
- stop_id: string;
5286
+ stop_id: number;
5055
5287
  avg_speed: number;
5056
5288
  dwell_time: number;
5057
5289
  }, {
5058
- stop_id: string;
5290
+ stop_id: number;
5059
5291
  avg_speed: number;
5060
5292
  dwell_time: number;
5061
5293
  }>, "many">;
@@ -5064,7 +5296,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5064
5296
  kind: z.ZodLiteral<"default">;
5065
5297
  }, "strip", z.ZodTypeAny, {
5066
5298
  path: {
5067
- stop_id: string;
5299
+ stop_id: number;
5068
5300
  avg_speed: number;
5069
5301
  dwell_time: number;
5070
5302
  }[];
@@ -5074,7 +5306,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5074
5306
  vehicle_type?: string | undefined;
5075
5307
  }, {
5076
5308
  path: {
5077
- stop_id: string;
5309
+ stop_id: number;
5078
5310
  avg_speed: number;
5079
5311
  dwell_time: number;
5080
5312
  }[];
@@ -5088,13 +5320,13 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5088
5320
  path: z.ZodArray<z.ZodObject<{
5089
5321
  avg_speed: z.ZodNumber;
5090
5322
  dwell_time: z.ZodNumber;
5091
- stop_id: z.ZodString;
5323
+ stop_id: z.ZodNumber;
5092
5324
  }, "strip", z.ZodTypeAny, {
5093
- stop_id: string;
5325
+ stop_id: number;
5094
5326
  avg_speed: number;
5095
5327
  dwell_time: number;
5096
5328
  }, {
5097
- stop_id: string;
5329
+ stop_id: number;
5098
5330
  avg_speed: number;
5099
5331
  dwell_time: number;
5100
5332
  }>, "many">;
@@ -5114,7 +5346,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5114
5346
  year_period_ids: z.ZodArray<z.ZodString, "many">;
5115
5347
  }, "strip", z.ZodTypeAny, {
5116
5348
  path: {
5117
- stop_id: string;
5349
+ stop_id: number;
5118
5350
  avg_speed: number;
5119
5351
  dwell_time: number;
5120
5352
  }[];
@@ -5127,7 +5359,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5127
5359
  day_periods?: ("PPM" | "CD" | "PPT" | "N" | "M")[] | undefined;
5128
5360
  }, {
5129
5361
  path: {
5130
- stop_id: string;
5362
+ stop_id: number;
5131
5363
  avg_speed: number;
5132
5364
  dwell_time: number;
5133
5365
  }[];
@@ -5140,7 +5372,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5140
5372
  day_periods?: ("PPM" | "CD" | "PPT" | "N" | "M")[] | undefined;
5141
5373
  }>]>, "many">, ({
5142
5374
  path: {
5143
- stop_id: string;
5375
+ stop_id: number;
5144
5376
  avg_speed: number;
5145
5377
  dwell_time: number;
5146
5378
  }[];
@@ -5150,7 +5382,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5150
5382
  vehicle_type?: string | undefined;
5151
5383
  } | {
5152
5384
  path: {
5153
- stop_id: string;
5385
+ stop_id: number;
5154
5386
  avg_speed: number;
5155
5387
  dwell_time: number;
5156
5388
  }[];
@@ -5163,7 +5395,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5163
5395
  day_periods?: ("PPM" | "CD" | "PPT" | "N" | "M")[] | undefined;
5164
5396
  })[], ({
5165
5397
  path: {
5166
- stop_id: string;
5398
+ stop_id: number;
5167
5399
  avg_speed: number;
5168
5400
  dwell_time: number;
5169
5401
  }[];
@@ -5173,7 +5405,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5173
5405
  vehicle_type?: string | undefined;
5174
5406
  } | {
5175
5407
  path: {
5176
- stop_id: string;
5408
+ stop_id: number;
5177
5409
  avg_speed: number;
5178
5410
  dwell_time: number;
5179
5411
  }[];
@@ -5260,14 +5492,14 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5260
5492
  code?: string | undefined;
5261
5493
  path?: {
5262
5494
  _id: string;
5263
- stop_id: string;
5495
+ stop_id: number;
5264
5496
  timepoint: boolean;
5265
5497
  allow_drop_off: boolean;
5266
5498
  allow_pickup: boolean;
5267
5499
  distance_delta: number | null;
5268
5500
  zones?: string[] | undefined;
5269
5501
  stop?: {
5270
- _id: string;
5502
+ _id: number;
5271
5503
  created_at: number & {
5272
5504
  __brand: "UnixTimestamp";
5273
5505
  };
@@ -5337,11 +5569,19 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5337
5569
  parish_id: string | null;
5338
5570
  shelter_code: string | null;
5339
5571
  shelter_maintainer: string | null;
5572
+ flags: {
5573
+ short_name: string;
5574
+ stop_id: string;
5575
+ agency_ids: string[];
5576
+ is_harmonized: boolean;
5577
+ }[];
5340
5578
  is_deleted: boolean;
5341
5579
  jurisdiction: "unknown" | "municipality" | "ip" | "other";
5342
5580
  legacy_id: string | null;
5581
+ legacy_ids: string[];
5343
5582
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
5344
5583
  new_name: string | null;
5584
+ previous_go_id: string | null;
5345
5585
  tts_name: string;
5346
5586
  district_id: string;
5347
5587
  locality_id: string | null;
@@ -5441,7 +5681,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5441
5681
  origin?: string | undefined;
5442
5682
  parameters?: ({
5443
5683
  path: {
5444
- stop_id: string;
5684
+ stop_id: number;
5445
5685
  avg_speed: number;
5446
5686
  dwell_time: number;
5447
5687
  }[];
@@ -5451,7 +5691,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5451
5691
  vehicle_type?: string | undefined;
5452
5692
  } | {
5453
5693
  path: {
5454
- stop_id: string;
5694
+ stop_id: number;
5455
5695
  avg_speed: number;
5456
5696
  dwell_time: number;
5457
5697
  }[];
@@ -5469,14 +5709,14 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5469
5709
  code?: string | undefined;
5470
5710
  path?: {
5471
5711
  _id: string;
5472
- stop_id: string;
5712
+ stop_id: number;
5473
5713
  zones?: string[] | undefined;
5474
5714
  timepoint?: boolean | undefined;
5475
5715
  allow_drop_off?: boolean | undefined;
5476
5716
  allow_pickup?: boolean | undefined;
5477
5717
  distance_delta?: number | null | undefined;
5478
5718
  stop?: {
5479
- _id: string;
5719
+ _id: number;
5480
5720
  created_at: number;
5481
5721
  updated_at: number;
5482
5722
  name: string;
@@ -5533,11 +5773,19 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5533
5773
  parish_id?: string | null | undefined;
5534
5774
  shelter_code?: string | null | undefined;
5535
5775
  shelter_maintainer?: string | null | undefined;
5776
+ flags?: {
5777
+ short_name: string;
5778
+ stop_id: string;
5779
+ agency_ids?: string[] | undefined;
5780
+ is_harmonized?: boolean | undefined;
5781
+ }[] | undefined;
5536
5782
  is_deleted?: boolean | undefined;
5537
5783
  jurisdiction?: "unknown" | "municipality" | "ip" | "other" | undefined;
5538
5784
  legacy_id?: string | null | undefined;
5785
+ legacy_ids?: string[] | undefined;
5539
5786
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
5540
5787
  new_name?: string | null | undefined;
5788
+ previous_go_id?: string | null | undefined;
5541
5789
  locality_id?: string | null | undefined;
5542
5790
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
5543
5791
  electricity_status?: "unknown" | "available" | "unavailable" | undefined;
@@ -5622,7 +5870,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5622
5870
  origin?: string | undefined;
5623
5871
  parameters?: ({
5624
5872
  path: {
5625
- stop_id: string;
5873
+ stop_id: number;
5626
5874
  avg_speed: number;
5627
5875
  dwell_time: number;
5628
5876
  }[];
@@ -5632,7 +5880,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
5632
5880
  vehicle_type?: string | undefined;
5633
5881
  } | {
5634
5882
  path: {
5635
- stop_id: string;
5883
+ stop_id: number;
5636
5884
  avg_speed: number;
5637
5885
  dwell_time: number;
5638
5886
  }[];