vms-nest-prisma-api-document 16.0.0 → 17.0.0

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 (95) hide show
  1. package/dist/core/BaseResponse.d.ts +1 -1
  2. package/dist/services/account/analytics/user_login_analytics_service.js +1 -1
  3. package/dist/services/account/analytics/user_page_analytics_service.js +1 -1
  4. package/dist/services/account/bookmark_service.js +1 -1
  5. package/dist/services/account/ticket_service.js +1 -1
  6. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +16 -16
  7. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.js +1 -1
  8. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +49 -49
  9. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.js +2 -2
  10. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +29 -29
  11. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.js +1 -1
  12. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +16 -16
  13. package/dist/services/gps/features/geofence/gps_geofence_service.js +1 -1
  14. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +15 -15
  15. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +1 -1
  16. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +10 -10
  17. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.js +1 -1
  18. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +6 -6
  19. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +1 -1
  20. package/dist/services/gps/features/gps_live_track_share_link_service.js +1 -1
  21. package/dist/services/gps/features/gps_track_history_share_link_service.js +1 -1
  22. package/dist/services/gps/features/user_notification_preferences.service.js +1 -1
  23. package/dist/services/gps/features/user_report_preferences.service.js +1 -1
  24. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
  25. package/dist/services/gps/reports/gps_reports_mongo_service.js +1 -1
  26. package/dist/services/main/devices/master_device_service.js +1 -1
  27. package/dist/services/main/drivers/master_driver_service.js +1 -1
  28. package/dist/services/main/sims/master_sim_service.js +1 -1
  29. package/dist/services/main/users/user_admin_service.js +1 -1
  30. package/dist/services/main/users/user_organisation_service.js +1 -1
  31. package/dist/services/main/users/user_service.js +1 -1
  32. package/dist/services/main/vehicle/childs/vehicle_odometer_history.js +1 -1
  33. package/dist/services/main/vehicle/master_vehicle_service.js +1 -1
  34. package/dist/services/master/device/master_device_manufacturer_service.js +1 -1
  35. package/dist/services/master/device/master_device_model_service.js +1 -1
  36. package/dist/services/master/device/master_device_type_service.js +1 -1
  37. package/dist/services/master/expense/master_expense_name_service.js +1 -1
  38. package/dist/services/master/expense/master_expense_type_service.js +1 -1
  39. package/dist/services/master/expense/master_fuel_company_service.js +1 -1
  40. package/dist/services/master/expense/master_vendor_document_type_service.js +1 -1
  41. package/dist/services/master/expense/master_vendor_type_service.js +1 -1
  42. package/dist/services/master/fleet/master_fleet_incident_severity_service.js +1 -1
  43. package/dist/services/master/fleet/master_fleet_incident_status_service.js +1 -1
  44. package/dist/services/master/fleet/master_fleet_incident_type_service.js +1 -1
  45. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.js +1 -1
  46. package/dist/services/master/fleet/master_fleet_service_task_service.js +1 -1
  47. package/dist/services/master/main/master_main_country_service.js +1 -1
  48. package/dist/services/master/main/master_main_currency_service.js +1 -1
  49. package/dist/services/master/main/master_main_date_format_service.js +1 -1
  50. package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
  51. package/dist/services/master/main/master_main_eway_bill_provider_service.js +1 -1
  52. package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
  53. package/dist/services/master/main/master_main_fasttag_bank_service.js +1 -1
  54. package/dist/services/master/main/master_main_industry_service.js +1 -1
  55. package/dist/services/master/main/master_main_landmark_service.d.ts +6 -6
  56. package/dist/services/master/main/master_main_landmark_service.js +1 -1
  57. package/dist/services/master/main/master_main_language_service.js +1 -1
  58. package/dist/services/master/main/master_main_sim_provider_service.js +1 -1
  59. package/dist/services/master/main/master_main_state_service.js +1 -1
  60. package/dist/services/master/main/master_main_timezone_service.js +1 -1
  61. package/dist/services/master/main/master_main_unit_distance_service.js +1 -1
  62. package/dist/services/master/main/master_main_unit_mileage_service.js +1 -1
  63. package/dist/services/master/main/master_main_unit_volume_service.js +1 -1
  64. package/dist/services/master/organisation/organisation_branch_service.js +1 -1
  65. package/dist/services/master/organisation/organisation_color_service.js +1 -1
  66. package/dist/services/master/organisation/organisation_group_service.js +1 -1
  67. package/dist/services/master/organisation/organisation_sub_company_service.js +1 -1
  68. package/dist/services/master/organisation/organisation_tag_service.js +1 -1
  69. package/dist/services/master/spare_part/master_spare_part_category_service.js +1 -1
  70. package/dist/services/master/spare_part/master_spare_part_sub_category_service.js +1 -1
  71. package/dist/services/master/spare_part/master_spare_part_unit_service.js +1 -1
  72. package/dist/services/master/trip/master_trip_party_type_service.js +1 -1
  73. package/dist/services/master/tyre/master_tyre_grade_service.js +1 -1
  74. package/dist/services/master/tyre/master_tyre_make_service.js +1 -1
  75. package/dist/services/master/tyre/master_tyre_model_service.js +1 -1
  76. package/dist/services/master/user/master_user_role_service.js +1 -1
  77. package/dist/services/master/user/master_user_status_service.js +1 -1
  78. package/dist/services/master/vehicle/master_vehicle_associated_to_service.js +1 -1
  79. package/dist/services/master/vehicle/master_vehicle_document_type_service.js +1 -1
  80. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +2 -2
  81. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.js +1 -1
  82. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.js +1 -1
  83. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.js +1 -1
  84. package/dist/services/master/vehicle/master_vehicle_make_service.js +1 -1
  85. package/dist/services/master/vehicle/master_vehicle_model_service.js +1 -1
  86. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.js +1 -1
  87. package/dist/services/master/vehicle/master_vehicle_status_type_service.js +1 -1
  88. package/dist/services/master/vehicle/master_vehicle_sub_model_service.js +1 -1
  89. package/dist/services/master/vehicle/master_vehicle_type_service.js +1 -1
  90. package/dist/services/website/contact_us_detail_service.js +1 -1
  91. package/dist/services/website/faq_service.js +1 -1
  92. package/dist/services/website/static_pages_service.js +1 -1
  93. package/dist/zod_utils/zod_base_schema.d.ts +2 -2
  94. package/dist/zod_utils/zod_base_schema.js +1 -1
  95. package/package.json +1 -1
