@tmlmobilidade/types 20260609.1128.18 → 20260609.2354.26
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.
|
@@ -26,6 +26,7 @@ export declare const AgencySchema: z.ZodObject<{
|
|
|
26
26
|
operation_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>>>;
|
|
27
27
|
phone: z.ZodString;
|
|
28
28
|
public_email: z.ZodString;
|
|
29
|
+
public_name: z.ZodString;
|
|
29
30
|
short_name: z.ZodString;
|
|
30
31
|
timezone: z.ZodDefault<z.ZodString>;
|
|
31
32
|
validation_rules: z.ZodDefault<z.ZodNullable<z.ZodAny>>;
|
|
@@ -53,6 +54,7 @@ export declare const AgencySchema: z.ZodObject<{
|
|
|
53
54
|
operation_start_date: import("../_common/operational-date.js").OperationalDate | null;
|
|
54
55
|
phone: string;
|
|
55
56
|
public_email: string;
|
|
57
|
+
public_name: string;
|
|
56
58
|
short_name: string;
|
|
57
59
|
timezone: string;
|
|
58
60
|
website_url: string;
|
|
@@ -72,6 +74,7 @@ export declare const AgencySchema: z.ZodObject<{
|
|
|
72
74
|
};
|
|
73
75
|
phone: string;
|
|
74
76
|
public_email: string;
|
|
77
|
+
public_name: string;
|
|
75
78
|
short_name: string;
|
|
76
79
|
website_url: string;
|
|
77
80
|
created_by?: string | null | undefined;
|
|
@@ -110,6 +113,7 @@ export declare const CreateAgencySchema: z.ZodObject<Omit<{
|
|
|
110
113
|
operation_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>>>;
|
|
111
114
|
phone: z.ZodString;
|
|
112
115
|
public_email: z.ZodString;
|
|
116
|
+
public_name: z.ZodString;
|
|
113
117
|
short_name: z.ZodString;
|
|
114
118
|
timezone: z.ZodDefault<z.ZodString>;
|
|
115
119
|
validation_rules: z.ZodDefault<z.ZodNullable<z.ZodAny>>;
|
|
@@ -131,6 +135,7 @@ export declare const CreateAgencySchema: z.ZodObject<Omit<{
|
|
|
131
135
|
operation_start_date: import("../_common/operational-date.js").OperationalDate | null;
|
|
132
136
|
phone: string;
|
|
133
137
|
public_email: string;
|
|
138
|
+
public_name: string;
|
|
134
139
|
short_name: string;
|
|
135
140
|
timezone: string;
|
|
136
141
|
website_url: string;
|
|
@@ -148,6 +153,7 @@ export declare const CreateAgencySchema: z.ZodObject<Omit<{
|
|
|
148
153
|
};
|
|
149
154
|
phone: string;
|
|
150
155
|
public_email: string;
|
|
156
|
+
public_name: string;
|
|
151
157
|
short_name: string;
|
|
152
158
|
website_url: string;
|
|
153
159
|
created_by?: string | null | undefined;
|
|
@@ -182,6 +188,7 @@ export declare const UpdateAgencySchema: z.ZodObject<{
|
|
|
182
188
|
operation_start_date: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>>>>;
|
|
183
189
|
phone: z.ZodOptional<z.ZodString>;
|
|
184
190
|
public_email: z.ZodOptional<z.ZodString>;
|
|
191
|
+
public_name: z.ZodOptional<z.ZodString>;
|
|
185
192
|
short_name: z.ZodOptional<z.ZodString>;
|
|
186
193
|
timezone: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
187
194
|
validation_rules: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodAny>>>;
|
|
@@ -203,6 +210,7 @@ export declare const UpdateAgencySchema: z.ZodObject<{
|
|
|
203
210
|
operation_start_date?: import("../_common/operational-date.js").OperationalDate | null | undefined;
|
|
204
211
|
phone?: string | undefined;
|
|
205
212
|
public_email?: string | undefined;
|
|
213
|
+
public_name?: string | undefined;
|
|
206
214
|
short_name?: string | undefined;
|
|
207
215
|
timezone?: string | undefined;
|
|
208
216
|
validation_rules?: any;
|
|
@@ -224,6 +232,7 @@ export declare const UpdateAgencySchema: z.ZodObject<{
|
|
|
224
232
|
operation_start_date?: string | null | undefined;
|
|
225
233
|
phone?: string | undefined;
|
|
226
234
|
public_email?: string | undefined;
|
|
235
|
+
public_name?: string | undefined;
|
|
227
236
|
short_name?: string | undefined;
|
|
228
237
|
timezone?: string | undefined;
|
|
229
238
|
validation_rules?: any;
|
package/dist/agencies/agency.js
CHANGED
|
@@ -16,6 +16,7 @@ export const AgencySchema = DocumentSchema.extend({
|
|
|
16
16
|
operation_start_date: OperationalDateSchema.nullable().default(null),
|
|
17
17
|
phone: z.string(),
|
|
18
18
|
public_email: z.string().email(),
|
|
19
|
+
public_name: z.string(),
|
|
19
20
|
short_name: z.string().max(4),
|
|
20
21
|
timezone: z.string().default('Europe/Lisbon'),
|
|
21
22
|
validation_rules: z.any().nullable().default(null),
|