@tmlmobilidade/types 20260121.2332.6 → 20260128.2248.28

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.
Files changed (150) hide show
  1. package/dist/_common/comment.d.ts +24 -24
  2. package/dist/_common/document.d.ts +3 -3
  3. package/dist/_common/document.js +1 -1
  4. package/dist/_common/status.d.ts +2 -2
  5. package/dist/_common/status.js +1 -1
  6. package/dist/_common/unix-timestamp.js +1 -0
  7. package/dist/agency.d.ts +6 -6
  8. package/dist/alerts/alert.d.ts +262 -0
  9. package/dist/alerts/alert.js +34 -0
  10. package/dist/alerts/cause-effect-map.d.ts +106 -0
  11. package/dist/alerts/cause-effect-map.js +94 -0
  12. package/dist/alerts/cause.d.ts +17 -0
  13. package/dist/alerts/cause.js +45 -0
  14. package/dist/alerts/effect.d.ts +17 -0
  15. package/dist/alerts/effect.js +35 -0
  16. package/dist/alerts/index.d.ts +6 -0
  17. package/dist/alerts/index.js +6 -0
  18. package/dist/alerts/query.d.ts +9 -0
  19. package/dist/alerts/query.js +6 -0
  20. package/dist/alerts/reference-type.d.ts +4 -0
  21. package/dist/alerts/reference-type.js +10 -0
  22. package/dist/apex/simplified-apex-location.d.ts +2 -12
  23. package/dist/apex/simplified-apex-location.js +1 -1
  24. package/dist/apex/simplified-apex-on-board-refund.d.ts +2 -12
  25. package/dist/apex/simplified-apex-on-board-refund.js +1 -1
  26. package/dist/apex/simplified-apex-on-board-sale.d.ts +12 -19
  27. package/dist/apex/simplified-apex-on-board-sale.js +2 -2
  28. package/dist/apex/simplified-apex-validation.d.ts +6 -16
  29. package/dist/apex/simplified-apex-validation.js +1 -1
  30. package/dist/auth/role.d.ts +718 -130
  31. package/dist/auth/session.d.ts +6 -6
  32. package/dist/auth/user.d.ts +1182 -270
  33. package/dist/auth/verification-token.d.ts +4 -4
  34. package/dist/calendar/event.d.ts +43 -0
  35. package/dist/calendar/event.js +16 -0
  36. package/dist/calendar/index.d.ts +1 -0
  37. package/dist/calendar/index.js +2 -0
  38. package/dist/dates/annotation.d.ts +6 -6
  39. package/dist/dates/date.d.ts +32 -0
  40. package/dist/dates/date.js +18 -0
  41. package/dist/dates/index.d.ts +2 -0
  42. package/dist/dates/index.js +2 -0
  43. package/dist/dates/period.d.ts +94 -0
  44. package/dist/dates/period.js +14 -0
  45. package/dist/file-exports/base.d.ts +9 -9
  46. package/dist/file-exports/file-exports.d.ts +7 -7
  47. package/dist/file-exports/ride-export.d.ts +14 -14
  48. package/dist/file-exports/ride-export.js +2 -2
  49. package/dist/gtfs/cause.d.ts +10 -0
  50. package/dist/gtfs/cause.js +18 -0
  51. package/dist/gtfs/effect.d.ts +10 -0
  52. package/dist/gtfs/effect.js +17 -0
  53. package/dist/gtfs/index.d.ts +2 -1
  54. package/dist/gtfs/index.js +2 -1
  55. package/dist/index.d.ts +5 -2
  56. package/dist/index.js +5 -2
  57. package/dist/locations/queries.d.ts +2 -2
  58. package/dist/metrics/demand/demand_by_agency.d.ts +8 -8
  59. package/dist/metrics/demand/demand_by_category.d.ts +12 -12
  60. package/dist/metrics/demand/demand_by_line.d.ts +4 -4
  61. package/dist/metrics/demand/demand_by_pattern.d.ts +8 -8
  62. package/dist/metrics/demand/demand_by_product.d.ts +12 -12
  63. package/dist/metrics/index.d.ts +93 -48
  64. package/dist/metrics/index.js +4 -1
  65. package/dist/metrics/passenger-impact/index.d.ts +1 -0
  66. package/dist/metrics/passenger-impact/index.js +1 -0
  67. package/dist/metrics/passenger-impact/passenger-impact.d.ts +97 -0
  68. package/dist/metrics/passenger-impact/passenger-impact.js +22 -0
  69. package/dist/metrics/supply/supply_by_agency.d.ts +4 -4
  70. package/dist/notification.d.ts +18 -18
  71. package/dist/offer/index.d.ts +5 -0
  72. package/dist/offer/index.js +5 -0
  73. package/dist/offer/line.d.ts +296 -0
  74. package/dist/offer/line.js +60 -0
  75. package/dist/offer/pattern.d.ts +3608 -0
  76. package/dist/offer/pattern.js +75 -0
  77. package/dist/offer/route.d.ts +187 -0
  78. package/dist/offer/route.js +33 -0
  79. package/dist/offer/scheduleRule.d.ts +80 -0
  80. package/dist/offer/scheduleRule.js +50 -0
  81. package/dist/offer/typology.d.ts +124 -0
  82. package/dist/offer/typology.js +30 -0
  83. package/dist/organization.d.ts +20 -20
  84. package/dist/permissions/alerts.d.ts +13 -19
  85. package/dist/permissions/alerts.js +8 -13
  86. package/dist/permissions/annotations.d.ts +25 -0
  87. package/dist/permissions/annotations.js +16 -0
  88. package/dist/permissions/fares.d.ts +25 -0
  89. package/dist/permissions/fares.js +16 -0
  90. package/dist/permissions/index.d.ts +196 -21
  91. package/dist/permissions/index.js +142 -6
  92. package/dist/permissions/lines.d.ts +25 -0
  93. package/dist/permissions/lines.js +16 -0
  94. package/dist/permissions/periods.d.ts +25 -0
  95. package/dist/permissions/periods.js +16 -0
  96. package/dist/permissions/typologies.d.ts +25 -0
  97. package/dist/permissions/typologies.js +16 -0
  98. package/dist/permissions/vehicles.d.ts +25 -0
  99. package/dist/permissions/vehicles.js +16 -0
  100. package/dist/permissions/zones.d.ts +25 -0
  101. package/dist/permissions/zones.js +16 -0
  102. package/dist/plans/gtfs-validation.d.ts +30 -30
  103. package/dist/plans/plan.d.ts +6 -6
  104. package/dist/proposed-change.d.ts +12 -12
  105. package/dist/rides/batch-query.d.ts +52 -0
  106. package/dist/rides/batch-query.js +54 -0
  107. package/dist/rides/index.d.ts +1 -0
  108. package/dist/rides/index.js +1 -0
  109. package/dist/rides/ride-acceptance.d.ts +105 -105
  110. package/dist/rides/ride-acceptance.js +2 -2
  111. package/dist/rides/ride-audit.d.ts +21 -21
  112. package/dist/rides/ride-normalized.d.ts +808 -21
  113. package/dist/rides/ride-normalized.js +31 -1
  114. package/dist/rides/ride.d.ts +6 -6
  115. package/dist/sams/sam.d.ts +0 -15
  116. package/dist/sams/sam.js +2 -2
  117. package/dist/stops/connections.d.ts +1 -0
  118. package/dist/stops/connections.js +1 -1
  119. package/dist/stops/equipment.d.ts +1 -0
  120. package/dist/stops/equipment.js +1 -1
  121. package/dist/stops/parent-station.d.ts +6 -6
  122. package/dist/stops/stop-area.d.ts +6 -6
  123. package/dist/stops/stop.d.ts +69 -69
  124. package/dist/ticketing/fare.d.ts +137 -0
  125. package/dist/ticketing/fare.js +44 -0
  126. package/dist/ticketing/index.d.ts +2 -0
  127. package/dist/ticketing/index.js +2 -0
  128. package/dist/ticketing/zone.d.ts +220 -0
  129. package/dist/ticketing/zone.js +34 -0
  130. package/dist/vehicle/emission.d.ts +3 -0
  131. package/dist/vehicle/emission.js +12 -0
  132. package/dist/vehicle/index.d.ts +4 -0
  133. package/dist/vehicle/index.js +4 -0
  134. package/dist/vehicle/propulsion.d.ts +3 -0
  135. package/dist/vehicle/propulsion.js +14 -0
  136. package/dist/vehicle/vehicle.d.ts +189 -0
  137. package/dist/vehicle/vehicle.js +27 -0
  138. package/dist/vehicle/wheelchair.d.ts +3 -0
  139. package/dist/vehicle/wheelchair.js +10 -0
  140. package/dist/vehicle-events/clickhouse-vehicle-event.d.ts +2 -6
  141. package/dist/vehicle-events/simplified-vehicle-event.d.ts +2 -6
  142. package/dist/vehicle-events/simplified-vehicle-event.js +1 -1
  143. package/dist/zone.d.ts +6 -6
  144. package/package.json +2 -2
  145. package/dist/alert.d.ts +0 -265
  146. package/dist/alert.js +0 -42
  147. package/dist/gtfs/cause-effetcs.d.ts +0 -86
  148. package/dist/gtfs/cause-effetcs.js +0 -31
  149. package/dist/permissions/dates.d.ts +0 -25
  150. package/dist/permissions/dates.js +0 -16
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export declare const VerificationTokenSchema: z.ZodObject<Omit<{
3
3
  _id: z.ZodString;
4
4
  created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
5
- created_by: z.ZodOptional<z.ZodString>;
5
+ created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6
6
  is_locked: z.ZodDefault<z.ZodBoolean>;
7
7
  updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
8
8
  updated_by: z.ZodOptional<z.ZodString>;
@@ -15,6 +15,7 @@ export declare const VerificationTokenSchema: z.ZodObject<Omit<{
15
15
  created_at: number & {
16
16
  __brand: "UnixTimestamp";
17
17
  };
18
+ created_by: string | null;
18
19
  updated_at: number & {
19
20
  __brand: "UnixTimestamp";
20
21
  };
@@ -23,7 +24,6 @@ export declare const VerificationTokenSchema: z.ZodObject<Omit<{
23
24
  };
24
25
  token: string;
25
26
  user_id: string;
26
- created_by?: string | undefined;
27
27
  updated_by?: string | undefined;
28
28
  }, {
29
29
  _id: string;
@@ -32,13 +32,13 @@ export declare const VerificationTokenSchema: z.ZodObject<Omit<{
32
32
  expires_at: number;
33
33
  token: string;
34
34
  user_id: string;
35
- created_by?: string | undefined;
35
+ created_by?: string | null | undefined;
36
36
  updated_by?: string | undefined;
37
37
  }>;
38
38
  export declare const CreateVerificationTokenSchema: z.ZodObject<Omit<Omit<{
39
39
  _id: z.ZodString;
40
40
  created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
41
- created_by: z.ZodOptional<z.ZodString>;
41
+ created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
42
42
  is_locked: z.ZodDefault<z.ZodBoolean>;
43
43
  updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
44
44
  updated_by: z.ZodOptional<z.ZodString>;
@@ -0,0 +1,43 @@
1
+ import { z } from 'zod';
2
+ export declare const CalendarEventSchema: z.ZodObject<{
3
+ color: z.ZodOptional<z.ZodString>;
4
+ description: z.ZodOptional<z.ZodString>;
5
+ display: z.ZodOptional<z.ZodEnum<["cell", "strip", "dot"]>>;
6
+ endDate: z.ZodOptional<z.ZodString>;
7
+ icon: z.ZodOptional<z.ZodAny>;
8
+ id: z.ZodString;
9
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ startDate: z.ZodString;
11
+ title: z.ZodString;
12
+ type: z.ZodOptional<z.ZodEnum<["annotation", "period", "event"]>>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ title: string;
15
+ id: string;
16
+ startDate: string;
17
+ type?: "annotation" | "period" | "event" | undefined;
18
+ description?: string | undefined;
19
+ metadata?: Record<string, unknown> | undefined;
20
+ color?: string | undefined;
21
+ display?: "strip" | "cell" | "dot" | undefined;
22
+ endDate?: string | undefined;
23
+ icon?: any;
24
+ }, {
25
+ title: string;
26
+ id: string;
27
+ startDate: string;
28
+ type?: "annotation" | "period" | "event" | undefined;
29
+ description?: string | undefined;
30
+ metadata?: Record<string, unknown> | undefined;
31
+ color?: string | undefined;
32
+ display?: "strip" | "cell" | "dot" | undefined;
33
+ endDate?: string | undefined;
34
+ icon?: any;
35
+ }>;
36
+ export declare const CalendarEventTypeEnum: z.ZodOptional<z.ZodEnum<["annotation", "period", "event"]>>;
37
+ export type CalendarEventType = NonNullable<z.infer<typeof CalendarEventTypeEnum>>;
38
+ export interface CalendarEventMetadata {
39
+ [key: string]: unknown;
40
+ agency_id?: string;
41
+ agency_name?: string;
42
+ }
43
+ export type CalendarEvent = z.infer<typeof CalendarEventSchema>;
@@ -0,0 +1,16 @@
1
+ /* * */
2
+ import { z } from 'zod';
3
+ /* * */
4
+ export const CalendarEventSchema = z.object({
5
+ color: z.string().optional(),
6
+ description: z.string().optional(),
7
+ display: z.enum(['cell', 'strip', 'dot']).optional(),
8
+ endDate: z.string().optional(),
9
+ icon: z.any().optional(),
10
+ id: z.string(),
11
+ metadata: z.record(z.unknown()).optional(),
12
+ startDate: z.string(),
13
+ title: z.string(),
14
+ type: z.enum(['annotation', 'period', 'event']).optional(),
15
+ });
16
+ export const CalendarEventTypeEnum = CalendarEventSchema.shape.type;
@@ -0,0 +1 @@
1
+ export * from './event.js';
@@ -0,0 +1,2 @@
1
+ /* * */
2
+ export * from './event.js';
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export declare const AnnotationSchema: z.ZodObject<{
3
3
  _id: z.ZodString;
4
4
  created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
5
- created_by: z.ZodOptional<z.ZodString>;
5
+ created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6
6
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
7
7
  updated_by: z.ZodOptional<z.ZodString>;
8
8
  } & {
@@ -16,6 +16,7 @@ export declare const AnnotationSchema: z.ZodObject<{
16
16
  created_at: number & {
17
17
  __brand: "UnixTimestamp";
18
18
  };
19
+ created_by: string | null;
19
20
  is_locked: boolean;
20
21
  updated_at: number & {
21
22
  __brand: "UnixTimestamp";
@@ -23,7 +24,6 @@ export declare const AnnotationSchema: z.ZodObject<{
23
24
  title: string;
24
25
  agency_ids: string[];
25
26
  dates: import("../_common/operational-date.js").OperationalDate[];
26
- created_by?: string | undefined;
27
27
  updated_by?: string | undefined;
28
28
  description?: string | undefined;
29
29
  }, {
@@ -31,7 +31,7 @@ export declare const AnnotationSchema: z.ZodObject<{
31
31
  created_at: number;
32
32
  updated_at: number;
33
33
  title: string;
34
- created_by?: string | undefined;
34
+ created_by?: string | null | undefined;
35
35
  is_locked?: boolean | undefined;
36
36
  updated_by?: string | undefined;
37
37
  description?: string | undefined;
@@ -41,7 +41,7 @@ export declare const AnnotationSchema: z.ZodObject<{
41
41
  export declare const CreateAnnotationSchema: z.ZodObject<Omit<{
42
42
  _id: z.ZodString;
43
43
  created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
44
- created_by: z.ZodOptional<z.ZodString>;
44
+ created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
45
45
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
46
46
  updated_by: z.ZodOptional<z.ZodString>;
47
47
  } & {
@@ -51,16 +51,16 @@ export declare const CreateAnnotationSchema: z.ZodObject<Omit<{
51
51
  is_locked: z.ZodDefault<z.ZodBoolean>;
52
52
  title: z.ZodString;
53
53
  }, "_id" | "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
54
+ created_by: string | null;
54
55
  is_locked: boolean;
55
56
  title: string;
56
57
  agency_ids: string[];
57
58
  dates: import("../_common/operational-date.js").OperationalDate[];
58
- created_by?: string | undefined;
59
59
  updated_by?: string | undefined;
60
60
  description?: string | undefined;
61
61
  }, {
62
62
  title: string;
63
- created_by?: string | undefined;
63
+ created_by?: string | null | undefined;
64
64
  is_locked?: boolean | undefined;
65
65
  updated_by?: string | undefined;
66
66
  description?: string | undefined;
@@ -0,0 +1,32 @@
1
+ export type IsoWeekday = 1 | 2 | 3 | 4 | 5 | 6 | 7;
2
+ export declare const WEEKDAYS: {
3
+ readonly Fri: 5;
4
+ readonly Mon: 1;
5
+ readonly Sat: 6;
6
+ readonly Sun: 7;
7
+ readonly Thu: 4;
8
+ readonly Tue: 2;
9
+ readonly Wed: 3;
10
+ };
11
+ export declare const WEEKDAY_OPTIONS: readonly [{
12
+ readonly label: "Seg";
13
+ readonly value: 1;
14
+ }, {
15
+ readonly label: "Ter";
16
+ readonly value: 2;
17
+ }, {
18
+ readonly label: "Qua";
19
+ readonly value: 3;
20
+ }, {
21
+ readonly label: "Qui";
22
+ readonly value: 4;
23
+ }, {
24
+ readonly label: "Sex";
25
+ readonly value: 5;
26
+ }, {
27
+ readonly label: "Sáb";
28
+ readonly value: 6;
29
+ }, {
30
+ readonly label: "Dom";
31
+ readonly value: 7;
32
+ }];
@@ -0,0 +1,18 @@
1
+ export const WEEKDAYS = {
2
+ Fri: 5,
3
+ Mon: 1,
4
+ Sat: 6,
5
+ Sun: 7,
6
+ Thu: 4,
7
+ Tue: 2,
8
+ Wed: 3,
9
+ };
10
+ export const WEEKDAY_OPTIONS = [
11
+ { label: 'Seg', value: WEEKDAYS.Mon },
12
+ { label: 'Ter', value: WEEKDAYS.Tue },
13
+ { label: 'Qua', value: WEEKDAYS.Wed },
14
+ { label: 'Qui', value: WEEKDAYS.Thu },
15
+ { label: 'Sex', value: WEEKDAYS.Fri },
16
+ { label: 'Sáb', value: WEEKDAYS.Sat },
17
+ { label: 'Dom', value: WEEKDAYS.Sun },
18
+ ];
@@ -1 +1,3 @@
1
1
  export * from './annotation.js';
2
+ export * from './date.js';
3
+ export * from './period.js';
@@ -1 +1,3 @@
1
1
  export * from './annotation.js';
2
+ export * from './date.js';
3
+ export * from './period.js';
@@ -0,0 +1,94 @@
1
+ import { z } from 'zod';
2
+ export declare const PeriodSchema: z.ZodObject<{
3
+ _id: z.ZodString;
4
+ created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
5
+ created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6
+ updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
7
+ updated_by: z.ZodOptional<z.ZodString>;
8
+ } & {
9
+ agency_id: z.ZodOptional<z.ZodString>;
10
+ color: z.ZodOptional<z.ZodString>;
11
+ dates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>, "many">>;
12
+ is_locked: z.ZodDefault<z.ZodBoolean>;
13
+ name: z.ZodString;
14
+ }, "strip", z.ZodTypeAny, {
15
+ _id: string;
16
+ created_at: number & {
17
+ __brand: "UnixTimestamp";
18
+ };
19
+ created_by: string | null;
20
+ is_locked: boolean;
21
+ updated_at: number & {
22
+ __brand: "UnixTimestamp";
23
+ };
24
+ name: string;
25
+ updated_by?: string | undefined;
26
+ agency_id?: string | undefined;
27
+ color?: string | undefined;
28
+ dates?: import("../_common/operational-date.js").OperationalDate[] | undefined;
29
+ }, {
30
+ _id: string;
31
+ created_at: number;
32
+ updated_at: number;
33
+ name: string;
34
+ created_by?: string | null | undefined;
35
+ is_locked?: boolean | undefined;
36
+ updated_by?: string | undefined;
37
+ agency_id?: string | undefined;
38
+ color?: string | undefined;
39
+ dates?: string[] | undefined;
40
+ }>;
41
+ export declare const CreatePeriodSchema: z.ZodObject<Omit<{
42
+ _id: z.ZodString;
43
+ created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
44
+ created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
45
+ updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
46
+ updated_by: z.ZodOptional<z.ZodString>;
47
+ } & {
48
+ agency_id: z.ZodOptional<z.ZodString>;
49
+ color: z.ZodOptional<z.ZodString>;
50
+ dates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>, "many">>;
51
+ is_locked: z.ZodDefault<z.ZodBoolean>;
52
+ name: z.ZodString;
53
+ }, "_id" | "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
54
+ created_by: string | null;
55
+ is_locked: boolean;
56
+ name: string;
57
+ updated_by?: string | undefined;
58
+ agency_id?: string | undefined;
59
+ color?: string | undefined;
60
+ dates?: import("../_common/operational-date.js").OperationalDate[] | undefined;
61
+ }, {
62
+ name: string;
63
+ created_by?: string | null | undefined;
64
+ is_locked?: boolean | undefined;
65
+ updated_by?: string | undefined;
66
+ agency_id?: string | undefined;
67
+ color?: string | undefined;
68
+ dates?: string[] | undefined;
69
+ }>;
70
+ export declare const UpdatePeriodSchema: z.ZodObject<{
71
+ is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
72
+ updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
73
+ name: z.ZodOptional<z.ZodString>;
74
+ agency_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
75
+ color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
76
+ dates: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>, "many">>>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ is_locked?: boolean | undefined;
79
+ updated_by?: string | undefined;
80
+ name?: string | undefined;
81
+ agency_id?: string | undefined;
82
+ color?: string | undefined;
83
+ dates?: import("../_common/operational-date.js").OperationalDate[] | undefined;
84
+ }, {
85
+ is_locked?: boolean | undefined;
86
+ updated_by?: string | undefined;
87
+ name?: string | undefined;
88
+ agency_id?: string | undefined;
89
+ color?: string | undefined;
90
+ dates?: string[] | undefined;
91
+ }>;
92
+ export type Period = z.infer<typeof PeriodSchema>;
93
+ export type CreatePeriodDto = z.infer<typeof CreatePeriodSchema>;
94
+ export type UpdatePeriodDto = z.infer<typeof UpdatePeriodSchema>;
@@ -0,0 +1,14 @@
1
+ /* * */
2
+ import { DocumentSchema } from '../_common/document.js';
3
+ import { operationalDateSchema } from '../_common/operational-date.js';
4
+ import { z } from 'zod';
5
+ /* * */
6
+ export const PeriodSchema = DocumentSchema.extend({
7
+ agency_id: z.string().optional(),
8
+ color: z.string().optional(),
9
+ dates: z.array(operationalDateSchema).optional(),
10
+ is_locked: z.boolean().default(false),
11
+ name: z.string().min(1),
12
+ });
13
+ export const CreatePeriodSchema = PeriodSchema.omit({ _id: true, created_at: true, updated_at: true });
14
+ export const UpdatePeriodSchema = CreatePeriodSchema.omit({ created_by: true }).partial();
@@ -5,7 +5,7 @@ export type FileExportType = z.infer<typeof FileExportTypeSchema>;
5
5
  export declare const FileExportBaseSchema: z.ZodObject<Omit<{
6
6
  _id: z.ZodString;
7
7
  created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
8
- created_by: z.ZodOptional<z.ZodString>;
8
+ created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9
9
  is_locked: z.ZodDefault<z.ZodBoolean>;
10
10
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
11
11
  updated_by: z.ZodOptional<z.ZodString>;
@@ -20,6 +20,7 @@ export declare const FileExportBaseSchema: z.ZodObject<Omit<{
20
20
  created_at: number & {
21
21
  __brand: "UnixTimestamp";
22
22
  };
23
+ created_by: string | null;
23
24
  updated_at: number & {
24
25
  __brand: "UnixTimestamp";
25
26
  };
@@ -27,7 +28,6 @@ export declare const FileExportBaseSchema: z.ZodObject<Omit<{
27
28
  file_name: string;
28
29
  processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
29
30
  properties: Record<string, any>;
30
- created_by?: string | undefined;
31
31
  updated_by?: string | undefined;
32
32
  file_id?: string | null | undefined;
33
33
  }, {
@@ -38,12 +38,12 @@ export declare const FileExportBaseSchema: z.ZodObject<Omit<{
38
38
  file_name: string;
39
39
  processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
40
40
  properties: Record<string, any>;
41
- created_by?: string | undefined;
41
+ created_by?: string | null | undefined;
42
42
  updated_by?: string | undefined;
43
43
  file_id?: string | null | undefined;
44
44
  }>;
45
45
  export declare const CreateFileExportSchema: z.ZodObject<{
46
- created_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
46
+ created_by: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
47
47
  updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
48
48
  type: z.ZodOptional<z.ZodEnum<["ride"]>>;
49
49
  file_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -51,7 +51,7 @@ export declare const CreateFileExportSchema: z.ZodObject<{
51
51
  processing_status: z.ZodOptional<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>;
52
52
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
53
53
  }, "strip", z.ZodTypeAny, {
54
- created_by?: string | undefined;
54
+ created_by?: string | null | undefined;
55
55
  updated_by?: string | undefined;
56
56
  type?: "ride" | undefined;
57
57
  file_id?: string | null | undefined;
@@ -59,7 +59,7 @@ export declare const CreateFileExportSchema: z.ZodObject<{
59
59
  processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
60
60
  properties?: Record<string, any> | undefined;
61
61
  }, {
62
- created_by?: string | undefined;
62
+ created_by?: string | null | undefined;
63
63
  updated_by?: string | undefined;
64
64
  type?: "ride" | undefined;
65
65
  file_id?: string | null | undefined;
@@ -68,7 +68,7 @@ export declare const CreateFileExportSchema: z.ZodObject<{
68
68
  properties?: Record<string, any> | undefined;
69
69
  }>;
70
70
  export declare const UpdateFileExportSchema: z.ZodObject<{
71
- created_by: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
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
73
  type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["ride"]>>>;
74
74
  file_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -76,7 +76,7 @@ export declare const UpdateFileExportSchema: z.ZodObject<{
76
76
  processing_status: z.ZodOptional<z.ZodOptional<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>>;
77
77
  properties: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
78
78
  }, "strip", z.ZodTypeAny, {
79
- created_by?: string | undefined;
79
+ created_by?: string | null | undefined;
80
80
  updated_by?: string | undefined;
81
81
  type?: "ride" | undefined;
82
82
  file_id?: string | null | undefined;
@@ -84,7 +84,7 @@ export declare const UpdateFileExportSchema: z.ZodObject<{
84
84
  processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
85
85
  properties?: Record<string, any> | undefined;
86
86
  }, {
87
- created_by?: string | undefined;
87
+ created_by?: string | null | undefined;
88
88
  updated_by?: string | undefined;
89
89
  type?: "ride" | undefined;
90
90
  file_id?: string | null | undefined;
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3
3
  _id: z.ZodString;
4
4
  created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
5
- created_by: z.ZodOptional<z.ZodString>;
5
+ created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6
6
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
7
7
  updated_by: z.ZodOptional<z.ZodString>;
8
8
  file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31,8 +31,8 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
31
31
  date_start: number & {
32
32
  __brand: "UnixTimestamp";
33
33
  };
34
- agency_ids?: string[] | null | undefined;
35
34
  search?: string | null | undefined;
35
+ agency_ids?: string[] | null | undefined;
36
36
  acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
37
37
  analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
38
38
  analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
@@ -46,8 +46,8 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
46
46
  }, {
47
47
  date_end: number;
48
48
  date_start: number;
49
- agency_ids?: string[] | null | undefined;
50
49
  search?: string | null | undefined;
50
+ agency_ids?: string[] | null | undefined;
51
51
  acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
52
52
  analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
53
53
  analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
@@ -65,6 +65,7 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
65
65
  created_at: number & {
66
66
  __brand: "UnixTimestamp";
67
67
  };
68
+ created_by: string | null;
68
69
  updated_at: number & {
69
70
  __brand: "UnixTimestamp";
70
71
  };
@@ -78,8 +79,8 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
78
79
  date_start: number & {
79
80
  __brand: "UnixTimestamp";
80
81
  };
81
- agency_ids?: string[] | null | undefined;
82
82
  search?: string | null | undefined;
83
+ agency_ids?: string[] | null | undefined;
83
84
  acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
84
85
  analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
85
86
  analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
@@ -91,7 +92,6 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
91
92
  line_ids?: string[] | null | undefined;
92
93
  stop_ids?: string[] | null | undefined;
93
94
  };
94
- created_by?: string | undefined;
95
95
  updated_by?: string | undefined;
96
96
  file_id?: string | null | undefined;
97
97
  }, {
@@ -104,8 +104,8 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
104
104
  properties: {
105
105
  date_end: number;
106
106
  date_start: number;
107
- agency_ids?: string[] | null | undefined;
108
107
  search?: string | null | undefined;
108
+ agency_ids?: string[] | null | undefined;
109
109
  acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
110
110
  analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
111
111
  analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
@@ -117,7 +117,7 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
117
117
  line_ids?: string[] | null | undefined;
118
118
  stop_ids?: string[] | null | undefined;
119
119
  };
120
- created_by?: string | undefined;
120
+ created_by?: string | null | undefined;
121
121
  updated_by?: string | undefined;
122
122
  file_id?: string | null | undefined;
123
123
  }>]>;
@@ -62,7 +62,7 @@ export declare const FlatRideSchema: z.ZodObject<{
62
62
  analysis_TRANSACTION_SEQUENTIALITY_found_qty: z.ZodNullable<z.ZodNumber>;
63
63
  analysis_TRANSACTION_SEQUENTIALITY_missing_qty: z.ZodNullable<z.ZodNumber>;
64
64
  acceptance_status: z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodEnum<["justification_required", "under_review", "accepted", "rejected"]>>>>;
65
- justification_cause: z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_PROBLEM", "UNKNOWN_CAUSE", "WEATHER", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "ROAD_INCIDENT", "SYSTEM_FAILURE", "TRAFFIC_JAM", "VEHICLE_ISSUE"]>>>>;
65
+ justification_cause: z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "UNKNOWN_CAUSE", "WEATHER"]>>>>;
66
66
  justification_source: z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodEnum<["MANUAL", "ALERT"]>>>>;
67
67
  manual_trip_id: z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
68
68
  pto_message: z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>;
@@ -130,7 +130,7 @@ export declare const FlatRideSchema: z.ZodObject<{
130
130
  analysis_TRANSACTION_SEQUENTIALITY_missing_qty: number | null;
131
131
  acceptance_status?: "rejected" | "justification_required" | "under_review" | "accepted" | null | undefined;
132
132
  pto_message?: string | null | undefined;
133
- justification_cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE" | null | undefined;
133
+ justification_cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "UNKNOWN_CAUSE" | "WEATHER" | null | undefined;
134
134
  justification_source?: "MANUAL" | "ALERT" | null | undefined;
135
135
  manual_trip_id?: string | null | undefined;
136
136
  }, {
@@ -197,7 +197,7 @@ export declare const FlatRideSchema: z.ZodObject<{
197
197
  analysis_TRANSACTION_SEQUENTIALITY_missing_qty: number | null;
198
198
  acceptance_status?: "rejected" | "justification_required" | "under_review" | "accepted" | null | undefined;
199
199
  pto_message?: string | null | undefined;
200
- justification_cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE" | null | undefined;
200
+ justification_cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "UNKNOWN_CAUSE" | "WEATHER" | null | undefined;
201
201
  justification_source?: "MANUAL" | "ALERT" | null | undefined;
202
202
  manual_trip_id?: string | null | undefined;
203
203
  }>;
@@ -224,8 +224,8 @@ export declare const RideExportPropertiesSchema: z.ZodObject<{
224
224
  date_start: number & {
225
225
  __brand: "UnixTimestamp";
226
226
  };
227
- agency_ids?: string[] | null | undefined;
228
227
  search?: string | null | undefined;
228
+ agency_ids?: string[] | null | undefined;
229
229
  acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
230
230
  analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
231
231
  analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
@@ -239,8 +239,8 @@ export declare const RideExportPropertiesSchema: z.ZodObject<{
239
239
  }, {
240
240
  date_end: number;
241
241
  date_start: number;
242
- agency_ids?: string[] | null | undefined;
243
242
  search?: string | null | undefined;
243
+ agency_ids?: string[] | null | undefined;
244
244
  acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
245
245
  analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
246
246
  analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
@@ -262,8 +262,8 @@ export declare const RideExportPropertiesSchema: z.ZodObject<{
262
262
  date_start: number & {
263
263
  __brand: "UnixTimestamp";
264
264
  };
265
- agency_ids?: string[] | null | undefined;
266
265
  search?: string | null | undefined;
266
+ agency_ids?: string[] | null | undefined;
267
267
  acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
268
268
  analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
269
269
  analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
@@ -280,8 +280,8 @@ export declare const RideExportPropertiesSchema: z.ZodObject<{
280
280
  properties: {
281
281
  date_end: number;
282
282
  date_start: number;
283
- agency_ids?: string[] | null | undefined;
284
283
  search?: string | null | undefined;
284
+ agency_ids?: string[] | null | undefined;
285
285
  acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
286
286
  analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
287
287
  analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
@@ -297,7 +297,7 @@ export declare const RideExportPropertiesSchema: z.ZodObject<{
297
297
  export declare const RideExportSchema: z.ZodObject<{
298
298
  _id: z.ZodString;
299
299
  created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
300
- created_by: z.ZodOptional<z.ZodString>;
300
+ created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
301
301
  updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
302
302
  updated_by: z.ZodOptional<z.ZodString>;
303
303
  file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -326,8 +326,8 @@ export declare const RideExportSchema: z.ZodObject<{
326
326
  date_start: number & {
327
327
  __brand: "UnixTimestamp";
328
328
  };
329
- agency_ids?: string[] | null | undefined;
330
329
  search?: string | null | undefined;
330
+ agency_ids?: string[] | null | undefined;
331
331
  acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
332
332
  analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
333
333
  analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
@@ -341,8 +341,8 @@ export declare const RideExportSchema: z.ZodObject<{
341
341
  }, {
342
342
  date_end: number;
343
343
  date_start: number;
344
- agency_ids?: string[] | null | undefined;
345
344
  search?: string | null | undefined;
345
+ agency_ids?: string[] | null | undefined;
346
346
  acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
347
347
  analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
348
348
  analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
@@ -360,6 +360,7 @@ export declare const RideExportSchema: z.ZodObject<{
360
360
  created_at: number & {
361
361
  __brand: "UnixTimestamp";
362
362
  };
363
+ created_by: string | null;
363
364
  updated_at: number & {
364
365
  __brand: "UnixTimestamp";
365
366
  };
@@ -373,8 +374,8 @@ export declare const RideExportSchema: z.ZodObject<{
373
374
  date_start: number & {
374
375
  __brand: "UnixTimestamp";
375
376
  };
376
- agency_ids?: string[] | null | undefined;
377
377
  search?: string | null | undefined;
378
+ agency_ids?: string[] | null | undefined;
378
379
  acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
379
380
  analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
380
381
  analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
@@ -386,7 +387,6 @@ export declare const RideExportSchema: z.ZodObject<{
386
387
  line_ids?: string[] | null | undefined;
387
388
  stop_ids?: string[] | null | undefined;
388
389
  };
389
- created_by?: string | undefined;
390
390
  updated_by?: string | undefined;
391
391
  file_id?: string | null | undefined;
392
392
  }, {
@@ -399,8 +399,8 @@ export declare const RideExportSchema: z.ZodObject<{
399
399
  properties: {
400
400
  date_end: number;
401
401
  date_start: number;
402
- agency_ids?: string[] | null | undefined;
403
402
  search?: string | null | undefined;
403
+ agency_ids?: string[] | null | undefined;
404
404
  acceptance_status?: ("none" | "rejected" | "justification_required" | "under_review" | "accepted")[] | null | undefined;
405
405
  analysis_ended_at_last_stop?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
406
406
  analysis_expected_apex_validation_interval?: ("error" | "none" | "pass" | "fail" | "skip")[] | null | undefined;
@@ -412,7 +412,7 @@ export declare const RideExportSchema: z.ZodObject<{
412
412
  line_ids?: string[] | null | undefined;
413
413
  stop_ids?: string[] | null | undefined;
414
414
  };
415
- created_by?: string | undefined;
415
+ created_by?: string | null | undefined;
416
416
  updated_by?: string | undefined;
417
417
  file_id?: string | null | undefined;
418
418
  }>;