@tmlmobilidade/types 20250910.1344.34 → 20250910.1538.31
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 +232 -9
- package/dist/src/_common/comment.js +36 -4
- package/dist/src/_common/document.d.ts +4 -4
- package/dist/src/_common/document.js +3 -3
- package/dist/src/_common/proposed-change.d.ts +13 -13
- package/dist/src/_common/unix-timestamp.d.ts +1 -1
- package/dist/src/_common/unix-timestamp.js +1 -2
- package/dist/src/agency.d.ts +6 -6
- package/dist/src/alert.d.ts +37 -53
- package/dist/src/auth/role.d.ts +6 -6
- package/dist/src/auth/session.d.ts +6 -6
- package/dist/src/auth/user.d.ts +6 -6
- package/dist/src/auth/verification-token.d.ts +6 -6
- package/dist/src/file.d.ts +13 -13
- package/dist/src/organization.d.ts +12 -12
- package/dist/src/plans/gtfs-validation.d.ts +6 -6
- package/dist/src/plans/plan.d.ts +6 -6
- package/dist/src/rides/ride-audit.d.ts +1185 -76
- package/dist/src/rides/ride-audit.js +4 -2
- package/dist/src/rides/ride-justification.d.ts +730 -263
- package/dist/src/rides/ride-justification.js +21 -29
- package/dist/src/rides/ride.d.ts +6 -6
- package/dist/src/sams/sam.d.ts +6 -6
- package/dist/src/simplified-apex/simplified-apex-location.d.ts +8 -12
- package/dist/src/simplified-apex/simplified-apex-on-board-refund.d.ts +8 -12
- package/dist/src/simplified-apex/simplified-apex-on-board-sale.d.ts +8 -12
- package/dist/src/simplified-apex/simplified-apex-validation.d.ts +12 -16
- package/dist/src/stop.d.ts +605 -125
- 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 { type UnixTimestamp } from './_common/unix-timestamp.js';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const VehicleEventSchema: z.ZodObject<{
|
|
4
4
|
_id: z.ZodString;
|
|
5
|
-
created_at: z.
|
|
5
|
+
created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
|
|
6
6
|
created_by: z.ZodDefault<z.ZodString>;
|
|
7
|
-
updated_at: z.
|
|
7
|
+
updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
|
|
8
8
|
updated_by: z.ZodDefault<z.ZodString>;
|
|
9
9
|
} & {
|
|
10
10
|
agency_id: z.ZodString;
|
|
@@ -25,11 +25,11 @@ export declare const VehicleEventSchema: z.ZodObject<{
|
|
|
25
25
|
_id: string;
|
|
26
26
|
created_at: number & {
|
|
27
27
|
__brand: "UnixTimestamp";
|
|
28
|
-
}
|
|
28
|
+
};
|
|
29
29
|
created_by: string;
|
|
30
30
|
updated_at: number & {
|
|
31
31
|
__brand: "UnixTimestamp";
|
|
32
|
-
}
|
|
32
|
+
};
|
|
33
33
|
updated_by: string;
|
|
34
34
|
agency_id: string;
|
|
35
35
|
pattern_id: string;
|
package/dist/src/zone.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
export declare const ZoneSchema: z.ZodObject<{
|
|
4
4
|
_id: z.ZodString;
|
|
5
5
|
created_by: z.ZodDefault<z.ZodString>;
|
|
6
|
-
updated_at: z.
|
|
6
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
7
7
|
updated_by: z.ZodDefault<z.ZodString>;
|
|
8
8
|
} & {
|
|
9
9
|
border_color: z.ZodString;
|
|
@@ -19,12 +19,12 @@ export declare const ZoneSchema: z.ZodObject<{
|
|
|
19
19
|
}, "strict", z.ZodTypeAny, {
|
|
20
20
|
_id: string;
|
|
21
21
|
created_at: Date;
|
|
22
|
-
code: string;
|
|
23
22
|
created_by: string;
|
|
24
23
|
updated_at: number & {
|
|
25
24
|
__brand: "UnixTimestamp";
|
|
26
|
-
}
|
|
25
|
+
};
|
|
27
26
|
updated_by: string;
|
|
27
|
+
code: string;
|
|
28
28
|
name: string;
|
|
29
29
|
geojson: Record<string, any>;
|
|
30
30
|
is_locked: boolean;
|
|
@@ -36,8 +36,8 @@ export declare const ZoneSchema: z.ZodObject<{
|
|
|
36
36
|
}, {
|
|
37
37
|
_id: string;
|
|
38
38
|
created_at: Date;
|
|
39
|
-
code: string;
|
|
40
39
|
updated_at: number;
|
|
40
|
+
code: string;
|
|
41
41
|
name: string;
|
|
42
42
|
geojson: Record<string, any>;
|
|
43
43
|
is_locked: boolean;
|
|
@@ -52,7 +52,7 @@ export declare const ZoneSchema: z.ZodObject<{
|
|
|
52
52
|
export declare const CreateZoneSchema: z.ZodObject<Omit<{
|
|
53
53
|
_id: z.ZodString;
|
|
54
54
|
created_by: z.ZodDefault<z.ZodString>;
|
|
55
|
-
updated_at: z.
|
|
55
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
56
56
|
updated_by: z.ZodDefault<z.ZodString>;
|
|
57
57
|
} & {
|
|
58
58
|
border_color: z.ZodString;
|
|
@@ -66,9 +66,9 @@ 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
|
-
code: string;
|
|
70
69
|
created_by: string;
|
|
71
70
|
updated_by: string;
|
|
71
|
+
code: string;
|
|
72
72
|
name: string;
|
|
73
73
|
geojson: Record<string, any>;
|
|
74
74
|
is_locked: boolean;
|
|
@@ -91,9 +91,9 @@ export declare const CreateZoneSchema: z.ZodObject<Omit<{
|
|
|
91
91
|
updated_by?: string | undefined;
|
|
92
92
|
}>;
|
|
93
93
|
export declare const UpdateZoneSchema: z.ZodObject<{
|
|
94
|
-
code: z.ZodOptional<z.ZodString>;
|
|
95
94
|
created_by: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
96
95
|
updated_by: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
96
|
+
code: z.ZodOptional<z.ZodString>;
|
|
97
97
|
name: z.ZodOptional<z.ZodString>;
|
|
98
98
|
geojson: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
99
99
|
is_locked: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -103,9 +103,9 @@ export declare const UpdateZoneSchema: z.ZodObject<{
|
|
|
103
103
|
fill_color: z.ZodOptional<z.ZodString>;
|
|
104
104
|
fill_opacity: z.ZodOptional<z.ZodNumber>;
|
|
105
105
|
}, "strict", z.ZodTypeAny, {
|
|
106
|
-
code?: string | undefined;
|
|
107
106
|
created_by?: string | undefined;
|
|
108
107
|
updated_by?: string | undefined;
|
|
108
|
+
code?: string | undefined;
|
|
109
109
|
name?: string | undefined;
|
|
110
110
|
geojson?: Record<string, any> | undefined;
|
|
111
111
|
is_locked?: boolean | undefined;
|
|
@@ -115,9 +115,9 @@ export declare const UpdateZoneSchema: z.ZodObject<{
|
|
|
115
115
|
fill_color?: string | undefined;
|
|
116
116
|
fill_opacity?: number | undefined;
|
|
117
117
|
}, {
|
|
118
|
-
code?: string | undefined;
|
|
119
118
|
created_by?: string | undefined;
|
|
120
119
|
updated_by?: string | undefined;
|
|
120
|
+
code?: string | undefined;
|
|
121
121
|
name?: string | undefined;
|
|
122
122
|
geojson?: Record<string, any> | undefined;
|
|
123
123
|
is_locked?: boolean | undefined;
|
package/package.json
CHANGED