@@ -36,23 +36,23 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
36
36
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
37
37
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- geofence_status_type: GeofenceStatusType;
40
- geofence_time: string;
39
+ gps_geofence_id: string;
41
40
  status: Status;
42
41
  organisation_id: string;
43
- vehicle_id: string;
44
- driver_id: string;
45
- gps_geofence_id: string;
46
42
  time_zone_id: string;
47
- }, {
43
+ driver_id: string;
44
+ vehicle_id: string;
48
45
  geofence_status_type: GeofenceStatusType;
49
46
  geofence_time: string;
47
+ }, {
48
+ gps_geofence_id: string;
50
49
  status: Status;
51
50
  organisation_id: string;
52
- vehicle_id: string;
53
- driver_id: string;
54
- gps_geofence_id: string;
55
51
  time_zone_id: string;
52
+ driver_id: string;
53
+ vehicle_id: string;
54
+ geofence_status_type: GeofenceStatusType;
55
+ geofence_time: string;
56
56
  }>;
57
57
  type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
58
58
  declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
@@ -94,9 +94,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
94
94
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
95
95
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
96
96
  }, "strip", z.ZodTypeAny, {
97
- geofence_status_type: GeofenceStatusType[];
98
97
  status: Status[];
99
- time_zone_id: string;
100
98
  search: string;
101
99
  paging: PAGING;
102
100
  page_count: number;
@@ -116,18 +114,19 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
116
114
  }[];
117
115
  include_master_data: YesNo;
118
116
  date_format_id: string;
117
+ time_zone_id: string;
119
118
  organisation_ids: string[];
119
+ gps_geofence_ids: string[];
120
120
  vehicle_ids: string[];
121
121
  driver_ids: string[];
