@tmlmobilidade/interfaces 20260713.2140.32 → 20260714.1322.11
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.
|
@@ -21,6 +21,9 @@ declare class AgenciesClass extends MongoCollectionClass<Agency, CreateAgencyDto
|
|
|
21
21
|
code: string;
|
|
22
22
|
name: string;
|
|
23
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>>>>>>;
|
|
24
|
+
apex: {
|
|
25
|
+
contact_emails: string[];
|
|
26
|
+
};
|
|
24
27
|
contact_emails_pta: string[];
|
|
25
28
|
contact_emails_pto: string[];
|
|
26
29
|
fare_url: string;
|
|
@@ -30,6 +33,7 @@ declare class AgenciesClass extends MongoCollectionClass<Agency, CreateAgencyDto
|
|
|
30
33
|
};
|
|
31
34
|
operation_start_date: import("@tmlmobilidade/types").OperationalDate | null;
|
|
32
35
|
phone: string;
|
|
36
|
+
pta_name: string;
|
|
33
37
|
public_email: string;
|
|
34
38
|
public_name: string;
|
|
35
39
|
short_name: string;
|
|
@@ -51,6 +55,9 @@ declare class AgenciesClass extends MongoCollectionClass<Agency, CreateAgencyDto
|
|
|
51
55
|
code: string;
|
|
52
56
|
name: string;
|
|
53
57
|
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>>>>>>;
|
|
58
|
+
apex: {
|
|
59
|
+
contact_emails: string[];
|
|
60
|
+
};
|
|
54
61
|
contact_emails_pta: string[];
|
|
55
62
|
contact_emails_pto: string[];
|
|
56
63
|
fare_url: string;
|
|
@@ -60,6 +67,7 @@ declare class AgenciesClass extends MongoCollectionClass<Agency, CreateAgencyDto
|
|
|
60
67
|
};
|
|
61
68
|
operation_start_date: import("@tmlmobilidade/types").OperationalDate | null;
|
|
62
69
|
phone: string;
|
|
70
|
+
pta_name: string;
|
|
63
71
|
public_email: string;
|
|
64
72
|
public_name: string;
|
|
65
73
|
short_name: string;
|
|
@@ -51,7 +51,7 @@ declare class RolesClass extends MongoCollectionClass<Role, CreateRoleDto, Updat
|
|
|
51
51
|
action: "read";
|
|
52
52
|
} | {
|
|
53
53
|
scope: "plans";
|
|
54
|
-
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
|
|
54
|
+
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file" | "send_apex_notification";
|
|
55
55
|
resources: {
|
|
56
56
|
agency_ids: string[];
|
|
57
57
|
};
|
|
@@ -181,7 +181,7 @@ declare class RolesClass extends MongoCollectionClass<Role, CreateRoleDto, Updat
|
|
|
181
181
|
action: "read";
|
|
182
182
|
} | {
|
|
183
183
|
scope: "plans";
|
|
184
|
-
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
|
|
184
|
+
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file" | "send_apex_notification";
|
|
185
185
|
resources: {
|
|
186
186
|
agency_ids: string[];
|
|
187
187
|
};
|
|
@@ -307,7 +307,7 @@ declare class RolesClass extends MongoCollectionClass<Role, CreateRoleDto, Updat
|
|
|
307
307
|
action: "read";
|
|
308
308
|
} | {
|
|
309
309
|
scope: "plans";
|
|
310
|
-
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
|
|
310
|
+
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file" | "send_apex_notification";
|
|
311
311
|
resources: {
|
|
312
312
|
agency_ids: string[];
|
|
313
313
|
};
|
|
@@ -75,7 +75,7 @@ declare class UsersClass extends MongoCollectionClass<User_UNSAFE, CreateUserDto
|
|
|
75
75
|
action: "read";
|
|
76
76
|
} | {
|
|
77
77
|
scope: "plans";
|
|
78
|
-
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
|
|
78
|
+
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file" | "send_apex_notification";
|
|
79
79
|
resources: {
|
|
80
80
|
agency_ids: string[];
|
|
81
81
|
};
|
|
@@ -164,7 +164,7 @@ declare class UsersClass extends MongoCollectionClass<User_UNSAFE, CreateUserDto
|
|
|
164
164
|
last_name: string;
|
|
165
165
|
organization_id: string;
|
|
166
166
|
phone: string | null;
|
|
167
|
-
preferences: Record<string, Record<string, string | number | boolean |
|
|
167
|
+
preferences: Record<string, Record<string, string | number | boolean | string[] | number[]>> | null;
|
|
168
168
|
role_ids: string[];
|
|
169
169
|
seen_last_at: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
170
170
|
_id: string;
|
|
@@ -212,7 +212,7 @@ declare class UsersClass extends MongoCollectionClass<User_UNSAFE, CreateUserDto
|
|
|
212
212
|
action: "read";
|
|
213
213
|
} | {
|
|
214
214
|
scope: "plans";
|
|
215
|
-
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
|
|
215
|
+
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file" | "send_apex_notification";
|
|
216
216
|
resources: {
|
|
217
217
|
agency_ids: string[];
|
|
218
218
|
};
|
|
@@ -301,7 +301,7 @@ declare class UsersClass extends MongoCollectionClass<User_UNSAFE, CreateUserDto
|
|
|
301
301
|
last_name: string;
|
|
302
302
|
organization_id: string;
|
|
303
303
|
phone: string | null;
|
|
304
|
-
preferences: Record<string, Record<string, string | number | boolean |
|
|
304
|
+
preferences: Record<string, Record<string, string | number | boolean | string[] | number[]>> | null;
|
|
305
305
|
role_ids: string[];
|
|
306
306
|
seen_last_at: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
307
307
|
_id: string;
|
|
@@ -353,7 +353,7 @@ declare class UsersClass extends MongoCollectionClass<User_UNSAFE, CreateUserDto
|
|
|
353
353
|
action: "read";
|
|
354
354
|
} | {
|
|
355
355
|
scope: "plans";
|
|
356
|
-
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
|
|
356
|
+
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file" | "send_apex_notification";
|
|
357
357
|
resources: {
|
|
358
358
|
agency_ids: string[];
|
|
359
359
|
};
|
|
@@ -442,7 +442,7 @@ declare class UsersClass extends MongoCollectionClass<User_UNSAFE, CreateUserDto
|
|
|
442
442
|
last_name: string;
|
|
443
443
|
organization_id: string;
|
|
444
444
|
phone: string | null;
|
|
445
|
-
preferences: Record<string, Record<string, string | number | boolean |
|
|
445
|
+
preferences: Record<string, Record<string, string | number | boolean | string[] | number[]>> | null;
|
|
446
446
|
role_ids: string[];
|
|
447
447
|
seen_last_at: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
448
448
|
_id: string;
|
|
@@ -490,7 +490,7 @@ declare class UsersClass extends MongoCollectionClass<User_UNSAFE, CreateUserDto
|
|
|
490
490
|
action: "read";
|
|
491
491
|
} | {
|
|
492
492
|
scope: "plans";
|
|
493
|
-
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file";
|
|
493
|
+
action: "create" | "delete" | "read" | "lock" | "update" | "read_controller" | "read_pcgi_legacy" | "update_controller" | "update_feed_info_dates" | "update_gtfs_plan" | "update_pcgi_legacy" | "read_apex_file" | "update_apex_file" | "delete_apex_file" | "send_apex_notification";
|
|
494
494
|
resources: {
|
|
495
495
|
agency_ids: string[];
|
|
496
496
|
};
|
|
@@ -579,7 +579,7 @@ declare class UsersClass extends MongoCollectionClass<User_UNSAFE, CreateUserDto
|
|
|
579
579
|
last_name: string;
|
|
580
580
|
organization_id: string;
|
|
581
581
|
phone: string | null;
|
|
582
|
-
preferences: Record<string, Record<string, string | number | boolean |
|
|
582
|
+
preferences: Record<string, Record<string, string | number | boolean | string[] | number[]>> | null;
|
|
583
583
|
role_ids: string[];
|
|
584
584
|
seen_last_at: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
585
585
|
_id: string;
|