@tmlmobilidade/types 20260805.229.7 → 20260805.929.46

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.
@@ -32,8 +32,8 @@ export declare const StopSchema: z.ZodObject<{
32
32
  new_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
33
33
  previous_go_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
34
34
  short_name: z.ZodString;
35
- tts_hash: z.ZodString;
36
- tts_name: z.ZodString;
35
+ tts_hash: z.ZodDefault<z.ZodNullable<z.ZodString>>;
36
+ tts_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
37
37
  district_id: z.ZodString;
38
38
  latitude: z.ZodNumber;
39
39
  locality_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -373,7 +373,7 @@ export declare const StopSchema: z.ZodObject<{
373
373
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
374
374
  new_name: string | null;
375
375
  previous_go_id: string | null;
376
- tts_name: string;
376
+ tts_name: string | null;
377
377
  district_id: string;
378
378
  latitude: number;
379
379
  locality_id: string | null;
@@ -406,7 +406,7 @@ export declare const StopSchema: z.ZodObject<{
406
406
  has_stop_sign: "unknown" | "available" | "unavailable";
407
407
  observations: string | null;
408
408
  is_deleted: boolean;
409
- tts_hash: string;
409
+ tts_hash: string | null;
410
410
  file_ids: string[];
411
411
  image_ids: string[];
412
412
  updated_by?: string | undefined;
@@ -416,12 +416,10 @@ export declare const StopSchema: z.ZodObject<{
416
416
  updated_at: string | number;
417
417
  name: string;
418
418
  short_name: string;
419
- tts_name: string;
420
419
  district_id: string;
421
420
  latitude: number;
422
421
  longitude: number;
423
422
  municipality_id: string;
424
- tts_hash: string;
425
423
  created_by?: string | null | undefined;
426
424
  is_locked?: boolean | undefined;
427
425
  updated_by?: string | undefined;
@@ -478,6 +476,7 @@ export declare const StopSchema: z.ZodObject<{
478
476
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
479
477
  new_name?: string | null | undefined;
480
478
  previous_go_id?: string | null | undefined;
479
+ tts_name?: string | null | undefined;
481
480
  locality_id?: string | null | undefined;
482
481
  parish_id?: string | null | undefined;
483
482
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
@@ -506,6 +505,7 @@ export declare const StopSchema: z.ZodObject<{
506
505
  has_stop_sign?: "unknown" | "available" | "unavailable" | undefined;
507
506
  observations?: string | null | undefined;
508
507
  is_deleted?: boolean | undefined;
508
+ tts_hash?: string | null | undefined;
509
509
  file_ids?: string[] | undefined;
510
510
  image_ids?: string[] | undefined;
511
511
  }>;
@@ -542,8 +542,8 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
542
542
  new_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
543
543
  previous_go_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
544
544
  short_name: z.ZodString;
545
- tts_hash: z.ZodString;
546
- tts_name: z.ZodString;
545
+ tts_hash: z.ZodDefault<z.ZodNullable<z.ZodString>>;
546
+ tts_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
547
547
  district_id: z.ZodString;
548
548
  latitude: z.ZodNumber;
549
549
  locality_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -869,7 +869,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
869
869
  lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
870
870
  new_name: string | null;
871
871
  previous_go_id: string | null;
872
- tts_name: string;
872
+ tts_name: string | null;
873
873
  district_id: string;
874
874
  latitude: number;
875
875
  locality_id: string | null;
@@ -902,19 +902,17 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
902
902
  has_stop_sign: "unknown" | "available" | "unavailable";
903
903
  observations: string | null;
904
904
  is_deleted: boolean;
905
- tts_hash: string;
905
+ tts_hash: string | null;
906
906
  file_ids: string[];
907
907
  image_ids: string[];
908
908
  updated_by?: string | undefined;
909
909
  }, {
910
910
  name: string;
911
911
  short_name: string;
912
- tts_name: string;
913
912
  district_id: string;
914
913
  latitude: number;
915
914
  longitude: number;
916
915
  municipality_id: string;
917
- tts_hash: string;
918
916
  created_by?: string | null | undefined;
919
917
  is_locked?: boolean | undefined;
920
918
  updated_by?: string | undefined;
@@ -964,6 +962,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
964
962
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
965
963
  new_name?: string | null | undefined;
966
964
  previous_go_id?: string | null | undefined;
965
+ tts_name?: string | null | undefined;
967
966
  locality_id?: string | null | undefined;
968
967
  parish_id?: string | null | undefined;
969
968
  bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
@@ -992,6 +991,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
992
991
  has_stop_sign?: "unknown" | "available" | "unavailable" | undefined;
993
992
  observations?: string | null | undefined;
994
993
  is_deleted?: boolean | undefined;
994
+ tts_hash?: string | null | undefined;
995
995
  file_ids?: string[] | undefined;
996
996
  image_ids?: string[] | undefined;
997
997
  }>;
@@ -1232,7 +1232,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
1232
1232
  lifecycle_status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["draft", "active", "inactive", "provisional", "seasonal", "voided"]>>>;
1233
1233
  new_name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
1234
1234
  previous_go_id: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
1235
- tts_name: z.ZodOptional<z.ZodString>;
1235
+ tts_name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
1236
1236
  district_id: z.ZodOptional<z.ZodString>;
1237
1237
  latitude: z.ZodOptional<z.ZodNumber>;
1238
1238
  locality_id: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
@@ -1265,7 +1265,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
1265
1265
  has_stop_sign: z.ZodOptional<z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>>;
1266
1266
  observations: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
1267
1267
  is_deleted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1268
- tts_hash: z.ZodOptional<z.ZodString>;
1268
+ tts_hash: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
1269
1269
  file_ids: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1270
1270
  image_ids: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1271
1271
  }, "strip", z.ZodTypeAny, {
@@ -1331,7 +1331,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
1331
1331
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
1332
1332
  new_name?: string | null | undefined;
1333
1333
  previous_go_id?: string | null | undefined;
1334
- tts_name?: string | undefined;
1334
+ tts_name?: string | null | undefined;
1335
1335
  district_id?: string | undefined;
1336
1336
  latitude?: number | undefined;
1337
1337
  locality_id?: string | null | undefined;
@@ -1364,7 +1364,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
1364
1364
  has_stop_sign?: "unknown" | "available" | "unavailable" | undefined;
1365
1365
  observations?: string | null | undefined;
1366
1366
  is_deleted?: boolean | undefined;
1367
- tts_hash?: string | undefined;
1367
+ tts_hash?: string | null | undefined;
1368
1368
  file_ids?: string[] | undefined;
1369
1369
  image_ids?: string[] | undefined;
1370
1370
  }, {
@@ -1418,7 +1418,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
1418
1418
  lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
1419
1419
  new_name?: string | null | undefined;
1420
1420
  previous_go_id?: string | null | undefined;
1421
- tts_name?: string | undefined;
1421
+ tts_name?: string | null | undefined;
1422
1422
  district_id?: string | undefined;
1423
1423
  latitude?: number | undefined;
1424
1424
  locality_id?: string | null | undefined;
@@ -1451,7 +1451,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
1451
1451
  has_stop_sign?: "unknown" | "available" | "unavailable" | undefined;
1452
1452
  observations?: string | null | undefined;
1453
1453
  is_deleted?: boolean | undefined;
1454
- tts_hash?: string | undefined;
1454
+ tts_hash?: string | null | undefined;
1455
1455
  file_ids?: string[] | undefined;
1456
1456
  image_ids?: string[] | undefined;
1457
1457
  }>;
@@ -23,8 +23,8 @@ export const StopSchema = DocumentSchema.extend({
23
23
  new_name: z.string().min(5).max(100).nullable().default(null),
24
24
  previous_go_id: z.string().nullable().default(null),
25
25
  short_name: z.string().min(2).max(55),
26
- tts_hash: z.string(),
27
- tts_name: z.string(),
26
+ tts_hash: z.string().nullable().default(null),
27
+ tts_name: z.string().nullable().default(null),
28
28
  //
29
29
  // Location
30
30
  district_id: z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20260805.229.7",
3
+ "version": "20260805.929.46",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"