vms-nest-prisma-api-document 11.0.0 → 12.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 (23) hide show
  1. package/dist/core/Enums.d.ts +2 -0
  2. package/dist/core/Enums.js +2 -0
  3. package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
  4. package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
  5. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +16 -16
  6. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +50 -50
  7. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +35 -35
  8. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.js +4 -4
  9. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +16 -16
  10. package/dist/services/gps/features/gps_live_track_share_link_service.js +2 -0
  11. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +9 -9
  12. package/dist/services/gps/features/gps_track_history_share_link_service.js +2 -0
  13. package/dist/services/gps/features/{preferences/user_notification_preferences.service.d.ts → user_notification_preferences.service.d.ts} +18 -18
  14. package/dist/services/gps/features/{preferences/user_notification_preferences.service.js → user_notification_preferences.service.js} +4 -2
  15. package/dist/services/gps/features/{preferences/user_report_preferences.service.d.ts → user_report_preferences.service.d.ts} +13 -13
  16. package/dist/services/gps/features/{preferences/user_report_preferences.service.js → user_report_preferences.service.js} +2 -2
  17. package/dist/services/master/expense/master_fuel_company_service.d.ts +5 -5
  18. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +2 -2
  19. package/dist/services/master/main/master_main_landmark_service.d.ts +6 -6
  20. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +2 -2
  21. package/dist/services/website/contact_us_detail_service.d.ts +1 -1
  22. package/dist/services/website/faq_service.d.ts +1 -1
  23. package/package.json +1 -1
@@ -131,6 +131,8 @@ declare enum DeviceType {
131
131
  Web = "Web"
132
132
  }
133
133
  declare enum NotificationType {
134
+ Whatsapp = "Whatsapp",
135
+ Message = "Message",
134
136
  Email = "Email",
135
137
  Push = "Push"
136
138
  }
@@ -157,6 +157,8 @@ var DeviceType = /* @__PURE__ */ ((DeviceType2) => {
157
157
  return DeviceType2;
158
158
  })(DeviceType || {});
159
159
  var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
160
+ NotificationType2["Whatsapp"] = "Whatsapp";
161
+ NotificationType2["Message"] = "Message";
160
162
  NotificationType2["Email"] = "Email";
161
163
  NotificationType2["Push"] = "Push";
162
164
  return NotificationType2;
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  user_id: string;
24
24
  organisation_id: string;
25
- country_id: string;
26
25
  login_from: LoginFrom;
26
+ country_id: string;
27
27
  os_details: Record<string, any>;
28
28
  ip_details: Record<string, any>;
29
29
  }, {
30
30
  user_id: string;
31
31
  organisation_id: string;
32
- country_id: string;
33
32
  login_from: LoginFrom;
33
+ country_id: string;
34
34
  os_details?: Record<string, any> | undefined;
35
35
  ip_details?: Record<string, any> | undefined;
36
36
  }>;
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
48
48
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
49
49
  country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
50
50
  }, "strip", z.ZodTypeAny, {
51
- login_from: LoginFrom;
52
51
  search: string;
53
52
  paging: PAGING;
54
53
  page_count: number;
55
54
  page_index: number;
55
+ login_from: LoginFrom;
56
56
  date_format_id: string;
57
57
  time_zone_id: string;
58
58
  user_ids: string[];
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
43
43
  user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
44
44
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
45
45
  }, "strip", z.ZodTypeAny, {
46
- login_from: LoginFrom;
47
46
  search: string;
48
47
  paging: PAGING;
49
48
  page_count: number;
50
49
  page_index: number;
50
+ login_from: LoginFrom;
51
51
  date_format_id: string;
52
52
  time_zone_id: string;
53
53
  user_ids: string[];
@@ -62,22 +62,22 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
62
62
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
63
63
  }, "strip", z.ZodTypeAny, {
64
64
  date: string;
65
- start_fuel_liters: number;
66
- end_fuel_liters: number;
65
+ status: Status;
66
+ organisation_id: string;
67
+ user_id: string;
68
+ vehicle_id: string;
69
+ driver_id: string;
70
+ device_id: string;
67
71
  total_km: number;
68
72
  consumed_fuel_liters: number;
69
73
  refills_count: number;
74
+ start_fuel_liters: number;
75
+ end_fuel_liters: number;
70
76
  refill_liters: number;
71
77
  removals_count: number;
72
78
  removal_liters: number;
73
79
  mileage_kmpl: number;
74
80
  liters_per_100km: number;
75
- status: Status;
76
- organisation_id: string;
77
- user_id: string;
78
- vehicle_id: string;
79
- driver_id: string;
80
- device_id: string;
81
81
  }, {
82
82
  date: string;
83
83
  status: Status;
@@ -86,11 +86,11 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
86
86
  vehicle_id: string;
87
87
  driver_id: string;
88
88
  device_id: string;
89
- start_fuel_liters?: unknown;
90
- end_fuel_liters?: unknown;
91
89
  total_km?: unknown;
92
90
  consumed_fuel_liters?: unknown;
93
91
  refills_count?: unknown;
92
+ start_fuel_liters?: unknown;
93
+ end_fuel_liters?: unknown;
94
94
  refill_liters?: unknown;
95
95
  removals_count?: unknown;
96
96
  removal_liters?: unknown;
@@ -140,6 +140,7 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
140
140
  day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
141
141
  }, "strip", z.ZodTypeAny, {
142
142
  status: Status[];
143
+ time_zone_id: string;
143
144
  search: string;
144
145
  paging: PAGING;
145
146
  page_count: number;
@@ -159,7 +160,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
159
160
  }[];
160
161
  include_master_data: YesNo;
161
162
  date_format_id: string;
162
- time_zone_id: string;
163
163
  organisation_ids: string[];
164
164
  user_ids: string[];
165
165
  vehicle_ids: string[];
@@ -170,8 +170,8 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
170
170
  vehicle_summary: YesNo;
171
171
  day_summary: YesNo;
172
172
  }, {
173
- date_format_id: string;
174
173
  time_zone_id: string;
174
+ date_format_id: string;
175
175
  from_date: string;
176
176
  to_date: string;
177
177
  status?: Status[] | undefined;
@@ -239,6 +239,7 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
239
239
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
240
240
  }, "strip", z.ZodTypeAny, {
241
241
  status: Status[];
242
+ time_zone_id: string;
242
243
  search: string;
243
244
  paging: PAGING;
244
245
  page_count: number;
@@ -258,14 +259,13 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
258
259
  }[];
