@tmlmobilidade/types 20250910.1344.34 → 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.
@@ -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.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">;
5
+ created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
6
6
  created_by: z.ZodDefault<z.ZodString>;
7
- updated_at: z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">;
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
- } & z.BRAND<"UnixTimestamp">;
28
+ };
29
29
  created_by: string;
30
30
  updated_at: number & {
31
31
  __brand: "UnixTimestamp";
32
- } & z.BRAND<"UnixTimestamp">;
32
+ };
33
33
  updated_by: string;
34
34
  agency_id: string;
35
35
  pattern_id: string;
@@ -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.ZodBranded<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>, "UnixTimestamp">;
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
- } & z.BRAND<"UnixTimestamp">;
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.ZodBranded<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>, "UnixTimestamp">;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20250910.1344.34",
3
+ "version": "20250910.1526.7",
4
4
  "author": "João de Vasconcelos & Jusi Monteiro",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "homepage": "https://github.com/tmlmobilidade/services#readme",