@tmlmobilidade/go-types-offer 20261022.1605.13 → 20261023.1349.11
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/network/line.d.ts +1 -11
- package/dist/network/line.js +2 -0
- package/dist/network/pattern.d.ts +374 -1186
- package/dist/network/pattern.js +10 -6
- package/dist/network/route.d.ts +1 -63
- package/dist/network/route.js +2 -4
- package/package.json +3 -3
package/dist/network/line.d.ts
CHANGED
|
@@ -97,10 +97,9 @@ export declare const CreateLineSchema: z.ZodObject<Omit<{
|
|
|
97
97
|
prepaid_fare_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
98
98
|
transport_type: z.ZodDefault<z.ZodEnum<["aerial_lift", "bus", "cable_tram", "ferry", "funicular", "monorail", "rail", "subway", "tram", "trolleybus"]>>;
|
|
99
99
|
typology: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
100
|
-
}, "_id" | "created_at" | "created_by" | "updated_at">, "strip", z.ZodTypeAny, {
|
|
100
|
+
}, "_id" | "is_locked" | "created_at" | "created_by" | "updated_at" | "updated_by">, "strip", z.ZodTypeAny, {
|
|
101
101
|
code: string;
|
|
102
102
|
name: string;
|
|
103
|
-
is_locked: boolean;
|
|
104
103
|
agency_id: string;
|
|
105
104
|
interchange: "0" | "1" | "2";
|
|
106
105
|
is_circular_line: boolean;
|
|
@@ -109,13 +108,10 @@ export declare const CreateLineSchema: z.ZodObject<Omit<{
|
|
|
109
108
|
prepaid_fare_id: string | null;
|
|
110
109
|
transport_type: "aerial_lift" | "bus" | "cable_tram" | "ferry" | "funicular" | "monorail" | "rail" | "subway" | "tram" | "trolleybus";
|
|
111
110
|
typology: string | null;
|
|
112
|
-
updated_by?: string | undefined;
|
|
113
111
|
}, {
|
|
114
112
|
code: string;
|
|
115
113
|
name: string;
|
|
116
114
|
agency_id: string;
|
|
117
|
-
is_locked?: boolean | undefined;
|
|
118
|
-
updated_by?: string | undefined;
|
|
119
115
|
interchange?: "0" | "1" | "2" | undefined;
|
|
120
116
|
is_circular_line?: boolean | undefined;
|
|
121
117
|
is_school_line?: boolean | undefined;
|
|
@@ -127,8 +123,6 @@ export declare const CreateLineSchema: z.ZodObject<Omit<{
|
|
|
127
123
|
export declare const UpdateLineSchema: z.ZodObject<{
|
|
128
124
|
code: z.ZodOptional<z.ZodString>;
|
|
129
125
|
name: z.ZodOptional<z.ZodString>;
|
|
130
|
-
is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
131
|
-
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
132
126
|
agency_id: z.ZodOptional<z.ZodString>;
|
|
133
127
|
interchange: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<{
|
|
134
128
|
readonly CONFIGURED: "2";
|
|
@@ -144,8 +138,6 @@ export declare const UpdateLineSchema: z.ZodObject<{
|
|
|
144
138
|
}, "strip", z.ZodTypeAny, {
|
|
145
139
|
code?: string | undefined;
|
|
146
140
|
name?: string | undefined;
|
|
147
|
-
is_locked?: boolean | undefined;
|
|
148
|
-
updated_by?: string | undefined;
|
|
149
141
|
agency_id?: string | undefined;
|
|
150
142
|
interchange?: "0" | "1" | "2" | undefined;
|
|
151
143
|
is_circular_line?: boolean | undefined;
|
|
@@ -157,8 +149,6 @@ export declare const UpdateLineSchema: z.ZodObject<{
|
|
|
157
149
|
}, {
|
|
158
150
|
code?: string | undefined;
|
|
159
151
|
name?: string | undefined;
|
|
160
|
-
is_locked?: boolean | undefined;
|
|
161
|
-
updated_by?: string | undefined;
|
|
162
152
|
agency_id?: string | undefined;
|
|
163
153
|
interchange?: "0" | "1" | "2" | undefined;
|
|
164
154
|
is_circular_line?: boolean | undefined;
|
package/dist/network/line.js
CHANGED