259
260
  include_master_data: YesNo;
260
261
  date_format_id: string;
261
- time_zone_id: string;
262
262
  organisation_ids: string[];
263
263
  vehicle_ids: string[];
264
264
  from_date: string;
265
265
  to_date: string;
266
266
  }, {
267
- date_format_id: string;
268
267
  time_zone_id: string;
268
+ date_format_id: string;
269
269
  from_date: string;
270
270
  to_date: string;
271
271
  status?: Status[] | undefined;
@@ -327,6 +327,7 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
327
327
  }, "strip", z.ZodTypeAny, {
328
328
  date: string;
329
329
  status: Status[];
330
+ time_zone_id: string;
330
331
  search: string;
331
332
  paging: PAGING;
332
333
  page_count: number;
@@ -346,12 +347,11 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
346
347
  }[];
347
348
  include_master_data: YesNo;
348
349
  date_format_id: string;
349
- time_zone_id: string;
350
350
  organisation_utrack_id: string;
351
351
  }, {
352
352
  date: string;
353
- date_format_id: string;
354
353
  time_zone_id: string;
354
+ date_format_id: string;
355
355
  organisation_utrack_id: string;
356
356
  status?: Status[] | undefined;
357
357
  search?: string | undefined;
@@ -111,24 +111,24 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
111
111
  file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
112
112
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
113
113
  }, "strip", z.ZodTypeAny, {
114
+ fleet_fuel_refill_id: string;
114
115
  status: Status;
115
116
  organisation_id: string;
116
- file_name: string;
117
117
  file_type: FileType;
118
- fleet_fuel_refill_id: string;
119
118
  file_url: string;
120
119
  file_key: string;
120
+ file_name: string;
121
121
  file_description: string;
122
122
  file_size: number;
123
123
  file_metadata: Record<string, any>;
124
124
  }, {
125
+ fleet_fuel_refill_id: string;
125
126
  status: Status;
126
127
  organisation_id: string;
127
128
  file_type: FileType;
128
- fleet_fuel_refill_id: string;
129
- file_name?: string | undefined;
130
129
  file_url?: string | undefined;
131
130
  file_key?: string | undefined;
131
+ file_name?: string | undefined;
132
132
  file_description?: string | undefined;
133
133
  file_size?: unknown;
134
134
  file_metadata?: Record<string, any> | undefined;
@@ -187,40 +187,29 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
187
187
  file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
188
188
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
189
189
  }, z.UnknownKeysParam, z.ZodTypeAny, {
190
+ fleet_fuel_refill_id: string;
190
191
  status: Status;
191
192
  organisation_id: string;
192
- file_name: string;
193
193
  file_type: FileType;
194
- fleet_fuel_refill_id: string;
195
194
  file_url: string;
196
195
  file_key: string;
196
+ file_name: string;
197
197
  file_description: string;
198
198
  file_size: number;
199
199
  file_metadata: Record<string, any>;
200
200
  }, {
201
+ fleet_fuel_refill_id: string;
201
202
  status: Status;
202
203
  organisation_id: string;
203
204
  file_type: FileType;
204
- fleet_fuel_refill_id: string;
205
- file_name?: string | undefined;
206
205
  file_url?: string | undefined;
207
206
  file_key?: string | undefined;
207
+ file_name?: string | undefined;
208
208
  file_description?: string | undefined;
209
209
  file_size?: unknown;
210
210
  file_metadata?: Record<string, any> | undefined;
211
211
  }>, "many">>>;
