@tmlmobilidade/types 20250911.1527.52 → 20250911.1606.56
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/agency.d.ts +6 -8
- package/dist/src/agency.js +2 -2
- package/dist/src/rides/ride.d.ts +6 -8
- package/dist/src/rides/ride.js +2 -2
- package/package.json +1 -1
package/dist/src/agency.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare const AgencySchema: z.ZodObject<{
|
|
|
20
20
|
total_vkm_per_year: number;
|
|
21
21
|
}>;
|
|
22
22
|
name: z.ZodString;
|
|
23
|
-
operation_start_date: z.
|
|
23
|
+
operation_start_date: z.ZodEffects<z.ZodString, import("./_common/operational-date.js").OperationalDate, string>;
|
|
24
24
|
phone: z.ZodString;
|
|
25
25
|
public_email: z.ZodString;
|
|
26
26
|
short_name: z.ZodString;
|
|
@@ -44,7 +44,7 @@ export declare const AgencySchema: z.ZodObject<{
|
|
|
44
44
|
name: string;
|
|
45
45
|
operation_start_date: string & {
|
|
46
46
|
__brand: "OperationalDate";
|
|
47
|
-
}
|
|
47
|
+
};
|
|
48
48
|
phone: string;
|
|
49
49
|
public_email: string;
|
|
50
50
|
short_name: string;
|
|
@@ -94,7 +94,7 @@ export declare const CreateAgencySchema: z.ZodObject<Omit<{
|
|
|
94
94
|
total_vkm_per_year: number;
|
|
95
95
|
}>;
|
|
96
96
|
name: z.ZodString;
|
|
97
|
-
operation_start_date: z.
|
|
97
|
+
operation_start_date: z.ZodEffects<z.ZodString, import("./_common/operational-date.js").OperationalDate, string>;
|
|
98
98
|
phone: z.ZodString;
|
|
99
99
|
public_email: z.ZodString;
|
|
100
100
|
short_name: z.ZodString;
|
|
@@ -112,7 +112,7 @@ export declare const CreateAgencySchema: z.ZodObject<Omit<{
|
|
|
112
112
|
name: string;
|
|
113
113
|
operation_start_date: string & {
|
|
114
114
|
__brand: "OperationalDate";
|
|
115
|
-
}
|
|
115
|
+
};
|
|
116
116
|
phone: string;
|
|
117
117
|
public_email: string;
|
|
118
118
|
short_name: string;
|
|
@@ -156,7 +156,7 @@ export declare const UpdateAgencySchema: z.ZodObject<{
|
|
|
156
156
|
total_vkm_per_year: number;
|
|
157
157
|
}>>;
|
|
158
158
|
name: z.ZodOptional<z.ZodString>;
|
|
159
|
-
operation_start_date: z.ZodOptional<z.
|
|
159
|
+
operation_start_date: z.ZodOptional<z.ZodEffects<z.ZodString, import("./_common/operational-date.js").OperationalDate, string>>;
|
|
160
160
|
phone: z.ZodOptional<z.ZodString>;
|
|
161
161
|
public_email: z.ZodOptional<z.ZodString>;
|
|
162
162
|
short_name: z.ZodOptional<z.ZodString>;
|
|
@@ -173,9 +173,7 @@ export declare const UpdateAgencySchema: z.ZodObject<{
|
|
|
173
173
|
total_vkm_per_year: number;
|
|
174
174
|
} | undefined;
|
|
175
175
|
name?: string | undefined;
|
|
176
|
-
operation_start_date?: (
|
|
177
|
-
__brand: "OperationalDate";
|
|
178
|
-
} & z.BRAND<"OperationalDate">) | undefined;
|
|
176
|
+
operation_start_date?: import("./_common/operational-date.js").OperationalDate | undefined;
|
|
179
177
|
phone?: string | undefined;
|
|
180
178
|
public_email?: string | undefined;
|
|
181
179
|
short_name?: string | undefined;
|
package/dist/src/agency.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* * */
|
|
2
2
|
import { DocumentSchema } from './_common/document.js';
|
|
3
|
-
import {
|
|
3
|
+
import { operationalDateSchema } from './_common/operational-date.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
/* * */
|
|
6
6
|
export const AgencySchema = DocumentSchema.extend({
|
|
@@ -12,7 +12,7 @@ export const AgencySchema = DocumentSchema.extend({
|
|
|
12
12
|
total_vkm_per_year: z.number(),
|
|
13
13
|
}),
|
|
14
14
|
name: z.string(),
|
|
15
|
-
operation_start_date:
|
|
15
|
+
operation_start_date: operationalDateSchema,
|
|
16
16
|
phone: z.string(),
|
|
17
17
|
public_email: z.string().email(),
|
|
18
18
|
short_name: z.string(),
|
package/dist/src/rides/ride.d.ts
CHANGED
|
@@ -461,7 +461,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
461
461
|
hashed_trip_id: z.ZodString;
|
|
462
462
|
headsign: z.ZodString;
|
|
463
463
|
line_id: z.ZodNumber;
|
|
464
|
-
operational_date: z.
|
|
464
|
+
operational_date: z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>;
|
|
465
465
|
passengers_estimated: z.ZodNullable<z.ZodNumber>;
|
|
466
466
|
passengers_observed: z.ZodNullable<z.ZodNumber>;
|
|
467
467
|
passengers_observed_on_board_sales_amount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -600,7 +600,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
600
600
|
headsign: string;
|
|
601
601
|
operational_date: string & {
|
|
602
602
|
__brand: "OperationalDate";
|
|
603
|
-
}
|
|
603
|
+
};
|
|
604
604
|
passengers_estimated: number | null;
|
|
605
605
|
passengers_observed: number | null;
|
|
606
606
|
passengers_observed_on_board_sales_amount: number | null;
|
|
@@ -1216,7 +1216,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1216
1216
|
hashed_shape_id: z.ZodString;
|
|
1217
1217
|
hashed_trip_id: z.ZodString;
|
|
1218
1218
|
headsign: z.ZodString;
|
|
1219
|
-
operational_date: z.
|
|
1219
|
+
operational_date: z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>;
|
|
1220
1220
|
passengers_estimated: z.ZodNullable<z.ZodNumber>;
|
|
1221
1221
|
passengers_observed: z.ZodNullable<z.ZodNumber>;
|
|
1222
1222
|
passengers_observed_on_board_sales_amount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1347,7 +1347,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1347
1347
|
headsign: string;
|
|
1348
1348
|
operational_date: string & {
|
|
1349
1349
|
__brand: "OperationalDate";
|
|
1350
|
-
}
|
|
1350
|
+
};
|
|
1351
1351
|
passengers_estimated: number | null;
|
|
1352
1352
|
passengers_observed: number | null;
|
|
1353
1353
|
passengers_observed_on_board_sales_amount: number | null;
|
|
@@ -1959,7 +1959,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1959
1959
|
hashed_shape_id: z.ZodOptional<z.ZodString>;
|
|
1960
1960
|
hashed_trip_id: z.ZodOptional<z.ZodString>;
|
|
1961
1961
|
headsign: z.ZodOptional<z.ZodString>;
|
|
1962
|
-
operational_date: z.ZodOptional<z.
|
|
1962
|
+
operational_date: z.ZodOptional<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>>;
|
|
1963
1963
|
passengers_estimated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1964
1964
|
passengers_observed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1965
1965
|
passengers_observed_on_board_sales_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2088,9 +2088,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
2088
2088
|
hashed_shape_id?: string | undefined;
|
|
2089
2089
|
hashed_trip_id?: string | undefined;
|
|
2090
2090
|
headsign?: string | undefined;
|
|
2091
|
-
operational_date?: (
|
|
2092
|
-
__brand: "OperationalDate";
|
|
2093
|
-
} & z.BRAND<"OperationalDate">) | undefined;
|
|
2091
|
+
operational_date?: import("../_common/operational-date.js").OperationalDate | undefined;
|
|
2094
2092
|
passengers_estimated?: number | null | undefined;
|
|
2095
2093
|
passengers_observed?: number | null | undefined;
|
|
2096
2094
|
passengers_observed_on_board_sales_amount?: number | null | undefined;
|
package/dist/src/rides/ride.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* * */
|
|
2
2
|
import { DocumentSchema } from '../_common/document.js';
|
|
3
|
-
import {
|
|
3
|
+
import { operationalDateSchema } from '../_common/operational-date.js';
|
|
4
4
|
import { unixTimeStampSchema } from '../_common/unix-timestamp.js';
|
|
5
5
|
import { atLeastOneVehicleEventOnFirstStopSchema, endedAtLastStopSchema, expectedApexValidationIntervalSchema, expectedDriverIdQtySchema, expectedStartTimeSchema, expectedVehicleEventDelaySchema, expectedVehicleEventIntervalSchema, expectedVehicleEventQtySchema, expectedVehicleIdQtySchema, matchingApexLocationsSchema, matchingVehicleIdsSchema, simpleOneApexValidationSchema, simpleOneVehicleEventOrApexValidationSchema, simpleThreeVehicleEventsSchema, transactionSequentialitySchema } from './ride-analysis.js';
|
|
6
6
|
import { ProcessingStatusSchema } from '../system/processing-status.js';
|
|
@@ -40,7 +40,7 @@ export const RideSchema = DocumentSchema.extend({
|
|
|
40
40
|
hashed_trip_id: z.string(),
|
|
41
41
|
headsign: z.string(),
|
|
42
42
|
line_id: z.number(),
|
|
43
|
-
operational_date:
|
|
43
|
+
operational_date: operationalDateSchema,
|
|
44
44
|
passengers_estimated: z.number().nullable(),
|
|
45
45
|
passengers_observed: z.number().nullable(),
|
|
46
46
|
passengers_observed_on_board_sales_amount: z.number().nullable(),
|
package/package.json
CHANGED