@tmlmobilidade/interfaces 20260517.1740.22 → 20260517.2055.28
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.
|
@@ -18,6 +18,9 @@ declare class AgenciesClass extends MongoCollectionClass<Agency, CreateAgencyDto
|
|
|
18
18
|
updated_at: number & {
|
|
19
19
|
__brand: "UnixTimestamp";
|
|
20
20
|
};
|
|
21
|
+
code: string;
|
|
22
|
+
name: string;
|
|
23
|
+
alerts_map: Partial<Record<"ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "MEDICAL_EMERGENCY" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "WEATHER" | "ABUSIVE_PARKING" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "NETWORK_UPDATE" | "ROAD_ISSUE" | "TRAFFIC_JAM" | "PUBLIC_DISORDER" | "VEHICLE_ISSUE", Partial<Record<"ACCESSIBILITY_ISSUE" | "ADDITIONAL_SERVICE" | "DETOUR" | "MODIFIED_SERVICE" | "NO_SERVICE" | "REDUCED_SERVICE" | "SIGNIFICANT_DELAYS" | "STOP_MOVED" | "REALTIME_INFO_ISSUE" | "ON_BOARD_SALE_ISSUE", Partial<Record<"agency" | "lines" | "stops" | "rides", boolean>>>>>>;
|
|
21
24
|
contact_emails_pta: string[];
|
|
22
25
|
contact_emails_pto: string[];
|
|
23
26
|
fare_url: string;
|
|
@@ -25,7 +28,6 @@ declare class AgenciesClass extends MongoCollectionClass<Agency, CreateAgencyDto
|
|
|
25
28
|
price_per_km: number;
|
|
26
29
|
vkm_per_month: number[];
|
|
27
30
|
};
|
|
28
|
-
name: string;
|
|
29
31
|
operation_start_date: import("@tmlmobilidade/types").OperationalDate | null;
|
|
30
32
|
phone: string;
|
|
31
33
|
public_email: string;
|
|
@@ -45,6 +47,9 @@ declare class AgenciesClass extends MongoCollectionClass<Agency, CreateAgencyDto
|
|
|
45
47
|
updated_at: number & {
|
|
46
48
|
__brand: "UnixTimestamp";
|
|
47
49
|
};
|
|
50
|
+
code: string;
|
|
51
|
+
name: string;
|
|
52
|
+
alerts_map: Partial<Record<"ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "MEDICAL_EMERGENCY" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "WEATHER" | "ABUSIVE_PARKING" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "NETWORK_UPDATE" | "ROAD_ISSUE" | "TRAFFIC_JAM" | "PUBLIC_DISORDER" | "VEHICLE_ISSUE", Partial<Record<"ACCESSIBILITY_ISSUE" | "ADDITIONAL_SERVICE" | "DETOUR" | "MODIFIED_SERVICE" | "NO_SERVICE" | "REDUCED_SERVICE" | "SIGNIFICANT_DELAYS" | "STOP_MOVED" | "REALTIME_INFO_ISSUE" | "ON_BOARD_SALE_ISSUE", Partial<Record<"agency" | "lines" | "stops" | "rides", boolean>>>>>>;
|
|
48
53
|
contact_emails_pta: string[];
|
|
49
54
|
contact_emails_pto: string[];
|
|
50
55
|
fare_url: string;
|
|
@@ -52,7 +57,6 @@ declare class AgenciesClass extends MongoCollectionClass<Agency, CreateAgencyDto
|
|
|
52
57
|
price_per_km: number;
|
|
53
58
|
vkm_per_month: number[];
|
|
54
59
|
};
|
|
55
|
-
name: string;
|
|
56
60
|
operation_start_date: import("@tmlmobilidade/types").OperationalDate | null;
|
|
57
61
|
phone: string;
|
|
58
62
|
public_email: string;
|
|
@@ -52,7 +52,7 @@ declare class EventsClass extends MongoCollectionClass<Event, CreateEventDto, Up
|
|
|
52
52
|
};
|
|
53
53
|
dates: import("@tmlmobilidade/types").OperationalDate[];
|
|
54
54
|
kind: "event_replacement";
|
|
55
|
-
weekdays: (1 | 2 |
|
|
55
|
+
weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
|
|
56
56
|
year_period_ids: string[];
|
|
57
57
|
lines_mode: "exclude" | "include" | "all";
|
|
58
58
|
_id?: string | undefined;
|
|
@@ -34,8 +34,8 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
34
34
|
year_period_ids: string[];
|
|
35
35
|
name?: string | undefined;
|
|
36
36
|
event_id?: string | undefined;
|
|
37
|
-
months?: (1 | 2 |
|
|
38
|
-
weekdays?: (1 | 2 |
|
|
37
|
+
months?: (1 | 2 | 3 | 5 | 4 | 6 | 12 | 11 | 10 | 8 | 7 | 9)[] | undefined;
|
|
38
|
+
weekdays?: (1 | 2 | 3 | 5 | 4 | 6 | 7)[] | undefined;
|
|
39
39
|
} | {
|
|
40
40
|
event: {
|
|
41
41
|
title: string;
|
|
@@ -59,7 +59,7 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
59
59
|
};
|
|
60
60
|
dates: import("@tmlmobilidade/types").OperationalDate[];
|
|
61
61
|
kind: "event_replacement";
|
|
62
|
-
weekdays: (1 | 2 |
|
|
62
|
+
weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
|
|
63
63
|
year_period_ids: string[];
|
|
64
64
|
lines_mode: "exclude" | "include" | "all";
|
|
65
65
|
_id?: string | undefined;
|
|
@@ -140,9 +140,9 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
140
140
|
__brand: "UnixTimestamp";
|
|
141
141
|
};
|
|
142
142
|
name: string;
|
|
143
|
-
short_name: string;
|
|
144
143
|
latitude: number;
|
|
145
144
|
longitude: number;
|
|
145
|
+
short_name: string;
|
|
146
146
|
associated_patterns: {
|
|
147
147
|
_id: string;
|
|
148
148
|
code: string;
|
|
@@ -272,7 +272,7 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
272
272
|
dwell_time: number;
|
|
273
273
|
}[];
|
|
274
274
|
kind: "override";
|
|
275
|
-
weekdays: (1 | 2 |
|
|
275
|
+
weekdays: (1 | 2 | 3 | 5 | 4 | 6 | 7)[];
|
|
276
276
|
year_period_ids: string[];
|
|
277
277
|
_id?: string | undefined;
|
|
278
278
|
name?: string | undefined;
|
|
@@ -48,9 +48,9 @@ declare class StopsClass extends MongoCollectionClass<Stop, CreateStopDto, Updat
|
|
|
48
48
|
__brand: "UnixTimestamp";
|
|
49
49
|
};
|
|
50
50
|
name: string;
|
|
51
|
-
short_name: string;
|
|
52
51
|
latitude: number;
|
|
53
52
|
longitude: number;
|
|
53
|
+
short_name: string;
|
|
54
54
|
associated_patterns: {
|
|
55
55
|
_id: string;
|
|
56
56
|
code: string;
|
|
@@ -167,9 +167,9 @@ declare class StopsClass extends MongoCollectionClass<Stop, CreateStopDto, Updat
|
|
|
167
167
|
__brand: "UnixTimestamp";
|
|
168
168
|
};
|
|
169
169
|
name: string;
|
|
170
|
-
short_name: string;
|
|
171
170
|
latitude: number;
|
|
172
171
|
longitude: number;
|
|
172
|
+
short_name: string;
|
|
173
173
|
associated_patterns: {
|
|
174
174
|
_id: string;
|
|
175
175
|
code: string;
|