212
212
  }, "strip", z.ZodTypeAny, {
213
- status: Status;
214
- organisation_id: string;
215
- user_id: string;
216
- vehicle_id: string;
217
- driver_id: string;
218
- device_id: string;
219
- time_zone_id: string;
220
- vehicle_fuel_type_id: string;
221
- vehicle_fuel_unit_id: string;
222
- odometer_reading: number;
223
- google_location: string;
224
213
  date_time: string;
225
214
  admin_verify_status: GPSFuelApproveStatus;
226
215
  transporter_verify_status: GPSFuelApproveStatus;
@@ -236,25 +225,34 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
236
225
  payment_reference_number: string;
237
226
  fuel_card_number: string;
238
227
  payment_notes: string;
228
+ google_location: string;
229
+ odometer_reading: number;
239
230
  tank_size: number;
240
231
  is_full_tank: YesNo;
241
232
  is_previous_entries_missed: YesNo;
233
+ status: Status;
234
+ organisation_id: string;
235
+ user_id: string;
236
+ vehicle_id: string;
237
+ driver_id: string;
238
+ device_id: string;
242
239
  vendor_id: string;
243
240
  fuel_station_id: string;
241
+ vehicle_fuel_type_id: string;
242
+ vehicle_fuel_unit_id: string;
243
+ time_zone_id: string;
244
244
  refill_files: {
245
+ fleet_fuel_refill_id: string;
245
246
  status: Status;
246
247
  organisation_id: string;
247
- file_name: string;
248
248
  file_type: FileType;
249
- fleet_fuel_refill_id: string;
250
249
  file_url: string;
251
250
  file_key: string;
251
+ file_name: string;
252
252
  file_description: string;
253
253
  file_size: number;
254
254
  file_metadata: Record<string, any>;
255
255
  }[];
256
- latitude?: number | undefined;
257
- longitude?: number | undefined;
258
256
  before_refill_quantity?: number | undefined;
259
257
  after_refill_quantity?: number | undefined;
260
258
  refill_quantity?: number | undefined;
@@ -262,16 +260,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
262
260
  diff_refill_quantity?: number | undefined;
263
261
  cost_per_unit?: number | undefined;
264
262
  total_cost?: number | undefined;
263
+ latitude?: number | undefined;
264
+ longitude?: number | undefined;
265
265
  }, {
266
- status: Status;
267
- organisation_id: string;
268
- user_id: string;
269
- vehicle_id: string;
270
- driver_id: string;
271
- device_id: string;
272
- time_zone_id: string;
273
- vehicle_fuel_type_id: string;
274
- vehicle_fuel_unit_id: string;
275
266
  date_time: string;
276
267
  admin_verify_status: GPSFuelApproveStatus;
277
268
  transporter_verify_status: GPSFuelApproveStatus;
@@ -279,12 +270,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
279
270
  payment_status: PaymentStatus;
280
271
  is_full_tank: YesNo;
281
272
  is_previous_entries_missed: YesNo;
273
+ status: Status;
274
+ organisation_id: string;
275
+ user_id: string;
276
+ vehicle_id: string;
277
+ driver_id: string;
278
+ device_id: string;
282
279
  vendor_id: string;
283
280
  fuel_station_id: string;
284
- odometer_reading?: unknown;
285
- latitude?: unknown;
286
- longitude?: unknown;
287
- google_location?: string | undefined;
281
+ vehicle_fuel_type_id: string;
282
+ vehicle_fuel_unit_id: string;
283
+ time_zone_id: string;
288
284
  before_refill_quantity?: unknown;
289
285
  after_refill_quantity?: unknown;
290
286
  refill_quantity?: unknown;
@@ -302,15 +298,19 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
302
298
  payment_reference_number?: string | undefined;
303
299
  fuel_card_number?: string | undefined;
304
300
  payment_notes?: string | undefined;
301
+ latitude?: unknown;
302
+ longitude?: unknown;
303
+ google_location?: string | undefined;
304
+ odometer_reading?: unknown;
305
305
  tank_size?: unknown;
306
306
  refill_files?: {
307
+ fleet_fuel_refill_id: string;
307
308
  status: Status;
308
309
  organisation_id: string;
309
310
  file_type: FileType;
310
- fleet_fuel_refill_id: string;
311
- file_name?: string | undefined;
312
311
  file_url?: string | undefined;
313
312
  file_key?: string | undefined;
313
+ file_name?: string | undefined;
314
314
  file_description?: string | undefined;
315
315
  file_size?: unknown;
316
316
  file_metadata?: Record<string, any> | undefined;
@@ -364,7 +364,11 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
364
364
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
365
365
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
366
366
  }, "strip", z.ZodTypeAny, {
367
+ admin_verify_status: GPSFuelApproveStatus[];
368
+ transporter_verify_status: GPSFuelApproveStatus[];
369
+ entry_source: RefillEntrySource[];
367
370
  status: Status[];
371
+ time_zone_id: string;
368
372
  search: string;
369
373
  paging: PAGING;
370
374
  page_count: number;
@@ -384,27 +388,26 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
384
388
  }[];
385
389
  include_master_data: YesNo;
386
390
  date_format_id: string;
387
- time_zone_id: string;
388
391
  organisation_ids: string[];
389
392
  user_ids: string[];
390
393
  vehicle_ids: string[];
391
394
  driver_ids: string[];
392
395
  device_ids: string[];
393
- from_date: string;
394
- to_date: string;
395
- vehicle_fuel_type_ids: string[];
396
- admin_verify_status: GPSFuelApproveStatus[];
397
- transporter_verify_status: GPSFuelApproveStatus[];
398
- entry_source: RefillEntrySource[];
399
396
  vendor_ids: string[];
400
397
  fuel_station_ids: string[];
398
+ vehicle_fuel_type_ids: string[];
401
399
  vehicle_fuel_unit_ids: string[];
402
400
  fleet_fuel_refill_ids: string[];
401
+ from_date: string;
402
+ to_date: string;
403
403
  }, {
404
- date_format_id: string;
405
404
  time_zone_id: string;
405
+ date_format_id: string;
406
406
  from_date: string;
407
407
  to_date: string;
408
+ admin_verify_status?: GPSFuelApproveStatus[] | undefined;
409
+ transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
410
+ entry_source?: RefillEntrySource[] | undefined;
408
411
  status?: Status[] | undefined;
409
412
  search?: string | undefined;
410
413
  paging?: PAGING | undefined;
@@ -429,12 +432,9 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
429
432
  vehicle_ids?: string[] | undefined;
430
433
  driver_ids?: string[] | undefined;
431
434
  device_ids?: string[] | undefined;
432
- vehicle_fuel_type_ids?: string[] | undefined;
433
- admin_verify_status?: GPSFuelApproveStatus[] | undefined;
434
- transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
435
- entry_source?: RefillEntrySource[] | undefined;
436
435
  vendor_ids?: string[] | undefined;
437
436
  fuel_station_ids?: string[] | undefined;
437
+ vehicle_fuel_type_ids?: string[] | undefined;
438
438
  vehicle_fuel_unit_ids?: string[] | undefined;
439
439
  fleet_fuel_refill_ids?: string[] | undefined;
440
440
  }>;
@@ -96,10 +96,10 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  status: Status;
98
98
  organisation_id: string;
99
- file_name: string;
100
99
  file_type: FileType;
101
100
  file_url: string;
102
101
  file_key: string;
102
+ file_name: string;
103
103
  file_description: string;
104
104
  file_size: number;
105
105
  file_metadata: Record<string, any>;
@@ -109,9 +109,9 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
109
109
  organisation_id: string;
110
110
  file_type: FileType;
111
111
  fleet_fuel_removal_id: string;
112
- file_name?: string | undefined;
113
112
  file_url?: string | undefined;
114
113
  file_key?: string | undefined;
114
+ file_name?: string | undefined;
115
115
  file_description?: string | undefined;
116
116
  file_size?: unknown;
117
117
  file_metadata?: Record<string, any> | undefined;
@@ -160,10 +160,10 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
160
160
  }, z.UnknownKeysParam, z.ZodTypeAny, {
161
161
  status: Status;
162
162
  organisation_id: string;
163
- file_name: string;
164
163
  file_type: FileType;
165
164
  file_url: string;
166
165
  file_key: string;
166
+ file_name: string;
167
167
  file_description: string;
168
168
  file_size: number;
169
169
  file_metadata: Record<string, any>;
@@ -173,77 +173,77 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
173
173
  organisation_id: string;
174
174
  file_type: FileType;
175
175
  fleet_fuel_removal_id: string;
176
- file_name?: string | undefined;
177
176
  file_url?: string | undefined;
178
177
  file_key?: string | undefined;
178
+ file_name?: string | undefined;
179
179
  file_description?: string | undefined;
180
180
  file_size?: unknown;
181
181
  file_metadata?: Record<string, any> | undefined;
182
182
  }>, "many">>>;
