@tmlmobilidade/types 20260514.1140.40 → 20260514.1436.37

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.
@@ -28,3 +28,6 @@ export type AvailabilityStatus = z.infer<typeof AvailabilityStatusSchema>;
28
28
  export declare const ValidityStatusValues: readonly ["valid", "invalid", "unknown"];
29
29
  export declare const ValidityStatusSchema: z.ZodEnum<["valid", "invalid", "unknown"]>;
30
30
  export type ValidityStatus = z.infer<typeof ValidityStatusSchema>;
31
+ export declare const SystemStatusValues: readonly ["waiting", "incomplete", "complete", "error"];
32
+ export declare const SystemStatusSchema: z.ZodEnum<["waiting", "incomplete", "complete", "error"]>;
33
+ export type SystemStatus = z.infer<typeof SystemStatusSchema>;
@@ -40,3 +40,7 @@ export const AvailabilityStatusSchema = z.enum(AvailabilityStatusValues);
40
40
  /* VALIDITY STATUS */
41
41
  export const ValidityStatusValues = ['valid', 'invalid', 'unknown'];
42
42
  export const ValidityStatusSchema = z.enum(ValidityStatusValues);
43
+ /* * */
44
+ /* SYSTEM STATUS */
45
+ export const SystemStatusValues = ['waiting', 'incomplete', 'complete', 'error'];
46
+ export const SystemStatusSchema = z.enum(SystemStatusValues);
@@ -67,14 +67,14 @@ export declare const RoleSchema: z.ZodObject<{
67
67
  agency_ids?: string[] | undefined;
68
68
  } | undefined;
69
69
  }>, z.ZodObject<{
70
- action: z.ZodEnum<["read"]>;
70
+ action: z.ZodEnum<["read", "export"]>;
71
71
  scope: z.ZodLiteral<"sams">;
72
72
  }, "strip", z.ZodTypeAny, {
73
73
  scope: "sams";
74
- action: "read";
74
+ action: "read" | "export";
75
75
  }, {
76
76
  scope: "sams";
77
- action: "read";
77
+ action: "read" | "export";
78
78
  }>, z.ZodObject<{
79
79
  action: z.ZodEnum<["create", "read", "lock", "request_approval", "update_processing_status"]>;
80
80
  resources: z.ZodDefault<z.ZodObject<{
@@ -419,7 +419,7 @@ export declare const RoleSchema: z.ZodObject<{
419
419
  };
420
420
  } | {
421
421
  scope: "sams";
422
- action: "read";
422
+ action: "read" | "export";
423
423
  } | {
424
424
  scope: "annotations";
425
425
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -536,7 +536,7 @@ export declare const RoleSchema: z.ZodObject<{
536
536
  } | undefined;
537
537
  } | {
538
538
  scope: "sams";
539
- action: "read";
539
+ action: "read" | "export";
540
540
  } | {
541
541
  scope: "annotations";
542
542
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -695,14 +695,14 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
695
695
  agency_ids?: string[] | undefined;
696
696
  } | undefined;
697
697
  }>, z.ZodObject<{
698
- action: z.ZodEnum<["read"]>;
698
+ action: z.ZodEnum<["read", "export"]>;
699
699
  scope: z.ZodLiteral<"sams">;
700
700
  }, "strip", z.ZodTypeAny, {
701
701
  scope: "sams";
702
- action: "read";
702
+ action: "read" | "export";
703
703
  }, {
704
704
  scope: "sams";
705
- action: "read";
705
+ action: "read" | "export";
706
706
  }>, z.ZodObject<{
707
707
  action: z.ZodEnum<["create", "read", "lock", "request_approval", "update_processing_status"]>;
708
708
  resources: z.ZodDefault<z.ZodObject<{
@@ -1040,7 +1040,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
1040
1040
  };
1041
1041
  } | {
1042
1042
  scope: "sams";
1043
- action: "read";
1043
+ action: "read" | "export";
1044
1044
  } | {
1045
1045
  scope: "annotations";
1046
1046
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -1154,7 +1154,7 @@ export declare const CreateRoleSchema: z.ZodObject<Omit<{
1154
1154
  } | undefined;
1155
1155
  } | {
1156
1156
  scope: "sams";
1157
- action: "read";
1157
+ action: "read" | "export";
1158
1158
  } | {
1159
1159
  scope: "annotations";
1160
1160
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -1308,14 +1308,14 @@ export declare const UpdateRoleSchema: z.ZodObject<{
1308
1308
  agency_ids?: string[] | undefined;
1309
1309
  } | undefined;
1310
1310
  }>, z.ZodObject<{
1311
- action: z.ZodEnum<["read"]>;
1311
+ action: z.ZodEnum<["read", "export"]>;
1312
1312
  scope: z.ZodLiteral<"sams">;
1313
1313
  }, "strip", z.ZodTypeAny, {
1314
1314
  scope: "sams";
1315
- action: "read";
1315
+ action: "read" | "export";
1316
1316
  }, {
1317
1317
  scope: "sams";
1318
- action: "read";
1318
+ action: "read" | "export";
1319
1319
  }>, z.ZodObject<{
1320
1320
  action: z.ZodEnum<["create", "read", "lock", "request_approval", "update_processing_status"]>;
1321
1321
  resources: z.ZodDefault<z.ZodObject<{
@@ -1653,7 +1653,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
1653
1653
  };
1654
1654
  } | {
1655
1655
  scope: "sams";
1656
- action: "read";
1656
+ action: "read" | "export";
1657
1657
  } | {
1658
1658
  scope: "annotations";
1659
1659
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -1765,7 +1765,7 @@ export declare const UpdateRoleSchema: z.ZodObject<{
1765
1765
  } | undefined;
1766
1766
  } | {
1767
1767
  scope: "sams";
1768
- action: "read";
1768
+ action: "read" | "export";
1769
1769
  } | {
1770
1770
  scope: "annotations";
1771
1771
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -72,14 +72,14 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
72
72
  agency_ids?: string[] | undefined;
73
73
  } | undefined;