122
- gps_geofence_ids: string[];
122
+ geofence_status_type: GeofenceStatusType[];
123
123
  from_date: string;
124
124
  to_date: string;
125
125
  }, {
126
- time_zone_id: string;
127
126
  date_format_id: string;
127
+ time_zone_id: string;
128
128
  from_date: string;
129
129
  to_date: string;
130
- geofence_status_type?: GeofenceStatusType[] | undefined;
131
130
  status?: Status[] | undefined;
132
131
  search?: string | undefined;
133
132
  paging?: PAGING | undefined;
@@ -148,9 +147,10 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
148
147
  }[] | undefined;
149
148
  include_master_data?: YesNo | undefined;
150
149
  organisation_ids?: string[] | undefined;
150
+ gps_geofence_ids?: string[] | undefined;
151
151
  vehicle_ids?: string[] | undefined;
152
152
  driver_ids?: string[] | undefined;
153
- gps_geofence_ids?: string[] | undefined;
153
+ geofence_status_type?: GeofenceStatusType[] | undefined;
154
154
  }>;
155
155
  type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
156
156
  declare const toGPSGeofenceTransactionPayload: (data: GPSGeofenceTransaction) => GPSGeofenceTransactionDTO;
@@ -217,7 +217,7 @@ var OrderBySchema = z2.array(
217
217
  })
218
218
  );
219
219
  var BaseFileSchema = z2.object({
220
- usage_type: stringOptional("Usage Type", 0, 100),
220
+ usage_type: stringMandatory("Usage Type", 3, 100),
221
221
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
222
222
  file_url: stringOptional("File URL", 0, 300),
223
223
  file_key: stringOptional("File Key", 0, 300),
@@ -46,24 +46,24 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
46
46
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
47
47
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
48
48
  }, "strip", z.ZodTypeAny, {
49
+ gps_geofence_id: string;
49
50
  status: Status;
50
51
  organisation_id: string;
51
- vehicle_id: string;
52
- driver_id: string;
53
- gps_geofence_id: string;
54
52
  time_zone_id: string;
53
+ driver_id: string;
54
+ vehicle_id: string;
55
55
  geofence_enter_date_time: string;
56
56
  geofence_exit_date_time: string;
57
57
  duration_seconds: number;
58
58
  enter_gps_geofence_transaction_id: string;
59
59
  exit_gps_geofence_transaction_id: string;
60
60
  }, {
61
+ gps_geofence_id: string;
61
62
  status: Status;
62
63
  organisation_id: string;
63
- vehicle_id: string;
64
- driver_id: string;
65
- gps_geofence_id: string;
66
64
  time_zone_id: string;
65
+ driver_id: string;
66
+ vehicle_id: string;
67
67
  geofence_enter_date_time: string;
68
68
  enter_gps_geofence_transaction_id: string;
69
69
  exit_gps_geofence_transaction_id: string;
@@ -110,7 +110,6 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
110
110
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
111
111
  }, "strip", z.ZodTypeAny, {
112
112
  status: Status[];
113
- time_zone_id: string;
114
113
  search: string;
115
114
  paging: PAGING;
116
115
  page_count: number;
@@ -130,15 +129,16 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
130
129
  }[];
131
130
  include_master_data: YesNo;
132
131
  date_format_id: string;
132
+ time_zone_id: string;
133
133
  organisation_ids: string[];
134
+ gps_geofence_ids: string[];
134
135
  vehicle_ids: string[];
135
136
  driver_ids: string[];
136
- gps_geofence_ids: string[];
137
137
  from_date: string;
138
138
  to_date: string;
139
139
  }, {
140
- time_zone_id: string;
141
140
  date_format_id: string;
141
+ time_zone_id: string;
142
142
  from_date: string;
143
143
  to_date: string;
144
144
  status?: Status[] | undefined;
@@ -161,9 +161,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
161
161
  }[] | undefined;
162
162
  include_master_data?: YesNo | undefined;
163
163
  organisation_ids?: string[] | undefined;
164
+ gps_geofence_ids?: string[] | undefined;
164
165
  vehicle_ids?: string[] | undefined;
