@tmlmobilidade/types 20250911.1325.18 → 20250911.1428.53
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.
- package/dist/src/_common/comment.d.ts +20 -20
- package/dist/src/_common/document.d.ts +4 -4
- package/dist/src/_common/document.js +2 -2
- package/dist/src/_common/proposed-change.d.ts +9 -9
- package/dist/src/agency.d.ts +9 -9
- package/dist/src/alert.d.ts +5 -5
- package/dist/src/auth/role.d.ts +9 -9
- package/dist/src/auth/session.d.ts +9 -9
- package/dist/src/auth/user.d.ts +9 -9
- package/dist/src/auth/verification-token.d.ts +9 -9
- package/dist/src/organization.d.ts +9 -9
- package/dist/src/plans/gtfs-validation.d.ts +9 -9
- package/dist/src/plans/plan.d.ts +9 -9
- package/dist/src/rides/ride-audit.d.ts +27 -27
- package/dist/src/rides/ride-justification.d.ts +69 -69
- package/dist/src/rides/ride.d.ts +9 -9
- package/dist/src/sams/sam.d.ts +9 -9
- package/dist/src/simplified-apex/simplified-apex-location.d.ts +6 -6
- package/dist/src/simplified-apex/simplified-apex-on-board-refund.d.ts +6 -6
- package/dist/src/simplified-apex/simplified-apex-on-board-sale.d.ts +5 -5
- package/dist/src/simplified-apex/simplified-apex-validation.d.ts +6 -6
- package/dist/src/stop.d.ts +65 -65
- package/dist/src/vehicle-event.d.ts +4 -4
- package/dist/src/zone.d.ts +9 -9
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const VehicleEventSchema: z.ZodObject<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
4
|
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
5
|
-
created_by: z.
|
|
5
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
6
6
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
7
|
-
updated_by: z.
|
|
7
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
8
8
|
} & {
|
|
9
9
|
agency_id: z.ZodString;
|
|
10
10
|
driver_id: z.ZodString;
|
|
@@ -25,11 +25,9 @@ export declare const VehicleEventSchema: z.ZodObject<{
|
|
|
25
25
|
created_at: number & {
|
|
26
26
|
__brand: "UnixTimestamp";
|
|
27
27
|
};
|
|
28
|
-
created_by: string;
|
|
29
28
|
updated_at: number & {
|
|
30
29
|
__brand: "UnixTimestamp";
|
|
31
30
|
};
|
|
32
|
-
updated_by: string;
|
|
33
31
|
agency_id: string;
|
|
34
32
|
trip_id: string;
|
|
35
33
|
pattern_id: string;
|
|
@@ -45,6 +43,8 @@ export declare const VehicleEventSchema: z.ZodObject<{
|
|
|
45
43
|
odometer: number;
|
|
46
44
|
trigger_activity: string;
|
|
47
45
|
trigger_door: string;
|
|
46
|
+
created_by?: string | undefined;
|
|
47
|
+
updated_by?: string | undefined;
|
|
48
48
|
extra_trip_id?: string | null | undefined;
|
|
49
49
|
}, {
|
|
50
50
|
_id: string;
|
package/dist/src/zone.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import { type GeoJSON } from 'geojson';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const ZoneSchema: z.ZodObject<{
|
|
4
4
|
_id: z.ZodString;
|
|
5
|
-
created_by: z.
|
|
5
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
6
6
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
7
|
-
updated_by: z.
|
|
7
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
8
8
|
} & {
|
|
9
9
|
border_color: z.ZodString;
|
|
10
10
|
border_opacity: z.ZodNumber;
|
|
@@ -19,11 +19,9 @@ export declare const ZoneSchema: z.ZodObject<{
|
|
|
19
19
|
}, "strict", z.ZodTypeAny, {
|
|
20
20
|
_id: string;
|
|
21
21
|
created_at: Date;
|
|
22
|
-
created_by: string;
|
|
23
22
|
updated_at: number & {
|
|
24
23
|
__brand: "UnixTimestamp";
|
|
25
24
|
};
|
|
26
|
-
updated_by: string;
|
|
27
25
|
code: string;
|
|
28
26
|
name: string;
|
|
29
27
|
geojson: Record<string, any>;
|
|
@@ -33,6 +31,8 @@ export declare const ZoneSchema: z.ZodObject<{
|
|
|
33
31
|
border_width: number;
|
|
34
32
|
fill_color: string;
|
|
35
33
|
fill_opacity: number;
|
|
34
|
+
created_by?: string | undefined;
|
|
35
|
+
updated_by?: string | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
_id: string;
|
|
38
38
|
created_at: Date;
|
|
@@ -51,9 +51,9 @@ export declare const ZoneSchema: z.ZodObject<{
|
|
|
51
51
|
}>;
|
|
52
52
|
export declare const CreateZoneSchema: z.ZodObject<Omit<{
|
|
53
53
|
_id: z.ZodString;
|
|
54
|
-
created_by: z.
|
|
54
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
55
55
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
56
|
-
updated_by: z.
|
|
56
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
57
57
|
} & {
|
|
58
58
|
border_color: z.ZodString;
|
|
59
59
|
border_opacity: z.ZodNumber;
|
|
@@ -66,8 +66,6 @@ export declare const CreateZoneSchema: z.ZodObject<Omit<{
|
|
|
66
66
|
is_locked: z.ZodBoolean;
|
|
67
67
|
name: z.ZodString;
|
|
68
68
|
}, "_id" | "created_at" | "updated_at">, "strict", z.ZodTypeAny, {
|
|
69
|
-
created_by: string;
|
|
70
|
-
updated_by: string;
|
|
71
69
|
code: string;
|
|
72
70
|
name: string;
|
|
73
71
|
geojson: Record<string, any>;
|
|
@@ -77,6 +75,8 @@ export declare const CreateZoneSchema: z.ZodObject<Omit<{
|
|
|
77
75
|
border_width: number;
|
|
78
76
|
fill_color: string;
|
|
79
77
|
fill_opacity: number;
|
|
78
|
+
created_by?: string | undefined;
|
|
79
|
+
updated_by?: string | undefined;
|
|
80
80
|
}, {
|
|
81
81
|
code: string;
|
|
82
82
|
name: string;
|
|
@@ -91,7 +91,7 @@ export declare const CreateZoneSchema: z.ZodObject<Omit<{
|
|
|
91
91
|
updated_by?: string | undefined;
|
|
92
92
|
}>;
|
|
93
93
|
export declare const UpdateZoneSchema: z.ZodObject<{
|
|
94
|
-
updated_by: z.ZodOptional<z.
|
|
94
|
+
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
95
95
|
code: z.ZodOptional<z.ZodString>;
|
|
96
96
|
name: z.ZodOptional<z.ZodString>;
|
|
97
97
|
geojson: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
package/package.json
CHANGED