74
74
  }>, z.ZodObject<{
75
- action: z.ZodEnum<["read"]>;
75
+ action: z.ZodEnum<["read", "export"]>;
76
76
  scope: z.ZodLiteral<"sams">;
77
77
  }, "strip", z.ZodTypeAny, {
78
78
  scope: "sams";
79
- action: "read";
79
+ action: "read" | "export";
80
80
  }, {
81
81
  scope: "sams";
82
- action: "read";
82
+ action: "read" | "export";
83
83
  }>, z.ZodObject<{
84
84
  action: z.ZodEnum<["create", "read", "lock", "request_approval", "update_processing_status"]>;
85
85
  resources: z.ZodDefault<z.ZodObject<{
@@ -74,14 +74,14 @@ export declare const UserSchema_UNSAFE: z.ZodObject<{
74
74
  agency_ids?: string[] | undefined;
75
75
  } | undefined;
76
76
  }>, z.ZodObject<{
77
- action: z.ZodEnum<["read"]>;
77
+ action: z.ZodEnum<["read", "export"]>;
78
78
  scope: z.ZodLiteral<"sams">;
79
79
  }, "strip", z.ZodTypeAny, {
80
80
  scope: "sams";
81
- action: "read";
81
+ action: "read" | "export";
82
82
  }, {
83
83
  scope: "sams";
84
- action: "read";
84
+ action: "read" | "export";
85
85
  }>, z.ZodObject<{
86
86
  action: z.ZodEnum<["create", "read", "lock", "request_approval", "update_processing_status"]>;
87
87
  resources: z.ZodDefault<z.ZodObject<{
@@ -433,7 +433,7 @@ export declare const UserSchema_UNSAFE: z.ZodObject<{
433
433
  };
434
434
  } | {
435
435
  scope: "sams";
436
- action: "read";
436
+ action: "read" | "export";
437
437
  } | {
438
438
  scope: "annotations";
439
439
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -564,7 +564,7 @@ export declare const UserSchema_UNSAFE: z.ZodObject<{
564
564
  } | undefined;
565
565
  } | {
566
566
  scope: "sams";
567
- action: "read";
567
+ action: "read" | "export";
568
568
  } | {
569
569
  scope: "annotations";
570
570
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -735,14 +735,14 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
735
735
  agency_ids?: string[] | undefined;
736
736
  } | undefined;
737
737
  }>, z.ZodObject<{
738
- action: z.ZodEnum<["read"]>;
738
+ action: z.ZodEnum<["read", "export"]>;
739
739
  scope: z.ZodLiteral<"sams">;
740
740
  }, "strip", z.ZodTypeAny, {
741
741
  scope: "sams";
742
- action: "read";
742
+ action: "read" | "export";
743
743
  }, {
744
744
  scope: "sams";
745
- action: "read";
745
+ action: "read" | "export";
746
746
  }>, z.ZodObject<{
747
747
  action: z.ZodEnum<["create", "read", "lock", "request_approval", "update_processing_status"]>;
748
748
  resources: z.ZodDefault<z.ZodObject<{
@@ -1087,7 +1087,7 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
1087
1087
  };
1088
1088
  } | {
1089
1089
  scope: "sams";
1090
- action: "read";
1090
+ action: "read" | "export";
1091
1091
  } | {
1092
1092
  scope: "annotations";
1093
1093
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -1215,7 +1215,7 @@ export declare const CreateUserSchema: z.ZodObject<Omit<{
1215
1215
  } | undefined;
1216
1216
  } | {
1217
1217
  scope: "sams";
1218
- action: "read";
1218
+ action: "read" | "export";
1219
1219
  } | {
1220
1220
  scope: "annotations";
1221
1221
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -1377,14 +1377,14 @@ export declare const UpdateUserSchema: z.ZodObject<{
1377
1377
  agency_ids?: string[] | undefined;
1378
1378
  } | undefined;
1379
1379
  }>, z.ZodObject<{
1380
- action: z.ZodEnum<["read"]>;
1380
+ action: z.ZodEnum<["read", "export"]>;
1381
1381
  scope: z.ZodLiteral<"sams">;
1382
1382
  }, "strip", z.ZodTypeAny, {
1383
1383
  scope: "sams";
1384
- action: "read";
1384
+ action: "read" | "export";
1385
1385
  }, {
1386
1386
  scope: "sams";
1387
- action: "read";
1387
+ action: "read" | "export";
1388
1388
  }>, z.ZodObject<{
1389
1389
  action: z.ZodEnum<["create", "read", "lock", "request_approval", "update_processing_status"]>;
1390
1390
  resources: z.ZodDefault<z.ZodObject<{
@@ -1731,7 +1731,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
1731
1731
  };
1732
1732
  } | {
1733
1733
  scope: "sams";
1734
- action: "read";
1734
+ action: "read" | "export";
1735
1735
  } | {
1736
1736
  scope: "annotations";
1737
1737
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -1852,7 +1852,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
1852
1852
  } | undefined;
1853
1853
  } | {
1854
1854
  scope: "sams";
1855
- action: "read";
1855
+ action: "read" | "export";
1856
1856
  } | {
1857
1857
  scope: "annotations";
1858
1858
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -2024,14 +2024,14 @@ export declare const UserSchema: z.ZodObject<Omit<{
2024
2024
  agency_ids?: string[] | undefined;
2025
2025
  } | undefined;
2026
2026
  }>, z.ZodObject<{
2027
- action: z.ZodEnum<["read"]>;
2027
+ action: z.ZodEnum<["read", "export"]>;
2028
2028
  scope: z.ZodLiteral<"sams">;
2029
2029
  }, "strip", z.ZodTypeAny, {
2030
2030
  scope: "sams";
2031
- action: "read";
2031
+ action: "read" | "export";
2032
2032
  }, {
2033
2033
  scope: "sams";
2034
- action: "read";
2034
+ action: "read" | "export";
2035
2035
  }>, z.ZodObject<{
2036
2036
  action: z.ZodEnum<["create", "read", "lock", "request_approval", "update_processing_status"]>;
2037
2037
  resources: z.ZodDefault<z.ZodObject<{
@@ -2383,7 +2383,7 @@ export declare const UserSchema: z.ZodObject<Omit<{
2383
2383
  };
2384
2384
  } | {
2385
2385
  scope: "sams";
2386
- action: "read";
2386
+ action: "read" | "export";
2387
2387
  } | {
2388
2388
  scope: "annotations";
2389
2389
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -2511,7 +2511,7 @@ export declare const UserSchema: z.ZodObject<Omit<{
2511
2511
  } | undefined;
2512
2512
  } | {
2513
2513
  scope: "sams";
2514
- action: "read";
2514
+ action: "read" | "export";
2515
2515
  } | {
2516
2516
  scope: "annotations";
2517
2517
  action: "create" | "update" | "delete" | "read" | "lock";
@@ -2690,14 +2690,14 @@ export declare const UserDisplaySchema: z.ZodObject<Pick<Omit<{
2690
2690
  agency_ids?: string[] | undefined;
2691
2691
  } | undefined;
2692
2692
  }>, z.ZodObject<{
2693
- action: z.ZodEnum<["read"]>;
2693
+ action: z.ZodEnum<["read", "export"]>;
2694
2694
  scope: z.ZodLiteral<"sams">;
2695
2695
  }, "strip", z.ZodTypeAny, {
2696
2696
  scope: "sams";
2697
- action: "read";
2697
+ action: "read" | "export";
2698
2698
  }, {
2699
2699
  scope: "sams";
2700
- action: "read";
2700
+ action: "read" | "export";
2701
2701
  }>, z.ZodObject<{
2702
2702
  action: z.ZodEnum<["create", "read", "lock", "request_approval", "update_processing_status"]>;
2703
2703
  resources: z.ZodDefault<z.ZodObject<{
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- export declare const FileExportTypes: readonly ["gtfs", "ride"];
3
- export declare const FileExportTypeSchema: z.ZodEnum<["gtfs", "ride"]>;
2
+ export declare const FileExportTypes: readonly ["gtfs", "ride", "sams_analysis"];
3
+ export declare const FileExportTypeSchema: z.ZodEnum<["gtfs", "ride", "sams_analysis"]>;
4
4
  export type FileExportType = z.infer<typeof FileExportTypeSchema>;
5
5
  export declare const FileExportBaseSchema: z.ZodObject<Omit<{
6
6
  _id: z.ZodString;
@@ -14,7 +14,7 @@ export declare const FileExportBaseSchema: z.ZodObject<Omit<{
14
14
  file_name: z.ZodString;
15
15
  processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>;
16
16
  properties: z.ZodRecord<z.ZodString, z.ZodAny>;
17
- type: z.ZodEnum<["gtfs", "ride"]>;
17
+ type: z.ZodEnum<["gtfs", "ride", "sams_analysis"]>;
18
18
  }, "strip", z.ZodTypeAny, {
19
19
  _id: string;
20
20
  created_at: number & {
@@ -24,7 +24,7 @@ export declare const FileExportBaseSchema: z.ZodObject<Omit<{
24
24
  updated_at: number & {
25
25
  __brand: "UnixTimestamp";
26
26
  };
27
- type: "gtfs" | "ride";
27
+ type: "gtfs" | "ride" | "sams_analysis";
28
28
  file_name: string;
29
29
  processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
30
30
  properties: Record<string, any>;
@@ -34,7 +34,7 @@ export declare const FileExportBaseSchema: z.ZodObject<Omit<{
34
34
  _id: string;
35
35
  created_at: number;
36
36
  updated_at: number;
37
- type: "gtfs" | "ride";
37
+ type: "gtfs" | "ride" | "sams_analysis";
38
38
  file_name: string;
39
39
  processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
40
40
  properties: Record<string, any>;
@@ -45,7 +45,7 @@ export declare const FileExportBaseSchema: z.ZodObject<Omit<{
45
45
  export declare const CreateFileExportSchema: z.ZodObject<{
46
46
  created_by: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
47
47
  updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
48
- type: z.ZodOptional<z.ZodEnum<["gtfs", "ride"]>>;
48
+ type: z.ZodOptional<z.ZodEnum<["gtfs", "ride", "sams_analysis"]>>;
49
49
  file_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
50
50
  file_name: z.ZodOptional<z.ZodString>;
51
51
  processing_status: z.ZodOptional<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>;
@@ -53,7 +53,7 @@ export declare const CreateFileExportSchema: z.ZodObject<{
53
53
  }, "strip", z.ZodTypeAny, {
54
54
  created_by?: string | null | undefined;
55
55
  updated_by?: string | undefined;
56
- type?: "gtfs" | "ride" | undefined;
56
+ type?: "gtfs" | "ride" | "sams_analysis" | undefined;
57
57
  file_id?: string | null | undefined;
58
58
  file_name?: string | undefined;
59
59
  processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
@@ -61,7 +61,7 @@ export declare const CreateFileExportSchema: z.ZodObject<{
61
61
  }, {
62
62
  created_by?: string | null | undefined;
63
63
  updated_by?: string | undefined;
64
- type?: "gtfs" | "ride" | undefined;
64
+ type?: "gtfs" | "ride" | "sams_analysis" | undefined;
65
65
  file_id?: string | null | undefined;
66
66
  file_name?: string | undefined;
67
67
  processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
@@ -70,7 +70,7 @@ export declare const CreateFileExportSchema: z.ZodObject<{
70
70
  export declare const UpdateFileExportSchema: z.ZodObject<{
71
71
  created_by: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
72
72
  updated_by: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
73
- type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["gtfs", "ride"]>>>;
73
+ type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["gtfs", "ride", "sams_analysis"]>>>;
74
74
  file_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
75
75
  file_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
76
76
  processing_status: z.ZodOptional<z.ZodOptional<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>>;
@@ -78,7 +78,7 @@ export declare const UpdateFileExportSchema: z.ZodObject<{
78
78
  }, "strip", z.ZodTypeAny, {
79
79
  created_by?: string | null | undefined;
80
80
  updated_by?: string | undefined;
81
- type?: "gtfs" | "ride" | undefined;
81
+ type?: "gtfs" | "ride" | "sams_analysis" | undefined;
82
82
  file_id?: string | null | undefined;
83
83
  file_name?: string | undefined;
84
84
  processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
@@ -86,7 +86,7 @@ export declare const UpdateFileExportSchema: z.ZodObject<{
86
86
  }, {
87
87
  created_by?: string | null | undefined;
88
88
  updated_by?: string | undefined;
89
- type?: "gtfs" | "ride" | undefined;
89
+ type?: "gtfs" | "ride" | "sams_analysis" | undefined;
90
90
  file_id?: string | null | undefined;
91
91
  file_name?: string | undefined;
92
92
  processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
@@ -3,7 +3,7 @@ import { DocumentSchema } from '../_common/document.js';
3
3
  import { ProcessingStatusSchema } from '../_common/status.js';
4
4
  import { z } from 'zod';
5
5
  /* * */
6
- export const FileExportTypes = ['gtfs', 'ride'];
6
+ export const FileExportTypes = ['gtfs', 'ride', 'sams_analysis'];
7
7
  export const FileExportTypeSchema = z.enum(FileExportTypes);
8
8
  /* * */
9
9
  export const FileExportBaseSchema = DocumentSchema
@@ -234,5 +234,103 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
234
234
  created_by?: string | null | undefined;
235
235
  updated_by?: string | undefined;
236
236
  file_id?: string | null | undefined;
237
+ }>, z.ZodObject<{
238
+ _id: z.ZodString;
239
+ created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
240
+ created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
241
+ updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
242
+ updated_by: z.ZodOptional<z.ZodString>;
243
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
+ file_name: z.ZodString;
245
+ processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>;
246
+ } & {
247
+ properties: z.ZodObject<{
248
+ _id: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
249
+ agency_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
250
+ apex_versions: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
251
+ end_time: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>>>;
252
+ favorites_only: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
253
+ sam_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
254
+ search: z.ZodNullable<z.ZodOptional<z.ZodString>>;
255
+ seen_first_at: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>>>;
256
+ seen_last_at: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>>>;
257
+ start_time: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>>>;
258
+ statuses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["waiting", "incomplete", "complete", "error"]>, "many">>>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ _id?: number[] | null | undefined;
261
+ search?: string | null | undefined;
262
+ agency_ids?: string[] | null | undefined;
263
+ seen_last_at?: import("../index.js").UnixTimestamp | null | undefined;
264
+ end_time?: import("../index.js").UnixTimestamp | null | undefined;
265
+ start_time?: import("../index.js").UnixTimestamp | null | undefined;
266
+ seen_first_at?: import("../index.js").UnixTimestamp | null | undefined;
267
+ apex_versions?: string[] | null | undefined;
268
+ favorites_only?: boolean | null | undefined;
269
+ sam_ids?: number[] | null | undefined;
270
+ statuses?: ("waiting" | "complete" | "error" | "incomplete")[] | null | undefined;
271
+ }, {
272
+ _id?: number[] | null | undefined;
273
+ search?: string | null | undefined;
274
+ agency_ids?: string[] | null | undefined;
275
+ seen_last_at?: number | null | undefined;
276
+ end_time?: number | null | undefined;
277
+ start_time?: number | null | undefined;
278
+ seen_first_at?: number | null | undefined;
279
+ apex_versions?: string[] | null | undefined;
280
+ favorites_only?: boolean | null | undefined;
281
+ sam_ids?: number[] | null | undefined;
282
+ statuses?: ("waiting" | "complete" | "error" | "incomplete")[] | null | undefined;
283
+ }>;
284
+ type: z.ZodLiteral<"sams_analysis">;
285
+ }, "strip", z.ZodTypeAny, {
286
+ _id: string;
287
+ created_at: number & {
288
+ __brand: "UnixTimestamp";
289
+ };
290
+ created_by: string | null;
291
+ updated_at: number & {
292
+ __brand: "UnixTimestamp";
293
+ };
294
+ type: "sams_analysis";
295
+ file_name: string;
296
+ processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
297
+ properties: {
298
+ _id?: number[] | null | undefined;
299
+ search?: string | null | undefined;
300
+ agency_ids?: string[] | null | undefined;
301
+ seen_last_at?: import("../index.js").UnixTimestamp | null | undefined;
302
+ end_time?: import("../index.js").UnixTimestamp | null | undefined;
303
+ start_time?: import("../index.js").UnixTimestamp | null | undefined;
304
+ seen_first_at?: import("../index.js").UnixTimestamp | null | undefined;
305
+ apex_versions?: string[] | null | undefined;
306
+ favorites_only?: boolean | null | undefined;
307
+ sam_ids?: number[] | null | undefined;
308
+ statuses?: ("waiting" | "complete" | "error" | "incomplete")[] | null | undefined;
309
+ };
310
+ updated_by?: string | undefined;
311
+ file_id?: string | null | undefined;
312
+ }, {
313
+ _id: string;
314
+ created_at: number;
315
+ updated_at: number;
316
+ type: "sams_analysis";
317
+ file_name: string;
318
+ processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
319
+ properties: {
320
+ _id?: number[] | null | undefined;
321
+ search?: string | null | undefined;
322
+ agency_ids?: string[] | null | undefined;
323
+ seen_last_at?: number | null | undefined;
324
+ end_time?: number | null | undefined;
325
+ start_time?: number | null | undefined;
326
+ seen_first_at?: number | null | undefined;
327
+ apex_versions?: string[] | null | undefined;
328
+ favorites_only?: boolean | null | undefined;
329
+ sam_ids?: number[] | null | undefined;
330
+ statuses?: ("waiting" | "complete" | "error" | "incomplete")[] | null | undefined;
331
+ };
332
+ created_by?: string | null | undefined;
333
+ updated_by?: string | undefined;
334
+ file_id?: string | null | undefined;
237
335
  }>]>;
238
336
  export type FileExport = z.infer<typeof FileExportSchema>;
@@ -1,9 +1,11 @@
1
1
  /* * */
2
2
  import { GtfsExportSchema } from './gtfs-export.js';
3
3
  import { RideExportSchema } from './ride-export.js';
4
+ import { SamsAnalysisExportSchema } from './sams-analysis-export.js';
4
5
  import { z } from 'zod';
5
6
  /* * */
6
7
  export const FileExportSchema = z.discriminatedUnion('type', [
7
8
  GtfsExportSchema,
8
9
  RideExportSchema,
10
+ SamsAnalysisExportSchema,
9
11
  ]);
@@ -2,3 +2,4 @@ export * from './base.js';
2
2
  export * from './file-exports.js';
3
3
  export * from './gtfs-export.js';
4
4
  export * from './ride-export.js';
5
+ export * from './sams-analysis-export.js';
@@ -2,3 +2,4 @@ export * from './base.js';
2
2
  export * from './file-exports.js';
3
3
  export * from './gtfs-export.js';
4
4
  export * from './ride-export.js';
5
+ export * from './sams-analysis-export.js';