165
166
  driver_ids?: string[] | undefined;
166
- gps_geofence_ids?: string[] | undefined;
167
167
  }>;
168
168
  type GPSGeofenceTransactionSummaryQueryDTO = z.infer<typeof GPSGeofenceTransactionSummaryQuerySchema>;
169
169
  declare const toGPSGeofenceTransactionSummaryPayload: (data: GPSGeofenceTransactionSummary) => GPSGeofenceTransactionSummaryDTO;
@@ -228,7 +228,7 @@ var OrderBySchema = z2.array(
228
228
  })
229
229
  );
230
230
  var BaseFileSchema = z2.object({
231
- usage_type: stringOptional("Usage Type", 0, 100),
231
+ usage_type: stringMandatory("Usage Type", 3, 100),
232
232
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
233
233
  file_url: stringOptional("File URL", 0, 300),
234
234
  file_key: stringOptional("File Key", 0, 300),
@@ -57,9 +57,9 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  status: Status;
59
59
  organisation_id: string;
60
- vehicle_id: string;
61
- driver_id: string;
62
60
  time_zone_id: string;
61
+ driver_id: string;
62
+ vehicle_id: string;
63
63
  duration_seconds: number;
64
64
  from_geofence_exit_date_time: string;
65
65
  to_geofence_enter_date_time: string;
@@ -73,9 +73,9 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
73
73
  }, {
74
74
  status: Status;
75
75
  organisation_id: string;
76
- vehicle_id: string;
77
- driver_id: string;
78
76
  time_zone_id: string;
77
+ driver_id: string;
78
+ vehicle_id: string;
79
79
  from_geofence_exit_date_time: string;
80
80
  to_geofence_enter_date_time: string;
81
81
  from_geofence_id: string;
@@ -128,7 +128,6 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
128
128
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
129
129
  }, "strip", z.ZodTypeAny, {
130
130
  status: Status[];
131
- time_zone_id: string;
132
131
  search: string;
133
132
  paging: PAGING;
134
133
  page_count: number;
@@ -148,6 +147,7 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
148
147
  }[];
149
148
  include_master_data: YesNo;
150
149
  date_format_id: string;
150
+ time_zone_id: string;
151
151
  organisation_ids: string[];
152
152
  vehicle_ids: string[];
153
153
  driver_ids: string[];
@@ -156,8 +156,8 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
156
156
  from_geofence_ids: string[];
157
157
  to_geofence_ids: string[];
158
158
  }, {
159
- time_zone_id: string;
160
159
  date_format_id: string;
160
+ time_zone_id: string;
161
161
  from_date: string;
162
162
  to_date: string;
163
163
  status?: Status[] | undefined;
@@ -240,7 +240,7 @@ var OrderBySchema = z2.array(
240
240
  })
241
241
  );
242
242
  var BaseFileSchema = z2.object({
243
- usage_type: stringOptional("Usage Type", 0, 100),
243
+ usage_type: stringMandatory("Usage Type", 3, 100),
244
244
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
245
245
  file_url: stringOptional("File URL", 0, 300),
246
246
  file_key: stringOptional("File Key", 0, 300),
@@ -250,7 +250,7 @@ var OrderBySchema = z2.array(
250
250
  })
251
251
  );
252
252
  var BaseFileSchema = z2.object({
253
- usage_type: stringOptional("Usage Type", 0, 100),
253
+ usage_type: stringMandatory("Usage Type", 3, 100),
254
254
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
255
255
  file_url: stringOptional("File URL", 0, 300),
256
256
  file_key: stringOptional("File Key", 0, 300),
@@ -215,7 +215,7 @@ var OrderBySchema = z2.array(
215
215
  })
216
216
  );
217
217
  var BaseFileSchema = z2.object({
218
- usage_type: stringOptional("Usage Type", 0, 100),
218
+ usage_type: stringMandatory("Usage Type", 3, 100),
219
219
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
220
220
  file_url: stringOptional("File URL", 0, 300),
221
221
  file_key: stringOptional("File Key", 0, 300),
@@ -235,7 +235,7 @@ var OrderBySchema = z2.array(
235
235
  })
236
236
  );