183
183
  }, "strip", z.ZodTypeAny, {
184
+ date_time: string;
185
+ admin_verify_status: GPSFuelApproveStatus;
186
+ transporter_verify_status: GPSFuelApproveStatus;
187
+ entry_source: RefillEntrySource;
188
+ source_reference_id: string;
189
+ source_notes: string;
190
+ google_location: string;
191
+ odometer_reading: number;
184
192
  status: Status;
185
193
  organisation_id: string;
186
194
  user_id: string;
187
195
  vehicle_id: string;
188
196
  driver_id: string;
189
197
  device_id: string;
190
- time_zone_id: string;
191
198
  vehicle_fuel_type_id: string;
192
199
  vehicle_fuel_unit_id: string;
193
- odometer_reading: number;
194
- google_location: string;
195
- date_time: string;
196
- admin_verify_status: GPSFuelApproveStatus;
197
- transporter_verify_status: GPSFuelApproveStatus;
198
- entry_source: RefillEntrySource;
199
- source_reference_id: string;
200
- source_notes: string;
200
+ time_zone_id: string;
201
201
  fuel_removal_reason_id: string;
202
202
  removal_details: string;
203
203
  removal_files: {
204
204
  status: Status;
205
205
  organisation_id: string;
206
- file_name: string;
207
206
  file_type: FileType;
208
207
  file_url: string;
209
208
  file_key: string;
209
+ file_name: string;
210
210
  file_description: string;
211
211
  file_size: number;
212
212
  file_metadata: Record<string, any>;
213
213
  fleet_fuel_removal_id: string;
214
214
  }[];
215
- latitude?: number | undefined;
216
- longitude?: number | undefined;
217
215
  cost_per_unit?: number | undefined;
218
216
  total_cost?: number | undefined;
217
+ latitude?: number | undefined;
218
+ longitude?: number | undefined;
219
219
  before_removal_quantity?: number | undefined;
220
220
  after_removal_quantity?: number | undefined;
221
221
  removal_quantity?: number | undefined;
222
222
  verified_removal_quantity?: number | undefined;
223
223
  diff_removal_quantity?: number | undefined;
224
224
  }, {
225
+ date_time: string;
226
+ admin_verify_status: GPSFuelApproveStatus;
227
+ transporter_verify_status: GPSFuelApproveStatus;
225
228
  status: Status;
226
229
  organisation_id: string;
227
230
  user_id: string;
228
231
  vehicle_id: string;
229
232
  driver_id: string;
230
233
  device_id: string;
231
- time_zone_id: string;
232
234
  vehicle_fuel_type_id: string;
233
235
  vehicle_fuel_unit_id: string;
234
- date_time: string;
235
- admin_verify_status: GPSFuelApproveStatus;
236
- transporter_verify_status: GPSFuelApproveStatus;
236
+ time_zone_id: string;
237
237
  fuel_removal_reason_id: string;
238
- odometer_reading?: unknown;
239
- latitude?: unknown;
240
- longitude?: unknown;
241
- google_location?: string | undefined;
242
238
  cost_per_unit?: unknown;
243
239
  total_cost?: unknown;
244
240
  entry_source?: RefillEntrySource | undefined;
245
241
  source_reference_id?: string | undefined;
246
242
  source_notes?: string | undefined;
243
+ latitude?: unknown;
244
+ longitude?: unknown;
245
+ google_location?: string | undefined;
246
+ odometer_reading?: unknown;
247
247
  before_removal_quantity?: unknown;
248
248
  after_removal_quantity?: unknown;
249
249
  removal_quantity?: unknown;
@@ -255,9 +255,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
255
255
  organisation_id: string;
256
256
  file_type: FileType;
257
257
  fleet_fuel_removal_id: string;
258
- file_name?: string | undefined;
259
258
  file_url?: string | undefined;
260
259
  file_key?: string | undefined;
260
+ file_name?: string | undefined;
261
261
  file_description?: string | undefined;
262
262
  file_size?: unknown;
263
263
  file_metadata?: Record<string, any> | undefined;
@@ -309,7 +309,11 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
309
309
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
310
310
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
311
311
  }, "strip", z.ZodTypeAny, {
312
+ admin_verify_status: GPSFuelApproveStatus[];
313
+ transporter_verify_status: GPSFuelApproveStatus[];
314
+ entry_source: RefillEntrySource[];
312
315
  status: Status[];
316
+ time_zone_id: string;
313
317
  search: string;
314
318
  paging: PAGING;
315
319
  page_count: number;
@@ -329,25 +333,24 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
329
333
  }[];
330
334
  include_master_data: YesNo;
331
335
  date_format_id: string;
332
- time_zone_id: string;
333
336
  organisation_ids: string[];
334
337
  user_ids: string[];
335
338
  vehicle_ids: string[];
336
339
  driver_ids: string[];
337
340
  device_ids: string[];
338
- from_date: string;
339
- to_date: string;
340
341
  vehicle_fuel_type_ids: string[];
341
- admin_verify_status: GPSFuelApproveStatus[];
342
- transporter_verify_status: GPSFuelApproveStatus[];
343
- entry_source: RefillEntrySource[];
344
342
  vehicle_fuel_unit_ids: string[];
343
+ from_date: string;
344
+ to_date: string;
345
345
  fuel_removal_reason_ids: string[];
346
346
  }, {
347
- date_format_id: string;
348
347
  time_zone_id: string;
348
+ date_format_id: string;
349
349
  from_date: string;
350
350
  to_date: string;
351
+ admin_verify_status?: GPSFuelApproveStatus[] | undefined;
352
+ transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
353
+ entry_source?: RefillEntrySource[] | undefined;
351
354
  status?: Status[] | undefined;
352
355
  search?: string | undefined;
353
356
  paging?: PAGING | undefined;
@@ -373,9 +376,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
373
376
  driver_ids?: string[] | undefined;
374
377
  device_ids?: string[] | undefined;
375
378
  vehicle_fuel_type_ids?: string[] | undefined;
376
- admin_verify_status?: GPSFuelApproveStatus[] | undefined;
377
- transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
378
- entry_source?: RefillEntrySource[] | undefined;
379
379
  vehicle_fuel_unit_ids?: string[] | undefined;
380
380
  fuel_removal_reason_ids?: string[] | undefined;
381
381
  }>;
@@ -237,10 +237,10 @@ var FileType = /* @__PURE__ */ ((FileType2) => {
237
237
  FileType2["PDF"] = "PDF";
238
238
  return FileType2;
239
239
  })(FileType || {});
