@tmlmobilidade/types 20250909.1559.44 → 20250910.1526.7
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 +247 -16
- package/dist/src/_common/comment.js +36 -5
- package/dist/src/_common/document.d.ts +14 -8
- package/dist/src/_common/document.js +5 -3
- package/dist/src/_common/proposed-change.d.ts +37 -19
- 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 +30 -12
- package/dist/src/alert.d.ts +52 -59
- package/dist/src/auth/role.d.ts +30 -12
- package/dist/src/auth/session.d.ts +30 -12
- package/dist/src/auth/user.d.ts +30 -12
- package/dist/src/auth/verification-token.d.ts +30 -12
- package/dist/src/file.d.ts +23 -23
- package/dist/src/organization.d.ts +30 -12
- package/dist/src/plans/gtfs-validation.d.ts +30 -12
- package/dist/src/plans/plan.d.ts +30 -12
- package/dist/src/rides/index.d.ts +2 -1
- package/dist/src/rides/index.js +2 -1
- package/dist/src/rides/ride-audit.d.ts +729 -0
- package/dist/src/rides/ride-audit.js +12 -0
- package/dist/src/rides/ride-justification.d.ts +959 -0
- package/dist/src/rides/ride-justification.js +64 -0
- package/dist/src/rides/ride-overrides.d.ts +9 -0
- package/dist/src/rides/ride-overrides.js +6 -0
- package/dist/src/rides/ride.d.ts +38 -20
- package/dist/src/sams/sam.d.ts +30 -12
- package/dist/src/simplified-apex/simplified-apex-location.d.ts +32 -24
- package/dist/src/simplified-apex/simplified-apex-on-board-refund.d.ts +32 -24
- package/dist/src/simplified-apex/simplified-apex-on-board-sale.d.ts +32 -24
- package/dist/src/simplified-apex/simplified-apex-validation.d.ts +36 -28
- package/dist/src/stop.d.ts +713 -188
- package/dist/src/vehicle-event.d.ts +18 -12
- package/dist/src/zone.d.ts +24 -6
- package/package.json +1 -1
- package/dist/src/rides/ride-annotation.d.ts +0 -579
- package/dist/src/rides/ride-annotation.js +0 -34
package/dist/src/file.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const FileSchema: z.ZodObject<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
|
-
created_at: z.
|
|
5
|
-
updated_at: z.
|
|
4
|
+
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
5
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
6
6
|
} & {
|
|
7
7
|
created_by: z.ZodString;
|
|
8
8
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -16,41 +16,41 @@ export declare const FileSchema: z.ZodObject<{
|
|
|
16
16
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
}, "strict", z.ZodTypeAny, {
|
|
18
18
|
_id: string;
|
|
19
|
+
created_at: number & {
|
|
20
|
+
__brand: "UnixTimestamp";
|
|
21
|
+
};
|
|
22
|
+
created_by: string;
|
|
23
|
+
updated_at: number & {
|
|
24
|
+
__brand: "UnixTimestamp";
|
|
25
|
+
};
|
|
26
|
+
updated_by: string;
|
|
19
27
|
type: string;
|
|
20
28
|
scope: string;
|
|
21
|
-
created_by: string;
|
|
22
29
|
name: string;
|
|
23
30
|
resource_id: string;
|
|
24
31
|
size: number;
|
|
25
|
-
updated_by: string;
|
|
26
|
-
created_at?: (number & {
|
|
27
|
-
__brand: "UnixTimestamp";
|
|
28
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
29
|
-
updated_at?: (number & {
|
|
30
|
-
__brand: "UnixTimestamp";
|
|
31
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
32
32
|
description?: string | null | undefined;
|
|
33
33
|
metadata?: Record<string, unknown> | null | undefined;
|
|
34
34
|
url?: string | null | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
_id: string;
|
|
37
|
+
created_at: number;
|
|
38
|
+
created_by: string;
|
|
39
|
+
updated_at: number;
|
|
40
|
+
updated_by: string;
|
|
37
41
|
type: string;
|
|
38
42
|
scope: string;
|
|
39
|
-
created_by: string;
|
|
40
43
|
name: string;
|
|
41
44
|
resource_id: string;
|
|
42
45
|
size: number;
|
|
43
|
-
updated_by: string;
|
|
44
|
-
created_at?: number | null | undefined;
|
|
45
|
-
updated_at?: number | null | undefined;
|
|
46
46
|
description?: string | null | undefined;
|
|
47
47
|
metadata?: Record<string, unknown> | null | undefined;
|
|
48
48
|
url?: string | null | undefined;
|
|
49
49
|
}>;
|
|
50
50
|
export declare const CreateFileSchema: z.ZodObject<Omit<{
|
|
51
51
|
_id: z.ZodString;
|
|
52
|
-
created_at: z.
|
|
53
|
-
updated_at: z.
|
|
52
|
+
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
53
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
54
54
|
} & {
|
|
55
55
|
created_by: z.ZodString;
|
|
56
56
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -63,29 +63,30 @@ export declare const CreateFileSchema: z.ZodObject<Omit<{
|
|
|
63
63
|
updated_by: z.ZodString;
|
|
64
64
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
65
|
}, "_id" | "created_at" | "updated_at">, "strict", z.ZodTypeAny, {
|
|
66
|
+
created_by: string;
|
|
67
|
+
updated_by: string;
|
|
66
68
|
type: string;
|
|
67
69
|
scope: string;
|
|
68
|
-
created_by: string;
|
|
69
70
|
name: string;
|
|
70
71
|
resource_id: string;
|
|
71
72
|
size: number;
|
|
72
|
-
updated_by: string;
|
|
73
73
|
description?: string | null | undefined;
|
|
74
74
|
metadata?: Record<string, unknown> | null | undefined;
|
|
75
75
|
url?: string | null | undefined;
|
|
76
76
|
}, {
|
|
77
|
+
created_by: string;
|
|
78
|
+
updated_by: string;
|
|
77
79
|
type: string;
|
|
78
80
|
scope: string;
|
|
79
|
-
created_by: string;
|
|
80
81
|
name: string;
|
|
81
82
|
resource_id: string;
|
|
82
83
|
size: number;
|
|
83
|
-
updated_by: string;
|
|
84
84
|
description?: string | null | undefined;
|
|
85
85
|
metadata?: Record<string, unknown> | null | undefined;
|
|
86
86
|
url?: string | null | undefined;
|
|
87
87
|
}>;
|
|
88
88
|
export declare const UpdateFileSchema: z.ZodObject<{
|
|
89
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
89
90
|
type: z.ZodOptional<z.ZodString>;
|
|
90
91
|
scope: z.ZodOptional<z.ZodString>;
|
|
91
92
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -93,9 +94,9 @@ export declare const UpdateFileSchema: z.ZodObject<{
|
|
|
93
94
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
94
95
|
resource_id: z.ZodOptional<z.ZodString>;
|
|
95
96
|
size: z.ZodOptional<z.ZodNumber>;
|
|
96
|
-
updated_by: z.ZodOptional<z.ZodString>;
|
|
97
97
|
url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
98
98
|
}, "strict", z.ZodTypeAny, {
|
|
99
|
+
updated_by?: string | undefined;
|
|
99
100
|
type?: string | undefined;
|
|
100
101
|
scope?: string | undefined;
|
|
101
102
|
name?: string | undefined;
|
|
@@ -103,9 +104,9 @@ export declare const UpdateFileSchema: z.ZodObject<{
|
|
|
103
104
|
metadata?: Record<string, unknown> | null | undefined;
|
|
104
105
|
resource_id?: string | undefined;
|
|
105
106
|
size?: number | undefined;
|
|
106
|
-
updated_by?: string | undefined;
|
|
107
107
|
url?: string | null | undefined;
|
|
108
108
|
}, {
|
|
109
|
+
updated_by?: string | undefined;
|
|
109
110
|
type?: string | undefined;
|
|
110
111
|
scope?: string | undefined;
|
|
111
112
|
name?: string | undefined;
|
|
@@ -113,7 +114,6 @@ export declare const UpdateFileSchema: z.ZodObject<{
|
|
|
113
114
|
metadata?: Record<string, unknown> | null | undefined;
|
|
114
115
|
resource_id?: string | undefined;
|
|
115
116
|
size?: number | undefined;
|
|
116
|
-
updated_by?: string | undefined;
|
|
117
117
|
url?: string | null | undefined;
|
|
118
118
|
}>;
|
|
119
119
|
export type File = z.infer<typeof FileSchema>;
|
|
@@ -1,49 +1,67 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const OrganizationSchema: z.ZodObject<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
|
-
created_at: z.
|
|
5
|
-
|
|
4
|
+
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
5
|
+
created_by: z.ZodDefault<z.ZodString>;
|
|
6
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
7
|
+
updated_by: z.ZodDefault<z.ZodString>;
|
|
6
8
|
} & {
|
|
7
9
|
code: z.ZodString;
|
|
8
10
|
name: z.ZodString;
|
|
9
11
|
}, "strict", z.ZodTypeAny, {
|
|
10
12
|
_id: string;
|
|
11
|
-
|
|
12
|
-
name: string;
|
|
13
|
-
created_at?: (number & {
|
|
13
|
+
created_at: number & {
|
|
14
14
|
__brand: "UnixTimestamp";
|
|
15
|
-
}
|
|
16
|
-
|
|
15
|
+
};
|
|
16
|
+
created_by: string;
|
|
17
|
+
updated_at: number & {
|
|
17
18
|
__brand: "UnixTimestamp";
|
|
18
|
-
}
|
|
19
|
+
};
|
|
20
|
+
updated_by: string;
|
|
21
|
+
code: string;
|
|
22
|
+
name: string;
|
|
19
23
|
}, {
|
|
20
24
|
_id: string;
|
|
25
|
+
created_at: number;
|
|
26
|
+
updated_at: number;
|
|
21
27
|
code: string;
|
|
22
28
|
name: string;
|
|
23
|
-
|
|
24
|
-
|
|
29
|
+
created_by?: string | undefined;
|
|
30
|
+
updated_by?: string | undefined;
|
|
25
31
|
}>;
|
|
26
32
|
export declare const CreateOrganizationSchema: z.ZodObject<Omit<{
|
|
27
33
|
_id: z.ZodString;
|
|
28
|
-
created_at: z.
|
|
29
|
-
|
|
34
|
+
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
35
|
+
created_by: z.ZodDefault<z.ZodString>;
|
|
36
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
37
|
+
updated_by: z.ZodDefault<z.ZodString>;
|
|
30
38
|
} & {
|
|
31
39
|
code: z.ZodString;
|
|
32
40
|
name: z.ZodString;
|
|
33
41
|
}, "_id" | "created_at" | "updated_at">, "strict", z.ZodTypeAny, {
|
|
42
|
+
created_by: string;
|
|
43
|
+
updated_by: string;
|
|
34
44
|
code: string;
|
|
35
45
|
name: string;
|
|
36
46
|
}, {
|
|
37
47
|
code: string;
|
|
38
48
|
name: string;
|
|
49
|
+
created_by?: string | undefined;
|
|
50
|
+
updated_by?: string | undefined;
|
|
39
51
|
}>;
|
|
40
52
|
export declare const UpdateOrganizationSchema: z.ZodObject<{
|
|
53
|
+
created_by: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
54
|
+
updated_by: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
41
55
|
code: z.ZodOptional<z.ZodString>;
|
|
42
56
|
name: z.ZodOptional<z.ZodString>;
|
|
43
57
|
}, "strict", z.ZodTypeAny, {
|
|
58
|
+
created_by?: string | undefined;
|
|
59
|
+
updated_by?: string | undefined;
|
|
44
60
|
code?: string | undefined;
|
|
45
61
|
name?: string | undefined;
|
|
46
62
|
}, {
|
|
63
|
+
created_by?: string | undefined;
|
|
64
|
+
updated_by?: string | undefined;
|
|
47
65
|
code?: string | undefined;
|
|
48
66
|
name?: string | undefined;
|
|
49
67
|
}>;
|
|
@@ -78,8 +78,10 @@ export type GTFSValidatorSummary = z.infer<typeof GTFSValidatorSummarySchema>;
|
|
|
78
78
|
export type GTFSValidatorMessage = z.infer<typeof GTFSValidatorMessageSchema>;
|
|
79
79
|
export declare const GtfsValidationSchema: z.ZodObject<{
|
|
80
80
|
_id: z.ZodString;
|
|
81
|
-
created_at: z.
|
|
82
|
-
|
|
81
|
+
created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
|
|
82
|
+
created_by: z.ZodDefault<z.ZodString>;
|
|
83
|
+
updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
|
|
84
|
+
updated_by: z.ZodDefault<z.ZodString>;
|
|
83
85
|
} & {
|
|
84
86
|
feeder_status: z.ZodEnum<["waiting", "processing", "complete", "error"]>;
|
|
85
87
|
file_id: z.ZodString;
|
|
@@ -197,6 +199,14 @@ export declare const GtfsValidationSchema: z.ZodObject<{
|
|
|
197
199
|
}>>>;
|
|
198
200
|
}, "strict", z.ZodTypeAny, {
|
|
199
201
|
_id: string;
|
|
202
|
+
created_at: number & {
|
|
203
|
+
__brand: "UnixTimestamp";
|
|
204
|
+
};
|
|
205
|
+
created_by: string;
|
|
206
|
+
updated_at: number & {
|
|
207
|
+
__brand: "UnixTimestamp";
|
|
208
|
+
};
|
|
209
|
+
updated_by: string;
|
|
200
210
|
file_id: string;
|
|
201
211
|
feeder_status: "waiting" | "processing" | "complete" | "error";
|
|
202
212
|
gtfs_agency: {
|
|
@@ -225,12 +235,6 @@ export declare const GtfsValidationSchema: z.ZodObject<{
|
|
|
225
235
|
feed_version?: string | null | undefined;
|
|
226
236
|
};
|
|
227
237
|
notification_sent: boolean;
|
|
228
|
-
created_at?: (number & {
|
|
229
|
-
__brand: "UnixTimestamp";
|
|
230
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
231
|
-
updated_at?: (number & {
|
|
232
|
-
__brand: "UnixTimestamp";
|
|
233
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
234
238
|
summary?: {
|
|
235
239
|
messages: {
|
|
236
240
|
message: string;
|
|
@@ -245,6 +249,8 @@ export declare const GtfsValidationSchema: z.ZodObject<{
|
|
|
245
249
|
} | null | undefined;
|
|
246
250
|
}, {
|
|
247
251
|
_id: string;
|
|
252
|
+
created_at: number;
|
|
253
|
+
updated_at: number;
|
|
248
254
|
file_id: string;
|
|
249
255
|
feeder_status: "waiting" | "processing" | "complete" | "error";
|
|
250
256
|
gtfs_agency: {
|
|
@@ -268,8 +274,8 @@ export declare const GtfsValidationSchema: z.ZodObject<{
|
|
|
268
274
|
feed_start_date?: string | null | undefined;
|
|
269
275
|
feed_version?: string | null | undefined;
|
|
270
276
|
};
|
|
271
|
-
|
|
272
|
-
|
|
277
|
+
created_by?: string | undefined;
|
|
278
|
+
updated_by?: string | undefined;
|
|
273
279
|
notification_sent?: boolean | undefined;
|
|
274
280
|
summary?: {
|
|
275
281
|
messages: {
|
|
@@ -286,8 +292,10 @@ export declare const GtfsValidationSchema: z.ZodObject<{
|
|
|
286
292
|
}>;
|
|
287
293
|
export declare const CreateGtfsValidationSchema: z.ZodObject<Omit<{
|
|
288
294
|
_id: z.ZodString;
|
|
289
|
-
created_at: z.
|
|
290
|
-
|
|
295
|
+
created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
|
|
296
|
+
created_by: z.ZodDefault<z.ZodString>;
|
|
297
|
+
updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
|
|
298
|
+
updated_by: z.ZodDefault<z.ZodString>;
|
|
291
299
|
} & {
|
|
292
300
|
feeder_status: z.ZodEnum<["waiting", "processing", "complete", "error"]>;
|
|
293
301
|
file_id: z.ZodString;
|
|
@@ -404,6 +412,8 @@ export declare const CreateGtfsValidationSchema: z.ZodObject<Omit<{
|
|
|
404
412
|
total_warnings: number;
|
|
405
413
|
}>>>;
|
|
406
414
|
}, "_id" | "created_at" | "updated_at">, "strict", z.ZodTypeAny, {
|
|
415
|
+
created_by: string;
|
|
416
|
+
updated_by: string;
|
|
407
417
|
file_id: string;
|
|
408
418
|
feeder_status: "waiting" | "processing" | "complete" | "error";
|
|
409
419
|
gtfs_agency: {
|
|
@@ -468,6 +478,8 @@ export declare const CreateGtfsValidationSchema: z.ZodObject<Omit<{
|
|
|
468
478
|
feed_start_date?: string | null | undefined;
|
|
469
479
|
feed_version?: string | null | undefined;
|
|
470
480
|
};
|
|
481
|
+
created_by?: string | undefined;
|
|
482
|
+
updated_by?: string | undefined;
|
|
471
483
|
notification_sent?: boolean | undefined;
|
|
472
484
|
summary?: {
|
|
473
485
|
messages: {
|
|
@@ -483,6 +495,8 @@ export declare const CreateGtfsValidationSchema: z.ZodObject<Omit<{
|
|
|
483
495
|
} | null | undefined;
|
|
484
496
|
}>;
|
|
485
497
|
export declare const UpdateGtfsValidationSchema: z.ZodObject<{
|
|
498
|
+
created_by: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
499
|
+
updated_by: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
486
500
|
file_id: z.ZodOptional<z.ZodString>;
|
|
487
501
|
feeder_status: z.ZodOptional<z.ZodEnum<["waiting", "processing", "complete", "error"]>>;
|
|
488
502
|
gtfs_agency: z.ZodOptional<z.ZodObject<{
|
|
@@ -598,6 +612,8 @@ export declare const UpdateGtfsValidationSchema: z.ZodObject<{
|
|
|
598
612
|
total_warnings: number;
|
|
599
613
|
}>>>>;
|
|
600
614
|
}, "strict", z.ZodTypeAny, {
|
|
615
|
+
created_by?: string | undefined;
|
|
616
|
+
updated_by?: string | undefined;
|
|
601
617
|
file_id?: string | undefined;
|
|
602
618
|
feeder_status?: "waiting" | "processing" | "complete" | "error" | undefined;
|
|
603
619
|
gtfs_agency?: {
|
|
@@ -639,6 +655,8 @@ export declare const UpdateGtfsValidationSchema: z.ZodObject<{
|
|
|
639
655
|
total_warnings: number;
|
|
640
656
|
} | null | undefined;
|
|
641
657
|
}, {
|
|
658
|
+
created_by?: string | undefined;
|
|
659
|
+
updated_by?: string | undefined;
|
|
642
660
|
file_id?: string | undefined;
|
|
643
661
|
feeder_status?: "waiting" | "processing" | "complete" | "error" | undefined;
|
|
644
662
|
gtfs_agency?: {
|
package/dist/src/plans/plan.d.ts
CHANGED
|
@@ -4,8 +4,10 @@ import { PlanController } from './plan-controller.js';
|
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
export declare const PlanSchema: z.ZodObject<{
|
|
6
6
|
_id: z.ZodString;
|
|
7
|
-
created_at: z.
|
|
8
|
-
|
|
7
|
+
created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
|
|
8
|
+
created_by: z.ZodDefault<z.ZodString>;
|
|
9
|
+
updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
|
|
10
|
+
updated_by: z.ZodDefault<z.ZodString>;
|
|
9
11
|
} & {
|
|
10
12
|
controller: z.ZodObject<{
|
|
11
13
|
last_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -98,6 +100,14 @@ export declare const PlanSchema: z.ZodObject<{
|
|
|
98
100
|
status_merger: z.ZodDefault<z.ZodEnum<["waiting", "processing", "complete", "error"]>>;
|
|
99
101
|
}, "strict", z.ZodTypeAny, {
|
|
100
102
|
_id: string;
|
|
103
|
+
created_at: number & {
|
|
104
|
+
__brand: "UnixTimestamp";
|
|
105
|
+
};
|
|
106
|
+
created_by: string;
|
|
107
|
+
updated_at: number & {
|
|
108
|
+
__brand: "UnixTimestamp";
|
|
109
|
+
};
|
|
110
|
+
updated_by: string;
|
|
101
111
|
gtfs_agency: {
|
|
102
112
|
agency_id: string;
|
|
103
113
|
agency_name: string;
|
|
@@ -137,14 +147,10 @@ export declare const PlanSchema: z.ZodObject<{
|
|
|
137
147
|
operation_plan_id: string | null;
|
|
138
148
|
};
|
|
139
149
|
status_merger: "waiting" | "processing" | "complete" | "error";
|
|
140
|
-
created_at?: (number & {
|
|
141
|
-
__brand: "UnixTimestamp";
|
|
142
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
143
|
-
updated_at?: (number & {
|
|
144
|
-
__brand: "UnixTimestamp";
|
|
145
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
146
150
|
}, {
|
|
147
151
|
_id: string;
|
|
152
|
+
created_at: number;
|
|
153
|
+
updated_at: number;
|
|
148
154
|
gtfs_agency: {
|
|
149
155
|
agency_id: string;
|
|
150
156
|
agency_name: string;
|
|
@@ -176,15 +182,17 @@ export declare const PlanSchema: z.ZodObject<{
|
|
|
176
182
|
pcgi_legacy: {
|
|
177
183
|
operation_plan_id: string | null;
|
|
178
184
|
};
|
|
179
|
-
|
|
180
|
-
|
|
185
|
+
created_by?: string | undefined;
|
|
186
|
+
updated_by?: string | undefined;
|
|
181
187
|
is_locked?: boolean | undefined;
|
|
182
188
|
status_merger?: "waiting" | "processing" | "complete" | "error" | undefined;
|
|
183
189
|
}>;
|
|
184
190
|
export declare const CreatePlanSchema: z.ZodObject<Omit<{
|
|
185
191
|
_id: z.ZodString;
|
|
186
|
-
created_at: z.
|
|
187
|
-
|
|
192
|
+
created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
|
|
193
|
+
created_by: z.ZodDefault<z.ZodString>;
|
|
194
|
+
updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
|
|
195
|
+
updated_by: z.ZodDefault<z.ZodString>;
|
|
188
196
|
} & {
|
|
189
197
|
controller: z.ZodObject<{
|
|
190
198
|
last_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -276,6 +284,8 @@ export declare const CreatePlanSchema: z.ZodObject<Omit<{
|
|
|
276
284
|
}>;
|
|
277
285
|
status_merger: z.ZodDefault<z.ZodEnum<["waiting", "processing", "complete", "error"]>>;
|
|
278
286
|
}, "_id" | "created_at" | "updated_at">, "strict", z.ZodTypeAny, {
|
|
287
|
+
created_by: string;
|
|
288
|
+
updated_by: string;
|
|
279
289
|
gtfs_agency: {
|
|
280
290
|
agency_id: string;
|
|
281
291
|
agency_name: string;
|
|
@@ -347,10 +357,14 @@ export declare const CreatePlanSchema: z.ZodObject<Omit<{
|
|
|
347
357
|
pcgi_legacy: {
|
|
348
358
|
operation_plan_id: string | null;
|
|
349
359
|
};
|
|
360
|
+
created_by?: string | undefined;
|
|
361
|
+
updated_by?: string | undefined;
|
|
350
362
|
is_locked?: boolean | undefined;
|
|
351
363
|
status_merger?: "waiting" | "processing" | "complete" | "error" | undefined;
|
|
352
364
|
}>;
|
|
353
365
|
export declare const UpdatePlanSchema: z.ZodObject<{
|
|
366
|
+
created_by: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
367
|
+
updated_by: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
354
368
|
gtfs_agency: z.ZodOptional<z.ZodObject<{
|
|
355
369
|
agency_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
356
370
|
agency_fare_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -441,6 +455,8 @@ export declare const UpdatePlanSchema: z.ZodObject<{
|
|
|
441
455
|
}>>;
|
|
442
456
|
status_merger: z.ZodOptional<z.ZodDefault<z.ZodEnum<["waiting", "processing", "complete", "error"]>>>;
|
|
443
457
|
}, "strict", z.ZodTypeAny, {
|
|
458
|
+
created_by?: string | undefined;
|
|
459
|
+
updated_by?: string | undefined;
|
|
444
460
|
gtfs_agency?: {
|
|
445
461
|
agency_id: string;
|
|
446
462
|
agency_name: string;
|
|
@@ -481,6 +497,8 @@ export declare const UpdatePlanSchema: z.ZodObject<{
|
|
|
481
497
|
} | undefined;
|
|
482
498
|
status_merger?: "waiting" | "processing" | "complete" | "error" | undefined;
|
|
483
499
|
}, {
|
|
500
|
+
created_by?: string | undefined;
|
|
501
|
+
updated_by?: string | undefined;
|
|
484
502
|
gtfs_agency?: {
|
|
485
503
|
agency_id: string;
|
|
486
504
|
agency_name: string;
|
package/dist/src/rides/index.js
CHANGED