@tmlmobilidade/types 20250911.1325.18 → 20250911.1425.9
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 SimplifiedApexLocationSchema: 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
|
apex_version: z.ZodString;
|
|
@@ -22,11 +22,9 @@ export declare const SimplifiedApexLocationSchema: z.ZodObject<{
|
|
|
22
22
|
created_at: number & {
|
|
23
23
|
__brand: "UnixTimestamp";
|
|
24
24
|
};
|
|
25
|
-
created_by: string;
|
|
26
25
|
updated_at: number & {
|
|
27
26
|
__brand: "UnixTimestamp";
|
|
28
27
|
};
|
|
29
|
-
updated_by: string;
|
|
30
28
|
agency_id: string;
|
|
31
29
|
line_id: string;
|
|
32
30
|
trip_id: string;
|
|
@@ -40,6 +38,8 @@ export declare const SimplifiedApexLocationSchema: z.ZodObject<{
|
|
|
40
38
|
__brand: "UnixTimestamp";
|
|
41
39
|
};
|
|
42
40
|
stop_id: string;
|
|
41
|
+
created_by?: string | undefined;
|
|
42
|
+
updated_by?: string | undefined;
|
|
43
43
|
}, {
|
|
44
44
|
_id: string;
|
|
45
45
|
created_at: number;
|
|
@@ -61,9 +61,9 @@ export declare const SimplifiedApexLocationSchema: z.ZodObject<{
|
|
|
61
61
|
export declare const UpdateSimplifiedApexLocationSchema: z.ZodObject<{
|
|
62
62
|
_id: z.ZodOptional<z.ZodString>;
|
|
63
63
|
created_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>;
|
|
64
|
-
created_by: z.ZodOptional<z.
|
|
64
|
+
created_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
65
65
|
updated_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>;
|
|
66
|
-
updated_by: z.ZodOptional<z.
|
|
66
|
+
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
67
67
|
agency_id: z.ZodOptional<z.ZodString>;
|
|
68
68
|
apex_version: z.ZodOptional<z.ZodString>;
|
|
69
69
|
device_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const SimplifiedApexOnBoardRefundSchema: 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
|
apex_version: z.ZodString;
|
|
@@ -32,11 +32,9 @@ export declare const SimplifiedApexOnBoardRefundSchema: z.ZodObject<{
|
|
|
32
32
|
created_at: number & {
|
|
33
33
|
__brand: "UnixTimestamp";
|
|
34
34
|
};
|
|
35
|
-
created_by: string;
|
|
36
35
|
updated_at: number & {
|
|
37
36
|
__brand: "UnixTimestamp";
|
|
38
37
|
};
|
|
39
|
-
updated_by: string;
|
|
40
38
|
agency_id: string;
|
|
41
39
|
line_id: string | null;
|
|
42
40
|
validation_id: string | null;
|
|
@@ -60,6 +58,8 @@ export declare const SimplifiedApexOnBoardRefundSchema: z.ZodObject<{
|
|
|
60
58
|
price: number;
|
|
61
59
|
product_long_id: string;
|
|
62
60
|
product_quantity: number;
|
|
61
|
+
created_by?: string | undefined;
|
|
62
|
+
updated_by?: string | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
_id: string;
|
|
65
65
|
created_at: number;
|
|
@@ -91,9 +91,9 @@ export declare const SimplifiedApexOnBoardRefundSchema: z.ZodObject<{
|
|
|
91
91
|
export declare const UpdateSimplifiedApexOnBoardRefundSchema: z.ZodObject<{
|
|
92
92
|
_id: z.ZodOptional<z.ZodString>;
|
|
93
93
|
created_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>;
|
|
94
|
-
created_by: z.ZodOptional<z.
|
|
94
|
+
created_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
95
95
|
updated_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>;
|
|
96
|
-
updated_by: z.ZodOptional<z.
|
|
96
|
+
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
97
97
|
agency_id: z.ZodOptional<z.ZodString>;
|
|
98
98
|
apex_version: z.ZodOptional<z.ZodString>;
|
|
99
99
|
block_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const SimplifiedApexOnBoardSaleSchema: 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
|
apex_version: z.ZodString;
|
|
@@ -33,11 +33,9 @@ export declare const SimplifiedApexOnBoardSaleSchema: z.ZodObject<{
|
|
|
33
33
|
created_at: number & {
|
|
34
34
|
__brand: "UnixTimestamp";
|
|
35
35
|
};
|
|
36
|
-
created_by: string;
|
|
37
36
|
updated_at: number & {
|
|
38
37
|
__brand: "UnixTimestamp";
|
|
39
38
|
};
|
|
40
|
-
updated_by: string;
|
|
41
39
|
agency_id: string;
|
|
42
40
|
line_id: string | null;
|
|
43
41
|
validation_id: string | null;
|
|
@@ -62,6 +60,8 @@ export declare const SimplifiedApexOnBoardSaleSchema: z.ZodObject<{
|
|
|
62
60
|
product_quantity: number;
|
|
63
61
|
is_passenger: boolean;
|
|
64
62
|
on_board_refund_id: string | null;
|
|
63
|
+
created_by?: string | undefined;
|
|
64
|
+
updated_by?: string | undefined;
|
|
65
65
|
}, {
|
|
66
66
|
_id: string;
|
|
67
67
|
created_at: number;
|
|
@@ -95,7 +95,7 @@ export declare const UpdateSimplifiedApexOnBoardSaleSchema: z.ZodObject<{
|
|
|
95
95
|
_id: z.ZodOptional<z.ZodString>;
|
|
96
96
|
created_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>;
|
|
97
97
|
updated_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>;
|
|
98
|
-
updated_by: z.ZodOptional<z.
|
|
98
|
+
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
99
99
|
agency_id: z.ZodOptional<z.ZodString>;
|
|
100
100
|
line_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
101
|
validation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -146,9 +146,9 @@ export declare const ApexValidationStatusSchema: z.ZodNativeEnum<{
|
|
|
146
146
|
export declare const SimplifiedApexValidationSchema: z.ZodObject<{
|
|
147
147
|
_id: z.ZodString;
|
|
148
148
|
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
149
|
-
created_by: z.
|
|
149
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
150
150
|
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
151
|
-
updated_by: z.
|
|
151
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
152
152
|
} & {
|
|
153
153
|
agency_id: z.ZodString;
|
|
154
154
|
apex_version: z.ZodString;
|
|
@@ -246,11 +246,9 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<{
|
|
|
246
246
|
created_at: number & {
|
|
247
247
|
__brand: "UnixTimestamp";
|
|
248
248
|
};
|
|
249
|
-
created_by: string;
|
|
250
249
|
updated_at: number & {
|
|
251
250
|
__brand: "UnixTimestamp";
|
|
252
251
|
};
|
|
253
|
-
updated_by: string;
|
|
254
252
|
agency_id: string;
|
|
255
253
|
line_id: string;
|
|
256
254
|
trip_id: string;
|
|
@@ -273,6 +271,8 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<{
|
|
|
273
271
|
product_id: string;
|
|
274
272
|
units_qty: number | null;
|
|
275
273
|
validation_status: 0 | 1 | 2 | 3 | 4 | 5 | 12 | 11 | 8 | 10 | 6 | 7 | 9 | 13;
|
|
274
|
+
created_by?: string | undefined;
|
|
275
|
+
updated_by?: string | undefined;
|
|
276
276
|
}, {
|
|
277
277
|
_id: string;
|
|
278
278
|
created_at: number;
|
|
@@ -303,9 +303,9 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<{
|
|
|
303
303
|
export declare const UpdateSimplifiedApexValidationSchema: z.ZodObject<{
|
|
304
304
|
_id: z.ZodOptional<z.ZodString>;
|
|
305
305
|
created_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>;
|
|
306
|
-
created_by: z.ZodOptional<z.
|
|
306
|
+
created_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
307
307
|
updated_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>;
|
|
308
|
-
updated_by: z.ZodOptional<z.
|
|
308
|
+
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
309
309
|
agency_id: z.ZodOptional<z.ZodString>;
|
|
310
310
|
apex_version: z.ZodOptional<z.ZodString>;
|
|
311
311
|
card_serial_number: z.ZodOptional<z.ZodString>;
|
package/dist/src/stop.d.ts
CHANGED
|
@@ -18,9 +18,9 @@ export type Facilities = z.infer<typeof facilitiesSchema>;
|
|
|
18
18
|
export type Equipment = z.infer<typeof equipmentSchema>;
|
|
19
19
|
export declare const StopSchema: z.ZodObject<{
|
|
20
20
|
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
21
|
-
created_by: z.
|
|
21
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
22
22
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
23
|
-
updated_by: z.
|
|
23
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
24
24
|
} & {
|
|
25
25
|
_id: z.ZodString;
|
|
26
26
|
is_archived: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -67,9 +67,9 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
67
67
|
comments: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
68
68
|
_id: z.ZodString;
|
|
69
69
|
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
70
|
-
created_by: z.
|
|
70
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
71
71
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
72
|
-
updated_by: z.
|
|
72
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
73
73
|
} & {
|
|
74
74
|
message: z.ZodString;
|
|
75
75
|
type: z.ZodLiteral<"note">;
|
|
@@ -78,13 +78,13 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
78
78
|
created_at: number & {
|
|
79
79
|
__brand: "UnixTimestamp";
|
|
80
80
|
};
|
|
81
|
-
created_by: string;
|
|
82
81
|
updated_at: number & {
|
|
83
82
|
__brand: "UnixTimestamp";
|
|
84
83
|
};
|
|
85
|
-
updated_by: string;
|
|
86
84
|
message: string;
|
|
87
85
|
type: "note";
|
|
86
|
+
created_by?: string | undefined;
|
|
87
|
+
updated_by?: string | undefined;
|
|
88
88
|
}, {
|
|
89
89
|
_id: string;
|
|
90
90
|
created_at: number;
|
|
@@ -125,9 +125,9 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
125
125
|
}>, z.ZodObject<{
|
|
126
126
|
_id: z.ZodString;
|
|
127
127
|
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
128
|
-
created_by: z.
|
|
128
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
129
129
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
130
|
-
updated_by: z.
|
|
130
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
131
131
|
} & {
|
|
132
132
|
curr_status: z.ZodString;
|
|
133
133
|
prev_status: z.ZodString;
|
|
@@ -137,14 +137,14 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
137
137
|
created_at: number & {
|
|
138
138
|
__brand: "UnixTimestamp";
|
|
139
139
|
};
|
|
140
|
-
created_by: string;
|
|
141
140
|
updated_at: number & {
|
|
142
141
|
__brand: "UnixTimestamp";
|
|
143
142
|
};
|
|
144
|
-
updated_by: string;
|
|
145
143
|
type: "statusChanged";
|
|
146
144
|
curr_status: string;
|
|
147
145
|
prev_status: string;
|
|
146
|
+
created_by?: string | undefined;
|
|
147
|
+
updated_by?: string | undefined;
|
|
148
148
|
}, {
|
|
149
149
|
_id: string;
|
|
150
150
|
created_at: number;
|
|
@@ -159,13 +159,13 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
159
159
|
created_at: number & {
|
|
160
160
|
__brand: "UnixTimestamp";
|
|
161
161
|
};
|
|
162
|
-
created_by: string;
|
|
163
162
|
updated_at: number & {
|
|
164
163
|
__brand: "UnixTimestamp";
|
|
165
164
|
};
|
|
166
|
-
updated_by: string;
|
|
167
165
|
message: string;
|
|
168
166
|
type: "note";
|
|
167
|
+
created_by?: string | undefined;
|
|
168
|
+
updated_by?: string | undefined;
|
|
169
169
|
} | {
|
|
170
170
|
_id: string;
|
|
171
171
|
created_at: number & {
|
|
@@ -183,14 +183,14 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
183
183
|
created_at: number & {
|
|
184
184
|
__brand: "UnixTimestamp";
|
|
185
185
|
};
|
|
186
|
-
created_by: string;
|
|
187
186
|
updated_at: number & {
|
|
188
187
|
__brand: "UnixTimestamp";
|
|
189
188
|
};
|
|
190
|
-
updated_by: string;
|
|
191
189
|
type: "statusChanged";
|
|
192
190
|
curr_status: string;
|
|
193
191
|
prev_status: string;
|
|
192
|
+
created_by?: string | undefined;
|
|
193
|
+
updated_by?: string | undefined;
|
|
194
194
|
}, {
|
|
195
195
|
_id: string;
|
|
196
196
|
created_at: number;
|
|
@@ -223,11 +223,9 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
223
223
|
created_at: number & {
|
|
224
224
|
__brand: "UnixTimestamp";
|
|
225
225
|
};
|
|
226
|
-
created_by: string;
|
|
227
226
|
updated_at: number & {
|
|
228
227
|
__brand: "UnixTimestamp";
|
|
229
228
|
};
|
|
230
|
-
updated_by: string;
|
|
231
229
|
name: string;
|
|
232
230
|
has_bench: "unknown" | "yes" | "no";
|
|
233
231
|
has_network_map: "unknown" | "yes" | "no";
|
|
@@ -241,13 +239,13 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
241
239
|
created_at: number & {
|
|
242
240
|
__brand: "UnixTimestamp";
|
|
243
241
|
};
|
|
244
|
-
created_by: string;
|
|
245
242
|
updated_at: number & {
|
|
246
243
|
__brand: "UnixTimestamp";
|
|
247
244
|
};
|
|
248
|
-
updated_by: string;
|
|
249
245
|
message: string;
|
|
250
246
|
type: "note";
|
|
247
|
+
created_by?: string | undefined;
|
|
248
|
+
updated_by?: string | undefined;
|
|
251
249
|
} | {
|
|
252
250
|
_id: string;
|
|
253
251
|
created_at: number & {
|
|
@@ -265,14 +263,14 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
265
263
|
created_at: number & {
|
|
266
264
|
__brand: "UnixTimestamp";
|
|
267
265
|
};
|
|
268
|
-
created_by: string;
|
|
269
266
|
updated_at: number & {
|
|
270
267
|
__brand: "UnixTimestamp";
|
|
271
268
|
};
|
|
272
|
-
updated_by: string;
|
|
273
269
|
type: "statusChanged";
|
|
274
270
|
curr_status: string;
|
|
275
271
|
prev_status: string;
|
|
272
|
+
created_by?: string | undefined;
|
|
273
|
+
updated_by?: string | undefined;
|
|
276
274
|
})[];
|
|
277
275
|
is_archived: boolean;
|
|
278
276
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
@@ -291,6 +289,8 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
291
289
|
has_mupi: "unknown" | "yes" | "no";
|
|
292
290
|
file_ids: string[];
|
|
293
291
|
image_ids: string[];
|
|
292
|
+
created_by?: string | undefined;
|
|
293
|
+
updated_by?: string | undefined;
|
|
294
294
|
short_name?: string | null | undefined;
|
|
295
295
|
parish_id?: string | null | undefined;
|
|
296
296
|
shelter_code?: string | null | undefined;
|
|
@@ -385,9 +385,9 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
385
385
|
}>;
|
|
386
386
|
export declare const parentStationSchema: z.ZodObject<{
|
|
387
387
|
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
388
|
-
created_by: z.
|
|
388
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
389
389
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
390
|
-
updated_by: z.
|
|
390
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
391
391
|
} & {
|
|
392
392
|
_id: z.ZodString;
|
|
393
393
|
agency_id: z.ZodString;
|
|
@@ -397,13 +397,13 @@ export declare const parentStationSchema: z.ZodObject<{
|
|
|
397
397
|
created_at: number & {
|
|
398
398
|
__brand: "UnixTimestamp";
|
|
399
399
|
};
|
|
400
|
-
created_by: string;
|
|
401
400
|
updated_at: number & {
|
|
402
401
|
__brand: "UnixTimestamp";
|
|
403
402
|
};
|
|
404
|
-
updated_by: string;
|
|
405
403
|
agency_id: string;
|
|
406
404
|
stop_ids: string[];
|
|
405
|
+
created_by?: string | undefined;
|
|
406
|
+
updated_by?: string | undefined;
|
|
407
407
|
}, {
|
|
408
408
|
_id: string;
|
|
409
409
|
created_at: number;
|
|
@@ -415,9 +415,9 @@ export declare const parentStationSchema: z.ZodObject<{
|
|
|
415
415
|
}>;
|
|
416
416
|
export declare const stopAreaSchema: z.ZodObject<{
|
|
417
417
|
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
418
|
-
created_by: z.
|
|
418
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
419
419
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
420
|
-
updated_by: z.
|
|
420
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
421
421
|
} & {
|
|
422
422
|
_id: z.ZodString;
|
|
423
423
|
parent_station_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -426,12 +426,12 @@ export declare const stopAreaSchema: z.ZodObject<{
|
|
|
426
426
|
created_at: number & {
|
|
427
427
|
__brand: "UnixTimestamp";
|
|
428
428
|
};
|
|
429
|
-
created_by: string;
|
|
430
429
|
updated_at: number & {
|
|
431
430
|
__brand: "UnixTimestamp";
|
|
432
431
|
};
|
|
433
|
-
updated_by: string;
|
|
434
432
|
parent_station_ids: string[];
|
|
433
|
+
created_by?: string | undefined;
|
|
434
|
+
updated_by?: string | undefined;
|
|
435
435
|
}, {
|
|
436
436
|
_id: string;
|
|
437
437
|
created_at: number;
|
|
@@ -442,9 +442,9 @@ export declare const stopAreaSchema: z.ZodObject<{
|
|
|
442
442
|
}>;
|
|
443
443
|
export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
444
444
|
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
445
|
-
created_by: z.
|
|
445
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
446
446
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
447
|
-
updated_by: z.
|
|
447
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
448
448
|
} & {
|
|
449
449
|
_id: z.ZodString;
|
|
450
450
|
is_archived: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -491,9 +491,9 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
491
491
|
comments: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
492
492
|
_id: z.ZodString;
|
|
493
493
|
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
494
|
-
created_by: z.
|
|
494
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
495
495
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
496
|
-
updated_by: z.
|
|
496
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
497
497
|
} & {
|
|
498
498
|
message: z.ZodString;
|
|
499
499
|
type: z.ZodLiteral<"note">;
|
|
@@ -502,13 +502,13 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
502
502
|
created_at: number & {
|
|
503
503
|
__brand: "UnixTimestamp";
|
|
504
504
|
};
|
|
505
|
-
created_by: string;
|
|
506
505
|
updated_at: number & {
|
|
507
506
|
__brand: "UnixTimestamp";
|
|
508
507
|
};
|
|
509
|
-
updated_by: string;
|
|
510
508
|
message: string;
|
|
511
509
|
type: "note";
|
|
510
|
+
created_by?: string | undefined;
|
|
511
|
+
updated_by?: string | undefined;
|
|
512
512
|
}, {
|
|
513
513
|
_id: string;
|
|
514
514
|
created_at: number;
|
|
@@ -549,9 +549,9 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
549
549
|
}>, z.ZodObject<{
|
|
550
550
|
_id: z.ZodString;
|
|
551
551
|
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
552
|
-
created_by: z.
|
|
552
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
553
553
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
554
|
-
updated_by: z.
|
|
554
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
555
555
|
} & {
|
|
556
556
|
curr_status: z.ZodString;
|
|
557
557
|
prev_status: z.ZodString;
|
|
@@ -561,14 +561,14 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
561
561
|
created_at: number & {
|
|
562
562
|
__brand: "UnixTimestamp";
|
|
563
563
|
};
|
|
564
|
-
created_by: string;
|
|
565
564
|
updated_at: number & {
|
|
566
565
|
__brand: "UnixTimestamp";
|
|
567
566
|
};
|
|
568
|
-
updated_by: string;
|
|
569
567
|
type: "statusChanged";
|
|
570
568
|
curr_status: string;
|
|
571
569
|
prev_status: string;
|
|
570
|
+
created_by?: string | undefined;
|
|
571
|
+
updated_by?: string | undefined;
|
|
572
572
|
}, {
|
|
573
573
|
_id: string;
|
|
574
574
|
created_at: number;
|
|
@@ -583,13 +583,13 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
583
583
|
created_at: number & {
|
|
584
584
|
__brand: "UnixTimestamp";
|
|
585
585
|
};
|
|
586
|
-
created_by: string;
|
|
587
586
|
updated_at: number & {
|
|
588
587
|
__brand: "UnixTimestamp";
|
|
589
588
|
};
|
|
590
|
-
updated_by: string;
|
|
591
589
|
message: string;
|
|
592
590
|
type: "note";
|
|
591
|
+
created_by?: string | undefined;
|
|
592
|
+
updated_by?: string | undefined;
|
|
593
593
|
} | {
|
|
594
594
|
_id: string;
|
|
595
595
|
created_at: number & {
|
|
@@ -607,14 +607,14 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
607
607
|
created_at: number & {
|
|
608
608
|
__brand: "UnixTimestamp";
|
|
609
609
|
};
|
|
610
|
-
created_by: string;
|
|
611
610
|
updated_at: number & {
|
|
612
611
|
__brand: "UnixTimestamp";
|
|
613
612
|
};
|
|
614
|
-
updated_by: string;
|
|
615
613
|
type: "statusChanged";
|
|
616
614
|
curr_status: string;
|
|
617
615
|
prev_status: string;
|
|
616
|
+
created_by?: string | undefined;
|
|
617
|
+
updated_by?: string | undefined;
|
|
618
618
|
}, {
|
|
619
619
|
_id: string;
|
|
620
620
|
created_at: number;
|
|
@@ -643,8 +643,6 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
643
643
|
}>, "many">;
|
|
644
644
|
observations: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
645
645
|
}, "_id" | "created_at" | "updated_at">, "strict", z.ZodTypeAny, {
|
|
646
|
-
created_by: string;
|
|
647
|
-
updated_by: string;
|
|
648
646
|
name: string;
|
|
649
647
|
has_bench: "unknown" | "yes" | "no";
|
|
650
648
|
has_network_map: "unknown" | "yes" | "no";
|
|
@@ -658,13 +656,13 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
658
656
|
created_at: number & {
|
|
659
657
|
__brand: "UnixTimestamp";
|
|
660
658
|
};
|
|
661
|
-
created_by: string;
|
|
662
659
|
updated_at: number & {
|
|
663
660
|
__brand: "UnixTimestamp";
|
|
664
661
|
};
|
|
665
|
-
updated_by: string;
|
|
666
662
|
message: string;
|
|
667
663
|
type: "note";
|
|
664
|
+
created_by?: string | undefined;
|
|
665
|
+
updated_by?: string | undefined;
|
|
668
666
|
} | {
|
|
669
667
|
_id: string;
|
|
670
668
|
created_at: number & {
|
|
@@ -682,14 +680,14 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
682
680
|
created_at: number & {
|
|
683
681
|
__brand: "UnixTimestamp";
|
|
684
682
|
};
|
|
685
|
-
created_by: string;
|
|
686
683
|
updated_at: number & {
|
|
687
684
|
__brand: "UnixTimestamp";
|
|
688
685
|
};
|
|
689
|
-
updated_by: string;
|
|
690
686
|
type: "statusChanged";
|
|
691
687
|
curr_status: string;
|
|
692
688
|
prev_status: string;
|
|
689
|
+
created_by?: string | undefined;
|
|
690
|
+
updated_by?: string | undefined;
|
|
693
691
|
})[];
|
|
694
692
|
is_archived: boolean;
|
|
695
693
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
@@ -708,6 +706,8 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
708
706
|
has_mupi: "unknown" | "yes" | "no";
|
|
709
707
|
file_ids: string[];
|
|
710
708
|
image_ids: string[];
|
|
709
|
+
created_by?: string | undefined;
|
|
710
|
+
updated_by?: string | undefined;
|
|
711
711
|
short_name?: string | null | undefined;
|
|
712
712
|
parish_id?: string | null | undefined;
|
|
713
713
|
shelter_code?: string | null | undefined;
|
|
@@ -798,7 +798,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
798
798
|
observations?: string | null | undefined;
|
|
799
799
|
}>;
|
|
800
800
|
export declare const UpdateStopSchema: z.ZodObject<{
|
|
801
|
-
updated_by: z.ZodOptional<z.
|
|
801
|
+
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
802
802
|
name: z.ZodOptional<z.ZodString>;
|
|
803
803
|
short_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
804
804
|
has_bench: z.ZodOptional<z.ZodEnum<["yes", "no", "unknown"]>>;
|
|
@@ -814,9 +814,9 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
814
814
|
comments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
815
815
|
_id: z.ZodString;
|
|
816
816
|
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
817
|
-
created_by: z.
|
|
817
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
818
818
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
819
|
-
updated_by: z.
|
|
819
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
820
820
|
} & {
|
|
821
821
|
message: z.ZodString;
|
|
822
822
|
type: z.ZodLiteral<"note">;
|
|
@@ -825,13 +825,13 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
825
825
|
created_at: number & {
|
|
826
826
|
__brand: "UnixTimestamp";
|
|
827
827
|
};
|
|
828
|
-
created_by: string;
|
|
829
828
|
updated_at: number & {
|
|
830
829
|
__brand: "UnixTimestamp";
|
|
831
830
|
};
|
|
832
|
-
updated_by: string;
|
|
833
831
|
message: string;
|
|
834
832
|
type: "note";
|
|
833
|
+
created_by?: string | undefined;
|
|
834
|
+
updated_by?: string | undefined;
|
|
835
835
|
}, {
|
|
836
836
|
_id: string;
|
|
837
837
|
created_at: number;
|
|
@@ -872,9 +872,9 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
872
872
|
}>, z.ZodObject<{
|
|
873
873
|
_id: z.ZodString;
|
|
874
874
|
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
875
|
-
created_by: z.
|
|
875
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
876
876
|
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
877
|
-
updated_by: z.
|
|
877
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
878
878
|
} & {
|
|
879
879
|
curr_status: z.ZodString;
|
|
880
880
|
prev_status: z.ZodString;
|
|
@@ -884,14 +884,14 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
884
884
|
created_at: number & {
|
|
885
885
|
__brand: "UnixTimestamp";
|
|
886
886
|
};
|
|
887
|
-
created_by: string;
|
|
888
887
|
updated_at: number & {
|
|
889
888
|
__brand: "UnixTimestamp";
|
|
890
889
|
};
|
|
891
|
-
updated_by: string;
|
|
892
890
|
type: "statusChanged";
|
|
893
891
|
curr_status: string;
|
|
894
892
|
prev_status: string;
|
|
893
|
+
created_by?: string | undefined;
|
|
894
|
+
updated_by?: string | undefined;
|
|
895
895
|
}, {
|
|
896
896
|
_id: string;
|
|
897
897
|
created_at: number;
|
|
@@ -906,13 +906,13 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
906
906
|
created_at: number & {
|
|
907
907
|
__brand: "UnixTimestamp";
|
|
908
908
|
};
|
|
909
|
-
created_by: string;
|
|
910
909
|
updated_at: number & {
|
|
911
910
|
__brand: "UnixTimestamp";
|
|
912
911
|
};
|
|
913
|
-
updated_by: string;
|
|
914
912
|
message: string;
|
|
915
913
|
type: "note";
|
|
914
|
+
created_by?: string | undefined;
|
|
915
|
+
updated_by?: string | undefined;
|
|
916
916
|
} | {
|
|
917
917
|
_id: string;
|
|
918
918
|
created_at: number & {
|
|
@@ -930,14 +930,14 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
930
930
|
created_at: number & {
|
|
931
931
|
__brand: "UnixTimestamp";
|
|
932
932
|
};
|
|
933
|
-
created_by: string;
|
|
934
933
|
updated_at: number & {
|
|
935
934
|
__brand: "UnixTimestamp";
|
|
936
935
|
};
|
|
937
|
-
updated_by: string;
|
|
938
936
|
type: "statusChanged";
|
|
939
937
|
curr_status: string;
|
|
940
938
|
prev_status: string;
|
|
939
|
+
created_by?: string | undefined;
|
|
940
|
+
updated_by?: string | undefined;
|
|
941
941
|
}, {
|
|
942
942
|
_id: string;
|
|
943
943
|
created_at: number;
|
|
@@ -1013,13 +1013,13 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
1013
1013
|
created_at: number & {
|
|
1014
1014
|
__brand: "UnixTimestamp";
|
|
1015
1015
|
};
|
|
1016
|
-
created_by: string;
|
|
1017
1016
|
updated_at: number & {
|
|
1018
1017
|
__brand: "UnixTimestamp";
|
|
1019
1018
|
};
|
|
1020
|
-
updated_by: string;
|
|
1021
1019
|
message: string;
|
|
1022
1020
|
type: "note";
|
|
1021
|
+
created_by?: string | undefined;
|
|
1022
|
+
updated_by?: string | undefined;
|
|
1023
1023
|
} | {
|
|
1024
1024
|
_id: string;
|
|
1025
1025
|
created_at: number & {
|
|
@@ -1037,14 +1037,14 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
1037
1037
|
created_at: number & {
|
|
1038
1038
|
__brand: "UnixTimestamp";
|
|
1039
1039
|
};
|
|
1040
|
-
created_by: string;
|
|
1041
1040
|
updated_at: number & {
|
|
1042
1041
|
__brand: "UnixTimestamp";
|
|
1043
1042
|
};
|
|
1044
|
-
updated_by: string;
|
|
1045
1043
|
type: "statusChanged";
|
|
1046
1044
|
curr_status: string;
|
|
1047
1045
|
prev_status: string;
|
|
1046
|
+
created_by?: string | undefined;
|
|
1047
|
+
updated_by?: string | undefined;
|
|
1048
1048
|
})[] | undefined;
|
|
1049
1049
|
is_archived?: boolean | undefined;
|
|
1050
1050
|
jurisdiction?: "unknown" | "ip" | "municipality" | "other" | undefined;
|