240
- var YesNo = /* @__PURE__ */ ((YesNo3) => {
241
- YesNo3["Yes"] = "Yes";
242
- YesNo3["No"] = "No";
243
- return YesNo3;
240
+ var YesNo = /* @__PURE__ */ ((YesNo2) => {
241
+ YesNo2["Yes"] = "Yes";
242
+ YesNo2["No"] = "No";
243
+ return YesNo2;
244
244
  })(YesNo || {});
245
245
  var GPSFuelApproveStatus = /* @__PURE__ */ ((GPSFuelApproveStatus2) => {
246
246
  GPSFuelApproveStatus2["Pending"] = "Pending";
@@ -42,17 +42,17 @@ declare const GPSLiveTrackShareLinkNotificationsSchema: z.ZodObject<{
42
42
  to_recipients: z.ZodEffects<z.ZodString, string, string>;
43
43
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
44
44
  }, "strip", z.ZodTypeAny, {
45
+ gps_live_track_share_link_id: string;
45
46
  status: Status;
46
47
  organisation_id: string;
47
48
  type: NotificationType;
48
49
  to_recipients: string;
49
- gps_live_track_share_link_id: string;
50
50
  }, {
51
+ gps_live_track_share_link_id: string;
51
52
  status: Status;
52
53
  organisation_id: string;
53
54
  type: NotificationType;
54
55
  to_recipients: string;
55
- gps_live_track_share_link_id: string;
56
56
  }>;
57
57
  type GPSLiveTrackShareLinkNotificationsDTO = z.infer<typeof GPSLiveTrackShareLinkNotificationsSchema>;
58
58
  declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
@@ -73,54 +73,54 @@ declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
73
73
  to_recipients: z.ZodEffects<z.ZodString, string, string>;
74
74
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
75
75
  }, z.UnknownKeysParam, z.ZodTypeAny, {
76
+ gps_live_track_share_link_id: string;
76
77
  status: Status;
77
78
  organisation_id: string;
78
79
  type: NotificationType;
79
80
  to_recipients: string;
80
- gps_live_track_share_link_id: string;
81
81
  }, {
82
+ gps_live_track_share_link_id: string;
82
83
  status: Status;
83
84
  organisation_id: string;
84
85
  type: NotificationType;
85
86
  to_recipients: string;
86
- gps_live_track_share_link_id: string;
87
87
  }>, "many">>>;
88
88
  }, "strip", z.ZodTypeAny, {
89
+ link_type: LinkType;
90
+ location: string;
89
91
  link_status: LinkStatus;
90
92
  status: Status;
91
93
  organisation_id: string;
92
94
  vehicle_id: string;
93
95
  trip_id: string;
96
+ expire_milliseconds: number;
94
97
  notifications: {
98
+ gps_live_track_share_link_id: string;
95
99
  status: Status;
96
100
  organisation_id: string;
97
101
  type: NotificationType;
98
102
  to_recipients: string;
99
- gps_live_track_share_link_id: string;
100
103
  }[];
101
- link_type: LinkType;
102
- location: string;
103
- expire_milliseconds: number;
104
104
  latitude?: number | undefined;
105
105
  longitude?: number | undefined;
106
106
  }, {
107
+ link_type: LinkType;
107
108
  link_status: LinkStatus;
108
109
  status: Status;
109
110
  organisation_id: string;
110
111
  vehicle_id: string;
111
112
  trip_id: string;
112
- link_type: LinkType;
113
+ latitude?: unknown;
114
+ longitude?: unknown;
115
+ location?: string | undefined;
116
+ expire_milliseconds?: unknown;
113
117
  notifications?: {
118
+ gps_live_track_share_link_id: string;
114
119
  status: Status;
115
120
  organisation_id: string;
116
121
  type: NotificationType;
117
122
  to_recipients: string;
118
- gps_live_track_share_link_id: string;
119
123
  }[] | undefined;
120
- latitude?: unknown;
121
- longitude?: unknown;
122
- location?: string | undefined;
123
- expire_milliseconds?: unknown;
124
124
  }>;
125
125
  type GPSLiveTrackShareLinkDTO = z.infer<typeof GPSLiveTrackShareLinkSchema>;
126
126
  declare const GPSLiveTrackShareLinkTimeSchema: z.ZodObject<{
@@ -176,6 +176,7 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
176
176
  link_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkType>, "many">>>;
177
177
  link_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkStatus>, "many">>>;
178
178
  }, "strip", z.ZodTypeAny, {
179
+ link_type: LinkType[];
179
180
  link_status: LinkStatus[];
180
181
  status: Status[];
181
182
  search: string;
@@ -201,10 +202,10 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
201
202
  organisation_ids: string[];
202
203
  vehicle_ids: string[];
203
204
  trip_ids: string[];
204
- link_type: LinkType[];
205
205
  }, {
206
206
  date_format_id: string;
207
207
  time_zone_id: string;
208
+ link_type?: LinkType[] | undefined;
208
209
  link_status?: LinkStatus[] | undefined;
209
210
  status?: Status[] | undefined;
210
211
  search?: string | undefined;
@@ -228,7 +229,6 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
228
229
  organisation_ids?: string[] | undefined;
229
230
  vehicle_ids?: string[] | undefined;
230
231
  trip_ids?: string[] | undefined;
231
- link_type?: LinkType[] | undefined;
232
232
  }>;
233
233
  type GPSLiveTrackShareLinkQueryDTO = z.infer<typeof GPSLiveTrackShareLinkQuerySchema>;
234
234
  declare const toGPSLiveTrackShareLinkPayload: (data: GPSLiveTrackShareLink) => GPSLiveTrackShareLinkDTO;
@@ -221,6 +221,8 @@ var YesNo = /* @__PURE__ */ ((YesNo2) => {
221
221
  return YesNo2;
222
222
  })(YesNo || {});
223
223
  var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
224
+ NotificationType2["Whatsapp"] = "Whatsapp";
225
+ NotificationType2["Message"] = "Message";
224
226
  NotificationType2["Email"] = "Email";
225
227
  NotificationType2["Push"] = "Push";
226
228
  return NotificationType2;
@@ -40,17 +40,17 @@ declare const GPSTrackHistoryShareLinkNotificationsSchema: z.ZodObject<{
40
40
  to_recipients: z.ZodEffects<z.ZodString, string, string>;
41
41
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
42
42
  }, "strip", z.ZodTypeAny, {
43
- gps_track_history_share_link_id: string;
44
43
  status: Status;
45
44
  organisation_id: string;
46
45
  type: NotificationType;
47
46
  to_recipients: string;
48
- }, {
49
47
  gps_track_history_share_link_id: string;
48
+ }, {
50
49
  status: Status;
51
50
  organisation_id: string;
52
51
  type: NotificationType;
53
52
  to_recipients: string;
53
+ gps_track_history_share_link_id: string;
54
54
  }>;
55
55
  type GPSTrackHistoryShareLinkNotificationsDTO = z.infer<typeof GPSTrackHistoryShareLinkNotificationsSchema>;
56
56
  declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
@@ -68,47 +68,47 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
68
68
  to_recipients: z.ZodEffects<z.ZodString, string, string>;
69
69
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
70
70
  }, z.UnknownKeysParam, z.ZodTypeAny, {
71
- gps_track_history_share_link_id: string;
72
71
  status: Status;
73
72
  organisation_id: string;
74
73
  type: NotificationType;
75
74
  to_recipients: string;
76
- }, {
77
75
  gps_track_history_share_link_id: string;
76
+ }, {
78
77
  status: Status;
79
78
  organisation_id: string;
80
79
  type: NotificationType;
81
80
  to_recipients: string;
81
+ gps_track_history_share_link_id: string;
82
82
  }>, "many">>>;
83
83
  }, "strip", z.ZodTypeAny, {
84
- from_date_time: string;
85
- to_date_time: string;
86
84
  link_status: TrackHistoryLinkStatus;
87
85
  status: Status;
88
86
  organisation_id: string;
89
87
  vehicle_id: string;
90
88
  trip_id: string;
91
89
  notifications: {
92
- gps_track_history_share_link_id: string;
93
90
  status: Status;
94
91
  organisation_id: string;
95
92
  type: NotificationType;
96
93
  to_recipients: string;
94
+ gps_track_history_share_link_id: string;
97
95
  }[];
98
- }, {
99
96
  from_date_time: string;
100
97
  to_date_time: string;
98
+ }, {
101
99
  link_status: TrackHistoryLinkStatus;
102
100
  status: Status;
103
101
  organisation_id: string;
104
102
  vehicle_id: string;
105
103
  trip_id: string;
104
+ from_date_time: string;
105
+ to_date_time: string;
106
106
  notifications?: {
107
- gps_track_history_share_link_id: string;
108
107
  status: Status;
109
108
  organisation_id: string;
110
109
  type: NotificationType;
111
110
  to_recipients: string;
111
+ gps_track_history_share_link_id: string;
112
112
  }[] | undefined;
113
113
  }>;
