@tmlmobilidade/types 20260110.331.4 → 20260113.1457.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.
@@ -42,21 +42,55 @@ export declare const FileExportBaseSchema: z.ZodObject<Omit<{
42
42
  updated_by?: string | undefined;
43
43
  file_id?: string | null | undefined;
44
44
  }>;
45
- export declare const UpdateFileExportSchema: z.ZodObject<{
45
+ export declare const CreateFileExportSchema: z.ZodObject<{
46
+ created_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
46
47
  updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
48
+ type: z.ZodOptional<z.ZodEnum<["ride"]>>;
47
49
  file_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
48
50
  file_name: z.ZodOptional<z.ZodString>;
49
51
  processing_status: z.ZodOptional<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>;
52
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
50
53
  }, "strip", z.ZodTypeAny, {
54
+ created_by?: string | undefined;
51
55
  updated_by?: string | undefined;
56
+ type?: "ride" | undefined;
52
57
  file_id?: string | null | undefined;
53
58
  file_name?: string | undefined;
54
59
  processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
60
+ properties?: Record<string, any> | undefined;
55
61
  }, {
62
+ created_by?: string | undefined;
63
+ updated_by?: string | undefined;
64
+ type?: "ride" | undefined;
65
+ file_id?: string | null | undefined;
66
+ file_name?: string | undefined;
67
+ processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
68
+ properties?: Record<string, any> | undefined;
69
+ }>;
70
+ export declare const UpdateFileExportSchema: z.ZodObject<{
71
+ created_by: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
72
+ updated_by: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
73
+ type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["ride"]>>>;
74
+ file_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
75
+ file_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
76
+ processing_status: z.ZodOptional<z.ZodOptional<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>>;
77
+ properties: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ created_by?: string | undefined;
80
+ updated_by?: string | undefined;
81
+ type?: "ride" | undefined;
82
+ file_id?: string | null | undefined;
83
+ file_name?: string | undefined;
84
+ processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
85
+ properties?: Record<string, any> | undefined;
86
+ }, {
87
+ created_by?: string | undefined;
56
88
  updated_by?: string | undefined;
89
+ type?: "ride" | undefined;
57
90
  file_id?: string | null | undefined;
58
91
  file_name?: string | undefined;
59
92
  processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
93
+ properties?: Record<string, any> | undefined;
60
94
  }>;
61
95
  export type UpdateFileExport = z.infer<typeof UpdateFileExportSchema>;
62
96
  export type CreateFileExportDto<T extends {
@@ -15,4 +15,5 @@ export const FileExportBaseSchema = DocumentSchema
15
15
  properties: z.record(z.any()),
16
16
  type: FileExportTypeSchema,
17
17
  });
18
- export const UpdateFileExportSchema = FileExportBaseSchema.omit({ _id: true, created_at: true, created_by: true, properties: true, type: true, updated_at: true }).partial();
18
+ export const CreateFileExportSchema = FileExportBaseSchema.omit({ _id: true, created_at: true, updated_at: true }).partial();
19
+ export const UpdateFileExportSchema = CreateFileExportSchema.partial();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20260110.331.4",
3
+ "version": "20260113.1457.7",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"