237
237
  var BaseFileSchema = z2.object({
238
- usage_type: stringOptional("Usage Type", 0, 100),
238
+ usage_type: stringMandatory("Usage Type", 3, 100),
239
239
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
240
240
  file_url: stringOptional("File URL", 0, 300),
241
241
  file_key: stringOptional("File Key", 0, 300),
@@ -233,7 +233,7 @@ var OrderBySchema = z2.array(
233
233
  })
234
234
  );
235
235
  var BaseFileSchema = z2.object({
236
- usage_type: stringOptional("Usage Type", 0, 100),
236
+ usage_type: stringMandatory("Usage Type", 3, 100),
237
237
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
238
238
  file_url: stringOptional("File URL", 0, 300),
239
239
  file_key: stringOptional("File Key", 0, 300),
@@ -34,41 +34,41 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
34
34
  vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
35
35
  driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
36
36
  }, "strip", z.ZodTypeAny, {
37
+ db_group: string;
38
+ db_instance: string;
39
+ night_driving: NightDriving;
37
40
  search: string;
38
41
  paging: PAGING;
39
42
  page_count: number;
40
43
  page_index: number;
41
- login_from: LoginFrom;
42
44
  date_format_id: string;
43
45
  time_zone_id: string;
46
+ login_from: LoginFrom;
44
47
  organisation_id: string;
45
- db_instance: string;
46
- db_group: string;
47
48
  vehicle_ids: string[];
48
49
  from_date: string;
49
50
  to_date: string;
50
51
  time_slot: TimeSlot;
51
- night_driving: NightDriving;
52
52
  over_speed: OverSpeed;
53
53
  utilization_km: number;
54
54
  vehicle_summary: YesNo;
55
55
  driver_summary: YesNo;
56
56
  }, {
57
- login_from: LoginFrom;
57
+ db_group: string;
58
+ db_instance: string;
58
59
  date_format_id: string;
59
60
  time_zone_id: string;
61
+ login_from: LoginFrom;
60
62
  organisation_id: string;
61
- db_instance: string;
62
- db_group: string;
63
63
  from_date: string;
64
64
  to_date: string;
65
+ night_driving?: NightDriving | undefined;
65
66
  search?: string | undefined;
66
67
  paging?: PAGING | undefined;
67
68
  page_count?: unknown;
68
69
  page_index?: unknown;
69
70
  vehicle_ids?: string[] | undefined;
70
71
  time_slot?: TimeSlot | undefined;
71
- night_driving?: NightDriving | undefined;
72
72
  over_speed?: OverSpeed | undefined;
73
73
  utilization_km?: unknown;
74
74
  vehicle_summary?: YesNo | undefined;
@@ -97,40 +97,40 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
97
97
  vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
98
98
  driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
99
99
  }, "strip", z.ZodTypeAny, {
100
+ db_group: string;
101
+ db_instance: string;
102
+ night_driving: NightDriving;
100
103
  search: string;
101
104
  paging: PAGING;
102
105
  page_count: number;
103
106
  page_index: number;
104
- login_from: LoginFrom;
105
107
  date_format_id: string;
106
108
  time_zone_id: string;
109
+ login_from: LoginFrom;
107
110
  organisation_id: string;
108
- db_instance: string;
109
- db_group: string;
110
111
  from_date: string;
111
112
  to_date: string;
112
113
  time_slot: TimeSlot;
113
- night_driving: NightDriving;
114
114
  over_speed: OverSpeed;
115
115
  utilization_km: number;
116
116
  vehicle_summary: YesNo;
117
117
  driver_summary: YesNo;
118
118
  driver_ids: string[];
119
119
  }, {
120
- login_from: LoginFrom;
120
+ db_group: string;
121
+ db_instance: string;
121
122
  date_format_id: string;
122
123
  time_zone_id: string;
124
+ login_from: LoginFrom;
123
125
  organisation_id: string;
124
- db_instance: string;
125
- db_group: string;
126
126
  from_date: string;
127
127
  to_date: string;
128
+ night_driving?: NightDriving | undefined;
128
129
  search?: string | undefined;
129
130
  paging?: PAGING | undefined;
130
131
  page_count?: unknown;
131
132
  page_index?: unknown;
132
133
  time_slot?: TimeSlot | undefined;
133
- night_driving?: NightDriving | undefined;
134
134
  over_speed?: OverSpeed | undefined;
135
135
  utilization_km?: unknown;
136
136
  vehicle_summary?: YesNo | undefined;
@@ -157,16 +157,16 @@ declare const SimpleReportSchema: z.ZodObject<{
157
157
  interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
158
158
  boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
159
159
  }, "strip", z.ZodTypeAny, {
160
+ db_group: string;
161
+ db_instance: string;
160
162
  search: string;
161
163
  paging: PAGING;
162
164
  page_count: number;
163
165
  page_index: number;
164
- login_from: LoginFrom;
165
166
  date_format_id: string;
166
167
  time_zone_id: string;
168
+ login_from: LoginFrom;
167
169
  organisation_id: string;
168
- db_instance: string;
169
- db_group: string;
170
170
  vehicle_ids: string[];
171
171
  from_date: string;
172
172
  to_date: string;
@@ -174,12 +174,12 @@ declare const SimpleReportSchema: z.ZodObject<{
174
174
  interval_seconds: number;
175
175
  boolean_type: BooleanType;
176
176
  }, {
177
- login_from: LoginFrom;
177
+ db_group: string;
178
+ db_instance: string;
178
179
  date_format_id: string;
179
180
  time_zone_id: string;
181
+ login_from: LoginFrom;
180
182
  organisation_id: string;
181
- db_instance: string;
182
- db_group: string;
183
183
  from_date: string;
184
184
  to_date: string;
185
185
  gps_type: GPSType;
@@ -208,26 +208,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
208
208
  utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
209
209
  is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
210
210
  }, "strip", z.ZodTypeAny, {
211
+ db_group: string;
212
+ db_instance: string;
211
213
  search: string;
212
214
  paging: PAGING;
213
215
  page_count: number;
214
216
  page_index: number;
215
- login_from: LoginFrom;
216
217
  date_format_id: string;
217
218
  time_zone_id: string;
219
+ login_from: LoginFrom;
218
220
  organisation_id: string;
219
- db_instance: string;
220
- db_group: string;
221
221
  vehicle_ids: string[];
222
222
  utilization_km: number;
223
223
  is12am: Is12AM;
224
224
  }, {
225
- login_from: LoginFrom;
225
+ db_group: string;
226
+ db_instance: string;
226
227
  date_format_id: string;
227
228
  time_zone_id: string;
229
+ login_from: LoginFrom;
228
230
  organisation_id: string;
229
- db_instance: string;
230
- db_group: string;
231
231
  is12am: Is12AM;
232
232
  search?: string | undefined;
233
233
  paging?: PAGING | undefined;
@@ -254,27 +254,27 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
254
254
  to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
255
255
  interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
256
256
  }, "strip", z.ZodTypeAny, {
257
+ db_group: string;
258
+ db_instance: string;
257
259
  search: string;
258
260
  paging: PAGING;
259
261
  page_count: number;
260
262
  page_index: number;
261
- login_from: LoginFrom;
262
263
  date_format_id: string;
263
264
  time_zone_id: string;
265
+ login_from: LoginFrom;
264
266
  organisation_id: string;
265
- db_instance: string;
266
- db_group: string;
267
267
  interval_seconds: number;
268
268
  vehicle_id: string;
269
269
  from_date_time: string;
270
270
  to_date_time: string;
271
271
  }, {
272
- login_from: LoginFrom;
272
+ db_group: string;
273
+ db_instance: string;
273
274
  date_format_id: string;
274
275
  time_zone_id: string;
276
+ login_from: LoginFrom;
275
277
  organisation_id: string;
276
- db_instance: string;
277
- db_group: string;
278
278
  vehicle_id: string;
279
279
  from_date_time: string;
280
280
  to_date_time: string;
@@ -299,24 +299,24 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
299
299
  db_group: z.ZodEffects<z.ZodString, string, string>;
300
300
  vehicle_id: z.ZodEffects<z.ZodString, string, string>;
301
301
  }, "strip", z.ZodTypeAny, {
302
+ db_group: string;
303
+ db_instance: string;
302
304
  search: string;
303
305
  paging: PAGING;
304
306
  page_count: number;
305
307
  page_index: number;
306
- login_from: LoginFrom;
307
308
  date_format_id: string;
308
309
  time_zone_id: string;
310
+ login_from: LoginFrom;
309
311
  organisation_id: string;
310
- db_instance: string;
311
- db_group: string;
312
312
  vehicle_id: string;
313
313
  }, {
314
- login_from: LoginFrom;
314
+ db_group: string;
315
+ db_instance: string;
315
316
  date_format_id: string;
316
317
  time_zone_id: string;
318
+ login_from: LoginFrom;
317
319
  organisation_id: string;
318
- db_instance: string;
319
- db_group: string;
320
320
  vehicle_id: string;
321
321
  search?: string | undefined;
322
322
  paging?: PAGING | undefined;
@@ -346,16 +346,16 @@ declare const AlertReportSchema: z.ZodObject<{
346
346
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
347
347
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
348
348
  }, "strip", z.ZodTypeAny, {
349
+ db_group: string;
350
+ db_instance: string;
349
351
  search: string;
350
352
  paging: PAGING;
351
353
  page_count: number;
352
354
  page_index: number;
353
- login_from: LoginFrom;
354
355
  date_format_id: string;
355
356
  time_zone_id: string;
357
+ login_from: LoginFrom;
356
358
  organisation_id: string;
357
- db_instance: string;
358
- db_group: string;
359
359
  vehicle_ids: string[];
360
360
  from_date: string;
361
361
  to_date: string;
@@ -366,12 +366,12 @@ declare const AlertReportSchema: z.ZodObject<{
366
366
  alert_types: AlertType[];
367
367
  alert_sub_types: AlertSubType[];
368
368
  }, {
369
- login_from: LoginFrom;
369
+ db_group: string;
370
+ db_instance: string;
370
371
  date_format_id: string;
371
372
  time_zone_id: string;
373
+ login_from: LoginFrom;
372
374
  organisation_id: string;
373
- db_instance: string;
374
- db_group: string;
375
375
  from_date: string;
376
376
  to_date: string;
377
377
  search?: string | undefined;
@@ -420,7 +420,7 @@ var OrderBySchema = z2.array(
420
420
  })
421
421
  );
422
422
  var BaseFileSchema = z2.object({
423
- usage_type: stringOptional("Usage Type", 0, 100),
423
+ usage_type: stringMandatory("Usage Type", 3, 100),
424
424
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
425
425
  file_url: stringOptional("File URL", 0, 300),
426
426
  file_key: stringOptional("File Key", 0, 300),
@@ -207,7 +207,7 @@ var OrderBySchema = z2.array(
207
207
  })
208
208
  );
209
209
  var BaseFileSchema = z2.object({
210
- usage_type: stringOptional("Usage Type", 0, 100),
210
+ usage_type: stringMandatory("Usage Type", 3, 100),
211
211
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
212
212
  file_url: stringOptional("File URL", 0, 300),
213
213
  file_key: stringOptional("File Key", 0, 300),
@@ -194,7 +194,7 @@ var OrderBySchema = z2.array(
194
194
  })
195
195
  );
196
196
  var BaseFileSchema = z2.object({
197
- usage_type: stringOptional("Usage Type", 0, 100),
197
+ usage_type: stringMandatory("Usage Type", 3, 100),
198
198
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
199
199
  file_url: stringOptional("File URL", 0, 300),
200
200
  file_key: stringOptional("File Key", 0, 300),
@@ -202,7 +202,7 @@ var OrderBySchema = z2.array(
202
202
  })
203
203
  );
204
204
  var BaseFileSchema = z2.object({
205
- usage_type: stringOptional("Usage Type", 0, 100),
205
+ usage_type: stringMandatory("Usage Type", 3, 100),
206
206
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
207
207
  file_url: stringOptional("File URL", 0, 300),
208
208
  file_key: stringOptional("File Key", 0, 300),
@@ -195,7 +195,7 @@ var OrderBySchema = z2.array(
195
195
  })
196
196
  );
197
197
  var BaseFileSchema = z2.object({
198
- usage_type: stringOptional("Usage Type", 0, 100),
198
+ usage_type: stringMandatory("Usage Type", 3, 100),
199
199
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
200
200
  file_url: stringOptional("File URL", 0, 300),
201
201
  file_key: stringOptional("File Key", 0, 300),
@@ -217,7 +217,7 @@ var OrderBySchema = z2.array(
217
217
  })
218
218
  );
219
219
  var BaseFileSchema = z2.object({
220
- usage_type: stringOptional("Usage Type", 0, 100),
220
+ usage_type: stringMandatory("Usage Type", 3, 100),
221
221
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
222
222
  file_url: stringOptional("File URL", 0, 300),
223
223
  file_key: stringOptional("File Key", 0, 300),
@@ -194,7 +194,7 @@ var OrderBySchema = z2.array(
194
194
  })
195
195
  );
196
196
  var BaseFileSchema = z2.object({
197
- usage_type: stringOptional("Usage Type", 0, 100),
197
+ usage_type: stringMandatory("Usage Type", 3, 100),
198
198
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
199
199
  file_url: stringOptional("File URL", 0, 300),
200
200
  file_key: stringOptional("File Key", 0, 300),
@@ -239,7 +239,7 @@ var OrderBySchema = z2.array(
239
239
  })
240
240
  );
241
241
  var BaseFileSchema = z2.object({
242
- usage_type: stringOptional("Usage Type", 0, 100),
242
+ usage_type: stringMandatory("Usage Type", 3, 100),
243
243
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
244
244
  file_url: stringOptional("File URL", 0, 300),
245
245
  file_key: stringOptional("File Key", 0, 300),
@@ -276,7 +276,7 @@ var OrderBySchema = z2.array(
276
276
  })
277
277
  );
278
278
  var BaseFileSchema = z2.object({
279
- usage_type: stringOptional("Usage Type", 0, 100),
279
+ usage_type: stringMandatory("Usage Type", 3, 100),
280
280
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
281
281
  file_url: stringOptional("File URL", 0, 300),
282
282
  file_key: stringOptional("File Key", 0, 300),
@@ -190,7 +190,7 @@ var OrderBySchema = z2.array(
190
190
  })
191
191
  );
192
192
  var BaseFileSchema = z2.object({
193
- usage_type: stringOptional("Usage Type", 0, 100),
193
+ usage_type: stringMandatory("Usage Type", 3, 100),
194
194
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
195
195
  file_url: stringOptional("File URL", 0, 300),
196
196
  file_key: stringOptional("File Key", 0, 300),
@@ -194,7 +194,7 @@ var OrderBySchema = z2.array(
194
194
  })
195
195
  );
196
196
  var BaseFileSchema = z2.object({
197
- usage_type: stringOptional("Usage Type", 0, 100),
197
+ usage_type: stringMandatory("Usage Type", 3, 100),
198
198
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
199
199
  file_url: stringOptional("File URL", 0, 300),
200
200
  file_key: stringOptional("File Key", 0, 300),
@@ -194,7 +194,7 @@ var OrderBySchema = z2.array(
194
194
  })
195
195
  );
196
196
  var BaseFileSchema = z2.object({
197
- usage_type: stringOptional("Usage Type", 0, 100),
197
+ usage_type: stringMandatory("Usage Type", 3, 100),
198
198
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
199
199
  file_url: stringOptional("File URL", 0, 300),
200
200
  file_key: stringOptional("File Key", 0, 300),
@@ -202,7 +202,7 @@ var OrderBySchema = z2.array(
202
202
  })
203
203
  );
204
204
  var BaseFileSchema = z2.object({
205
- usage_type: stringOptional("Usage Type", 0, 100),
205
+ usage_type: stringMandatory("Usage Type", 3, 100),
206
206
  file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
207
207
  file_url: stringOptional("File URL", 0, 300),
208
208
  file_key: stringOptional("File Key", 0, 300),