114
114
  type GPSTrackHistoryShareLinkDTO = z.infer<typeof GPSTrackHistoryShareLinkSchema>;
@@ -193,6 +193,8 @@ var YesNo = /* @__PURE__ */ ((YesNo2) => {
193
193
  return YesNo2;
194
194
  })(YesNo || {});
195
195
  var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
196
+ NotificationType2["Whatsapp"] = "Whatsapp";
197
+ NotificationType2["Message"] = "Message";
196
198
  NotificationType2["Email"] = "Email";
197
199
  NotificationType2["Push"] = "Push";
198
200
  return NotificationType2;
@@ -1,9 +1,9 @@
1
- import { YesNo, NotificationType, NotificationPreference, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../../core/Enums.js';
2
- import { FBR, SBR } from '../../../../core/BaseResponse.js';
1
+ import { YesNo, NotificationType, NotificationPreference, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
2
+ import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, a as User, M as MasterVehicle } from '../../../../user_organisation_service-djKCoZTQ.js';
5
- import '../../../../zod_utils/zod_base_schema.js';
6
- import '../../../master/main/master_main_sim_provider_service.js';
4
+ import { U as UserOrganisation, a as User, M as MasterVehicle } from '../../../user_organisation_service-djKCoZTQ.js';
5
+ import '../../../zod_utils/zod_base_schema.js';
6
+ import '../../master/main/master_main_sim_provider_service.js';
7
7
 
8
8
  interface UserNotificationPreferences extends Record<string, unknown> {
9
9
  notification_preference_id: string;
@@ -63,6 +63,10 @@ declare const UserNotificationPreferencesSchema: z.ZodObject<{
63
63
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
64
64
  user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
65
65
  }, "strip", z.ZodTypeAny, {
66
+ status: Status;
67
+ organisation_id: string;
68
+ vehicle_ids: string[];
69
+ user_ids: string[];
66
70
  notification_name: string;
67
71
  notification_status: YesNo;
68
72
  notification_type: NotificationType;
@@ -71,23 +75,19 @@ declare const UserNotificationPreferencesSchema: z.ZodObject<{
71
75
  cc_email_ids: string;
72
76
  notification_list: NotificationPreference[];
73
77
  is_all_vehicles: YesNo;
78
+ }, {
74
79
  status: Status;
75
80
  organisation_id: string;
76
- vehicle_ids: string[];
77
- user_ids: string[];
78
- }, {
79
81
  notification_name: string;
80
82
  notification_status: YesNo;
81
83
  notification_type: NotificationType;
82
84
  is_all_vehicles: YesNo;
83
- status: Status;
84
- organisation_id: string;
85
+ vehicle_ids?: string[] | undefined;
86
+ user_ids?: string[] | undefined;
85
87
  mobile_numbers?: string | undefined;
86
88
  email_ids?: string | undefined;
87
89
  cc_email_ids?: string | undefined;
88
90
  notification_list?: NotificationPreference[] | undefined;
89
- vehicle_ids?: string[] | undefined;
90
- user_ids?: string[] | undefined;
91
91
  }>;
92
92
  type UserNotificationPreferencesDTO = z.infer<typeof UserNotificationPreferencesSchema>;
93
93
  declare const UserNotificationPreferencesQuerySchema: z.ZodObject<{
@@ -127,9 +127,6 @@ declare const UserNotificationPreferencesQuerySchema: z.ZodObject<{
127
127
  notification_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationType>, "many">>>;
128
128
  is_all_vehicles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
129
129
  }, "strip", z.ZodTypeAny, {
130
- notification_status: YesNo[];
131
- notification_type: NotificationType[];
132
- is_all_vehicles: YesNo[];
133
130
  status: Status[];
134
131
  search: string;
135
132
  paging: PAGING;
@@ -152,13 +149,13 @@ declare const UserNotificationPreferencesQuerySchema: z.ZodObject<{
152
149
  date_format_id: string;
153
150
  time_zone_id: string;
154
151
  organisation_ids: string[];
152
+ notification_status: YesNo[];
153
+ notification_type: NotificationType[];
154
+ is_all_vehicles: YesNo[];
155
155
  notification_preference_ids: string[];
156
156
  }, {
157
157
  date_format_id: string;
158
158
  time_zone_id: string;
159
- notification_status?: YesNo[] | undefined;
160
- notification_type?: NotificationType[] | undefined;
161
- is_all_vehicles?: YesNo[] | undefined;
162
159
  status?: Status[] | undefined;
163
160
  search?: string | undefined;
164
161
  paging?: PAGING | undefined;
@@ -179,6 +176,9 @@ declare const UserNotificationPreferencesQuerySchema: z.ZodObject<{
179
176
  }[] | undefined;
180
177
  include_master_data?: YesNo | undefined;
181
178
  organisation_ids?: string[] | undefined;
179
+ notification_status?: YesNo[] | undefined;
180
+ notification_type?: NotificationType[] | undefined;
181
+ is_all_vehicles?: YesNo[] | undefined;
182
182
  notification_preference_ids?: string[] | undefined;
183
183
  }>;
184
184
  type UserNotificationPreferencesQueryDTO = z.infer<typeof UserNotificationPreferencesQuerySchema>;
@@ -22,7 +22,7 @@ var apiDelete = async (url) => {
22
22
  return response.data;
23
23
  };
24
24
 
25
- // src/services/gps/features/preferences/user_notification_preferences.service.ts
25
+ // src/services/gps/features/user_notification_preferences.service.ts
26
26
  import { z as z3 } from "zod";
27
27
 
28
28
  // src/zod_utils/zod_utils.ts
@@ -197,6 +197,8 @@ var YesNo = /* @__PURE__ */ ((YesNo2) => {
197
197
  return YesNo2;
198
198
  })(YesNo || {});
199
199
  var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
200
+ NotificationType2["Whatsapp"] = "Whatsapp";
201
+ NotificationType2["Message"] = "Message";
200
202
  NotificationType2["Email"] = "Email";
201
203
  NotificationType2["Push"] = "Push";
202
204
  return NotificationType2;
@@ -258,7 +260,7 @@ var MongoBaseQuerySchema = z2.object({
258
260
  // ✅ Single-selection -> MasterMainTimeZone
259
261
  });
260
262
 
261
- // src/services/gps/features/preferences/user_notification_preferences.service.ts
263
+ // src/services/gps/features/user_notification_preferences.service.ts
262
264
  var URL = "gps/features/user_notification_preferences";
263
265
  var ENDPOINTS = {
264
266
  find: `${URL}/search`,
@@ -1,9 +1,9 @@
1
- import { YesNo, ReportType, ReportPreference, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../../core/Enums.js';
2
- import { FBR, SBR } from '../../../../core/BaseResponse.js';
1
+ import { YesNo, ReportType, ReportPreference, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
2
+ import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle } from '../../../../user_organisation_service-djKCoZTQ.js';
5
- import '../../../../zod_utils/zod_base_schema.js';
6
- import '../../../master/main/master_main_sim_provider_service.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-djKCoZTQ.js';
5
+ import '../../../zod_utils/zod_base_schema.js';
6
+ import '../../master/main/master_main_sim_provider_service.js';
7
7
 
8
8
  interface UserReportsPreferences extends Record<string, unknown> {
9
9
  report_preference_id: string;
@@ -48,26 +48,26 @@ declare const UserReportPreferencesSchema: z.ZodObject<{
48
48
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
49
49
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
50
50
  }, "strip", z.ZodTypeAny, {
51
- email_ids: string;
52
- cc_email_ids: string;
53
- is_all_vehicles: YesNo;
54
51
  status: Status;
55
52
  organisation_id: string;
56
53
  vehicle_ids: string[];
54
+ email_ids: string;
55
+ cc_email_ids: string;
56
+ is_all_vehicles: YesNo;
57
57
  report_name: string;
58
58
  report_status: YesNo;
59
59
  report_type: ReportType;
60
60
  report_list: ReportPreference[];
61
61
  }, {
62
- email_ids: string;
63
- is_all_vehicles: YesNo;
64
62
  status: Status;
65
63
  organisation_id: string;
64
+ email_ids: string;
65
+ is_all_vehicles: YesNo;
66
66
  report_name: string;
67
67
  report_status: YesNo;
68
68
  report_type: ReportType;
69
- cc_email_ids?: string | undefined;
70
69
  vehicle_ids?: string[] | undefined;
70
+ cc_email_ids?: string | undefined;
71
71
  report_list?: ReportPreference[] | undefined;
72
72
  }>;
73
73
  type UserReportPreferencesDTO = z.infer<typeof UserReportPreferencesSchema>;
@@ -108,7 +108,6 @@ declare const UserReportPreferencesQuerySchema: z.ZodObject<{
108
108
  report_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportType>, "many">>>;
109
109
  is_all_vehicles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
110
110
  }, "strip", z.ZodTypeAny, {
111
- is_all_vehicles: YesNo[];
112
111
  status: Status[];
113
112
  search: string;
114
113
  paging: PAGING;
@@ -131,13 +130,13 @@ declare const UserReportPreferencesQuerySchema: z.ZodObject<{
131
130
  date_format_id: string;
132
131
  time_zone_id: string;
133
132
  organisation_ids: string[];
133
+ is_all_vehicles: YesNo[];
134
134
  report_status: YesNo[];
135
135
  report_type: ReportType[];
136
136
  report_preference_ids: string[];
137
137
  }, {
138
138
  date_format_id: string;
139
139
  time_zone_id: string;
140
- is_all_vehicles?: YesNo[] | undefined;
141
140
  status?: Status[] | undefined;
142
141
  search?: string | undefined;
143
142
  paging?: PAGING | undefined;
@@ -158,6 +157,7 @@ declare const UserReportPreferencesQuerySchema: z.ZodObject<{
158
157
  }[] | undefined;
159
158
  include_master_data?: YesNo | undefined;
160
159
  organisation_ids?: string[] | undefined;
160
+ is_all_vehicles?: YesNo[] | undefined;
161
161
  report_status?: YesNo[] | undefined;
162
162
  report_type?: ReportType[] | undefined;
163
163
  report_preference_ids?: string[] | undefined;
@@ -22,7 +22,7 @@ var apiDelete = async (url) => {
22
22
  return response.data;
23
23
  };
24
24
 
25
- // src/services/gps/features/preferences/user_report_preferences.service.ts
25
+ // src/services/gps/features/user_report_preferences.service.ts
26
26
  import { z as z3 } from "zod";
27
27
 
28
28
  // src/zod_utils/zod_utils.ts
@@ -256,7 +256,7 @@ var MongoBaseQuerySchema = z2.object({
256
256
  // ✅ Single-selection -> MasterMainTimeZone
257
257
  });
258
258
 
259
- // src/services/gps/features/preferences/user_report_preferences.service.ts
259
+ // src/services/gps/features/user_report_preferences.service.ts
260
260
  var URL = "gps/features/user_report_preferences";
261
261
  var ENDPOINTS = {
262
262
  find: `${URL}/search`,
@@ -28,21 +28,21 @@ declare const MasterFuelCompanySchema: z.ZodObject<{
28
28
  logo_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
29
29
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- company_name: string;
32
31
  description: string;
33
- logo_url: string;
34
- logo_key: string;
35
32
  status: Status;
36
33
  organisation_id: string;
37
34
  country_id: string;
38
- }, {
35
+ logo_key: string;
36
+ logo_url: string;
39
37
  company_name: string;
38
+ }, {
40
39
  status: Status;
41
40
  organisation_id: string;
42
41
  country_id: string;
42
+ company_name: string;
43
43
  description?: string | undefined;
44
- logo_url?: string | undefined;
45
44
  logo_key?: string | undefined;
45
+ logo_url?: string | undefined;
46
46
  }>;
47
47
  type MasterFuelCompanyDTO = z.infer<typeof MasterFuelCompanySchema>;
48
48
  declare const MasterFuelCompanyQuerySchema: z.ZodObject<{
@@ -21,14 +21,14 @@ declare const MasterVendorDocumentTypeSchema: z.ZodObject<{
21
21
  description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
22
22
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
23
23
  }, "strip", z.ZodTypeAny, {
24
+ document_type: string;
24
25
  description: string;
25
26
  status: Status;
26
27
  organisation_id: string;
27
- document_type: string;
28
28
  }, {
29
+ document_type: string;
29
30
  status: Status;
30
31
  organisation_id: string;
31
- document_type: string;
32
32
  description?: string | undefined;
33
33
  }>;
34
34
  type MasterVendorDocumentTypeDTO = z.infer<typeof MasterVendorDocumentTypeSchema>;
@@ -39,6 +39,7 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
39
39
  longitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
40
40
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
41
41
  }, "strip", z.ZodTypeAny, {
42
+ google_location: string;
42
43
  status: Status;
43
44
  country_id: string;
44
45
  state_id: string;
@@ -47,7 +48,6 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
47
48
  zip_code: string;
48
49
  landmark_name: string;
49
50
  location: string;
50
- google_location: string;
51
51
  latitude?: number | undefined;
52
52
  longitude?: number | undefined;
53
53
  }, {
@@ -55,13 +55,13 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
55
55
  country_id: string;
56
56
  state_id: string;
57
57
  landmark_name: string;
58
+ latitude?: unknown;
59
+ longitude?: unknown;
60
+ google_location?: string | undefined;
58
61
  locality?: string | undefined;
59
62
  city_district_town?: string | undefined;
60
63
  zip_code?: string | undefined;
61
- latitude?: unknown;
62
- longitude?: unknown;
63
64
  location?: string | undefined;
64
- google_location?: string | undefined;
65
65
  }>;
66
66
  type MasterMainLandmarkDTO = z.infer<typeof MasterMainLandmarkSchema>;
67
67
  declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
@@ -100,6 +100,7 @@ declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
100
100
  landmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
101
101
  }, "strip", z.ZodTypeAny, {
102
102
  status: Status[];
103
+ time_zone_id: string;
103
104
  search: string;
104
105
  paging: PAGING;
105
106
  page_count: number;
@@ -119,13 +120,12 @@ declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
119
120
  }[];
120
121
  include_master_data: YesNo;
121
122
  date_format_id: string;
122
- time_zone_id: string;
123
123
  country_ids: string[];
124
124
  state_ids: string[];
125
125
  landmark_ids: string[];
126
126
  }, {
127
- date_format_id: string;
128
127
  time_zone_id: string;
128
+ date_format_id: string;
129
129
  status?: Status[] | undefined;
130
130
  search?: string | undefined;
131
131
  paging?: PAGING | undefined;
@@ -70,6 +70,7 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
70
70
  fuel_removal_reason_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
71
71
  }, "strip", z.ZodTypeAny, {
72
72
  status: Status[];
73
+ time_zone_id: string;
73
74
  search: string;
74
75
  paging: PAGING;
75
76
  page_count: number;
@@ -89,12 +90,11 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
89
90
  }[];
90
91
  include_master_data: YesNo;
91
92
  date_format_id: string;
92
- time_zone_id: string;
93
93
  organisation_ids: string[];
94
94
  fuel_removal_reason_ids: string[];
95
95
  }, {
96
- date_format_id: string;
97
96
  time_zone_id: string;
97
+ date_format_id: string;
98
98
  status?: Status[] | undefined;
99
99
  search?: string | undefined;
100
100
  paging?: PAGING | undefined;
@@ -31,7 +31,6 @@ declare const ContactUsDetailSchema: z.ZodObject<{
31
31
  telegram_chat_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
32
32
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
33
33
  }, "strip", z.ZodTypeAny, {
34
- status: Status;
35
34
  mobile_number: string;
36
35
  email: string;
37
36
  facebook_link: string;
@@ -42,6 +41,7 @@ declare const ContactUsDetailSchema: z.ZodObject<{
42
41
  pinterest_link: string;
43
42
  whats_app_chat_url: string;
44
43
  telegram_chat_url: string;
44
+ status: Status;
45
45
  }, {
46
46
  status: Status;
47
47
  mobile_number?: string | undefined;
@@ -17,10 +17,10 @@ declare const FaqSchema: z.ZodObject<{
17
17
  faq_content: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
18
18
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
19
19
  }, "strip", z.ZodTypeAny, {
20
+ status: Status;
20
21
  faq_section: string;
21
22
  faq_header: string;
22
23
  faq_content: string;
23
- status: Status;
24
24
  }, {
25
25
  status: Status;
26
26
  faq_section?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vms-nest-prisma-api-document",
3
- "version": "11.0.0",
3
+ "version": "12.0.0",
4
4
  "description": "Reusable API SDK built with NestJS, Prisma, Axios, and Zod for VMS frontends.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",