@tmlmobilidade/go-types-gtfs-validator 20260829.51.31 → 20260829.136.5
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.
|
@@ -18,7 +18,7 @@ export declare const GtfsValidationSchema: z.ZodObject<{
|
|
|
18
18
|
agency_phone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19
19
|
agency_timezone: z.ZodString;
|
|
20
20
|
agency_url: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21
|
-
cemv_support: z.ZodDefault<z.ZodEnum<["0", "1", "2"]
|
|
21
|
+
cemv_support: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, z.ZodEnum<["0", "1", "2"]>>>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
agency_email: string;
|
|
24
24
|
agency_fare_url: string;
|
|
@@ -38,7 +38,7 @@ export declare const GtfsValidationSchema: z.ZodObject<{
|
|
|
38
38
|
agency_lang?: "pt" | "es" | "en" | undefined;
|
|
39
39
|
agency_phone?: string | undefined;
|
|
40
40
|
agency_url?: string | undefined;
|
|
41
|
-
cemv_support?:
|
|
41
|
+
cemv_support?: string | number | undefined;
|
|
42
42
|
}>;
|
|
43
43
|
gtfs_feed_info: z.ZodObject<{
|
|
44
44
|
default_lang: z.ZodDefault<z.ZodEnum<["pt", "es", "en"]>>;
|
|
@@ -194,7 +194,7 @@ export declare const GtfsValidationSchema: z.ZodObject<{
|
|
|
194
194
|
agency_lang?: "pt" | "es" | "en" | undefined;
|
|
195
195
|
agency_phone?: string | undefined;
|
|
196
196
|
agency_url?: string | undefined;
|
|
197
|
-
cemv_support?:
|
|
197
|
+
cemv_support?: string | number | undefined;
|
|
198
198
|
};
|
|
199
199
|
gtfs_feed_info: {
|
|
200
200
|
feed_end_date: string | number;
|
|
@@ -249,7 +249,7 @@ export declare const CreateGtfsValidationSchema: z.ZodObject<Omit<{
|
|
|
249
249
|
agency_phone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
250
250
|
agency_timezone: z.ZodString;
|
|
251
251
|
agency_url: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
252
|
-
cemv_support: z.ZodDefault<z.ZodEnum<["0", "1", "2"]
|
|
252
|
+
cemv_support: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, z.ZodEnum<["0", "1", "2"]>>>;
|
|
253
253
|
}, "strip", z.ZodTypeAny, {
|
|
254
254
|
agency_email: string;
|
|
255
255
|
agency_fare_url: string;
|
|
@@ -269,7 +269,7 @@ export declare const CreateGtfsValidationSchema: z.ZodObject<Omit<{
|
|
|
269
269
|
agency_lang?: "pt" | "es" | "en" | undefined;
|
|
270
270
|
agency_phone?: string | undefined;
|
|
271
271
|
agency_url?: string | undefined;
|
|
272
|
-
cemv_support?:
|
|
272
|
+
cemv_support?: string | number | undefined;
|
|
273
273
|
}>;
|
|
274
274
|
gtfs_feed_info: z.ZodObject<{
|
|
275
275
|
default_lang: z.ZodDefault<z.ZodEnum<["pt", "es", "en"]>>;
|
|
@@ -421,7 +421,7 @@ export declare const CreateGtfsValidationSchema: z.ZodObject<Omit<{
|
|
|
421
421
|
agency_lang?: "pt" | "es" | "en" | undefined;
|
|
422
422
|
agency_phone?: string | undefined;
|
|
423
423
|
agency_url?: string | undefined;
|
|
424
|
-
cemv_support?:
|
|
424
|
+
cemv_support?: string | number | undefined;
|
|
425
425
|
};
|
|
426
426
|
gtfs_feed_info: {
|
|
427
427
|
feed_end_date: string | number;
|
|
@@ -467,7 +467,7 @@ export declare const UpdateGtfsValidationSchema: z.ZodObject<{
|
|
|
467
467
|
agency_phone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
468
468
|
agency_timezone: z.ZodString;
|
|
469
469
|
agency_url: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
470
|
-
cemv_support: z.ZodDefault<z.ZodEnum<["0", "1", "2"]
|
|
470
|
+
cemv_support: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, z.ZodEnum<["0", "1", "2"]>>>;
|
|
471
471
|
}, "strip", z.ZodTypeAny, {
|
|
472
472
|
agency_email: string;
|
|
473
473
|
agency_fare_url: string;
|
|
@@ -487,7 +487,7 @@ export declare const UpdateGtfsValidationSchema: z.ZodObject<{
|
|
|
487
487
|
agency_lang?: "pt" | "es" | "en" | undefined;
|
|
488
488
|
agency_phone?: string | undefined;
|
|
489
489
|
agency_url?: string | undefined;
|
|
490
|
-
cemv_support?:
|
|
490
|
+
cemv_support?: string | number | undefined;
|
|
491
491
|
}>>;
|
|
492
492
|
gtfs_feed_info: z.ZodOptional<z.ZodObject<{
|
|
493
493
|
default_lang: z.ZodDefault<z.ZodEnum<["pt", "es", "en"]>>;
|
|
@@ -637,7 +637,7 @@ export declare const UpdateGtfsValidationSchema: z.ZodObject<{
|
|
|
637
637
|
agency_lang?: "pt" | "es" | "en" | undefined;
|
|
638
638
|
agency_phone?: string | undefined;
|
|
639
639
|
agency_url?: string | undefined;
|
|
640
|
-
cemv_support?:
|
|
640
|
+
cemv_support?: string | number | undefined;
|
|
641
641
|
} | undefined;
|
|
642
642
|
gtfs_feed_info?: {
|
|
643
643
|
feed_end_date: string | number;
|