vms-nest-prisma-api-document 221.0.0 → 222.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.
@@ -89,11 +89,11 @@ declare const BusStopSchema: z.ZodObject<{
89
89
  }>, "many">>>;
90
90
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
91
91
  }, "strip", z.ZodTypeAny, {
92
- stop_name: string;
93
- stop_code: string;
94
- stop_type: BusStopType;
95
- stop_description: string;
96
- stop_duration_seconds: number;
92
+ status: Status;
93
+ organisation_id: string;
94
+ organisation_branch_id: string;
95
+ country_code: string;
96
+ google_location: string;
97
97
  address_line1: string;
98
98
  address_line2: string;
99
99
  locality_landmark: string;
@@ -103,30 +103,29 @@ declare const BusStopSchema: z.ZodObject<{
103
103
  state_province_region: string;
104
104
  postal_code: string;
105
105
  country: string;
106
- country_code: string;
107
- google_location: string;
106
+ stop_name: string;
107
+ stop_code: string;
108
+ stop_type: BusStopType;
109
+ stop_description: string;
110
+ stop_duration_seconds: number;
108
111
  geofence_type: GeofenceType;
109
112
  polygon_data: {
110
113
  latitude: number;
111
114
  longitude: number;
112
115
  }[];
113
- status: Status;
114
- organisation_id: string;
115
- organisation_branch_id: string;
116
116
  stop_latitude?: number | undefined;
117
117
  stop_longitude?: number | undefined;
118
118
  radius_meters?: number | undefined;
119
119
  radius_km?: number | undefined;
120
120
  }, {
121
- stop_name: string;
122
- stop_type: BusStopType;
123
- geofence_type: GeofenceType;
124
121
  status: Status;
125
122
  organisation_id: string;
126
123
  organisation_branch_id: string;
127
- stop_code?: string | undefined;
128
- stop_description?: string | undefined;
129
- stop_duration_seconds?: unknown;
124
+ stop_name: string;
125
+ stop_type: BusStopType;
126
+ geofence_type: GeofenceType;
127
+ country_code?: string | undefined;
128
+ google_location?: string | undefined;
130
129
  address_line1?: string | undefined;
131
130
  address_line2?: string | undefined;
132
131
  locality_landmark?: string | undefined;
@@ -136,8 +135,9 @@ declare const BusStopSchema: z.ZodObject<{
136
135
  state_province_region?: string | undefined;
137
136
  postal_code?: string | undefined;
138
137
  country?: string | undefined;
139
- country_code?: string | undefined;
140
- google_location?: string | undefined;
138
+ stop_code?: string | undefined;
139
+ stop_description?: string | undefined;
140
+ stop_duration_seconds?: unknown;
141
141
  stop_latitude?: unknown;
142
142
  stop_longitude?: unknown;
143
143
  radius_meters?: unknown;
@@ -185,8 +185,6 @@ declare const BusStopQuerySchema: z.ZodObject<{
185
185
  stop_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusStopType>, "many">>>;
186
186
  geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
187
187
  }, "strip", z.ZodTypeAny, {
188
- stop_type: BusStopType[];
189
- geofence_type: GeofenceType[];
190
188
  status: Status[];
191
189
  search: string;
192
190
  paging: PAGING;
@@ -210,12 +208,12 @@ declare const BusStopQuerySchema: z.ZodObject<{
210
208
  time_zone_id: string;
211
209
  organisation_ids: string[];
212
210
  organisation_branch_ids: string[];
211
+ stop_type: BusStopType[];
212
+ geofence_type: GeofenceType[];
213
213
  bus_stop_ids: string[];
214
214
  }, {
215
215
  date_format_id: string;
216
216
  time_zone_id: string;
217
- stop_type?: BusStopType[] | undefined;
218
- geofence_type?: GeofenceType[] | undefined;
219
217
  status?: Status[] | undefined;
220
218
  search?: string | undefined;
221
219
  paging?: PAGING | undefined;
@@ -237,6 +235,8 @@ declare const BusStopQuerySchema: z.ZodObject<{
237
235
  include_master_data?: YesNo | undefined;
238
236
  organisation_ids?: string[] | undefined;
239
237
  organisation_branch_ids?: string[] | undefined;
238
+ stop_type?: BusStopType[] | undefined;
239
+ geofence_type?: GeofenceType[] | undefined;
240
240
  bus_stop_ids?: string[] | undefined;
241
241
  }>;
242
242
  type BusStopQueryDTO = z.infer<typeof BusStopQuerySchema>;
@@ -29,20 +29,20 @@ declare const OrganisationCalendarSchema: z.ZodObject<{
29
29
  notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
30
30
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
31
31
  }, "strip", z.ZodTypeAny, {
32
- status: Status;
33
- organisation_id: string;
34
- organisation_branch_id: string;
35
- notes: string;
36
32
  calendar_date: string;
37
33
  holiday_type: HolidayType;
38
34
  title: string;
39
- }, {
35
+ notes: string;
40
36
  status: Status;
41
37
  organisation_id: string;
42
38
  organisation_branch_id: string;
39
+ }, {
43
40
  calendar_date: string;
44
41
  holiday_type: HolidayType;
45
42
  title: string;
43
+ status: Status;
44
+ organisation_id: string;
45
+ organisation_branch_id: string;
46
46
  notes?: string | undefined;
47
47
  }>;
48
48
  type OrganisationCalendarDTO = z.infer<typeof OrganisationCalendarSchema>;
@@ -82,6 +82,7 @@ declare const OrganisationCalendarQuerySchema: z.ZodObject<{
82
82
  calendar_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
83
83
  holiday_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof HolidayType>, "many">>>;
84
84
  }, "strip", z.ZodTypeAny, {
85
+ holiday_type: HolidayType[];
85
86
  status: Status[];
86
87
  search: string;
87
88
  paging: PAGING;
@@ -105,11 +106,11 @@ declare const OrganisationCalendarQuerySchema: z.ZodObject<{
105
106
  time_zone_id: string;
106
107
  organisation_ids: string[];
107
108
  organisation_branch_ids: string[];
108
- holiday_type: HolidayType[];
109
109
  calendar_ids: string[];
110
110
  }, {
111
111
  date_format_id: string;
112
112
  time_zone_id: string;
113
+ holiday_type?: HolidayType[] | undefined;
113
114
  status?: Status[] | undefined;
114
115
  search?: string | undefined;
115
116
  paging?: PAGING | undefined;
@@ -131,7 +132,6 @@ declare const OrganisationCalendarQuerySchema: z.ZodObject<{
131
132
  include_master_data?: YesNo | undefined;
132
133
  organisation_ids?: string[] | undefined;
133
134
  organisation_branch_ids?: string[] | undefined;
134
- holiday_type?: HolidayType[] | undefined;
135
135
  calendar_ids?: string[] | undefined;
136
136
  }>;
137
137
  type OrganisationCalendarQueryDTO = z.infer<typeof OrganisationCalendarQuerySchema>;
@@ -464,6 +464,12 @@ declare const StudentAddressSchema: z.ZodObject<{
464
464
  notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
465
465
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
466
466
  }, "strip", z.ZodTypeAny, {
467
+ notes: string;
468
+ status: Status;
469
+ organisation_id: string;
470
+ organisation_branch_id: string;
471
+ country_code: string;
472
+ google_location: string;
467
473
  address_line1: string;
468
474
  address_line2: string;
469
475
  locality_landmark: string;
@@ -473,23 +479,22 @@ declare const StudentAddressSchema: z.ZodObject<{
473
479
  state_province_region: string;
474
480
  postal_code: string;
475
481
  country: string;
476
- country_code: string;
477
- google_location: string;
478
- status: Status;
479
- organisation_id: string;
480
- organisation_branch_id: string;
481
482
  is_default: YesNo;
482
- notes: string;
483
483
  student_id: string;
484
484
  latitude?: number | undefined;
485
485
  longitude?: number | undefined;
486
486
  }, {
487
- address_line1: string;
488
487
  status: Status;
489
488
  organisation_id: string;
490
489
  organisation_branch_id: string;
490
+ address_line1: string;
491
491
  is_default: YesNo;
492
492
  student_id: string;
493
+ notes?: string | undefined;
494
+ country_code?: string | undefined;
495
+ latitude?: unknown;
496
+ longitude?: unknown;
497
+ google_location?: string | undefined;
493
498
  address_line2?: string | undefined;
494
499
  locality_landmark?: string | undefined;
495
500
  neighborhood?: string | undefined;
@@ -498,11 +503,6 @@ declare const StudentAddressSchema: z.ZodObject<{
498
503
  state_province_region?: string | undefined;
499
504
  postal_code?: string | undefined;
500
505
  country?: string | undefined;
501
- country_code?: string | undefined;
502
- google_location?: string | undefined;
503
- latitude?: unknown;
504
- longitude?: unknown;
505
- notes?: string | undefined;
506
506
  }>;
507
507
  type StudentAddressDTO = z.infer<typeof StudentAddressSchema>;
508
508
  declare const StudentAddressBusStopAssignSchema: z.ZodObject<{
@@ -574,8 +574,8 @@ declare const StudentAddressQuerySchema: z.ZodObject<{
574
574
  time_zone_id: string;
575
575
  organisation_ids: string[];
576
576
  organisation_branch_ids: string[];
577
- bus_stop_ids: string[];
578
577
  is_default: YesNo[];
578
+ bus_stop_ids: string[];
579
579
  student_ids: string[];
580
580
  student_address_ids: string[];
581
581
  }, {
@@ -602,8 +602,8 @@ declare const StudentAddressQuerySchema: z.ZodObject<{
602
602
  include_master_data?: YesNo | undefined;
603
603
  organisation_ids?: string[] | undefined;
604
604
  organisation_branch_ids?: string[] | undefined;
605
- bus_stop_ids?: string[] | undefined;
606
605
  is_default?: YesNo[] | undefined;
606
+ bus_stop_ids?: string[] | undefined;
607
607
  student_ids?: string[] | undefined;
608
608
  student_address_ids?: string[] | undefined;
609
609
  }>;
@@ -624,12 +624,12 @@ declare const StudentGuardianLinkSchema: z.ZodObject<{
624
624
  alternative_mobile: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
625
625
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
626
626
  }, "strip", z.ZodTypeAny, {
627
+ notes: string;
627
628
  status: Status;
628
629
  organisation_id: string;
629
630
  organisation_branch_id: string;
630
631
  email: string;
631
632
  mobile: string;
632
- notes: string;
633
633
  is_primary: YesNo;
634
634
  alternative_mobile: string;
635
635
  relationship_id: string;
@@ -647,8 +647,8 @@ declare const StudentGuardianLinkSchema: z.ZodObject<{
647
647
  relationship_id: string;
648
648
  student_id: string;
649
649
  full_name: string;
650
- email?: string | undefined;
651
650
  notes?: string | undefined;
651
+ email?: string | undefined;
652
652
  alternative_mobile?: string | undefined;
653
653
  photo_url?: string | undefined;
654
654
  photo_key?: string | undefined;
@@ -59,36 +59,36 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
59
59
  liters_per_100km: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
60
60
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
61
61
  }, "strip", z.ZodTypeAny, {
62
- start_fuel_liters: number;
63
- end_fuel_liters: number;
62
+ status: Status;
63
+ organisation_id: string;
64
+ user_id: string;
65
+ vehicle_id: string;
66
+ driver_id: string;
67
+ device_id: string;
68
+ date: string;
64
69
  total_km: number;
65
70
  consumed_fuel_liters: number;
66
71
  refills_count: number;
72
+ start_fuel_liters: number;
73
+ end_fuel_liters: number;
67
74
  refill_liters: number;
68
75
  removals_count: number;
69
76
  removal_liters: number;
70
77
  mileage_kmpl: number;
71
78
  liters_per_100km: number;
72
- date: string;
73
- status: Status;
74
- organisation_id: string;
75
- user_id: string;
76
- vehicle_id: string;
77
- driver_id: string;
78
- device_id: string;
79
79
  }, {
80
- date: string;
81
80
  status: Status;
82
81
  organisation_id: string;
83
82
  user_id: string;
84
83
  vehicle_id: string;
85
84
  driver_id: string;
86
85
  device_id: string;
87
- start_fuel_liters?: unknown;
88
- end_fuel_liters?: unknown;
86
+ date: string;
89
87
  total_km?: unknown;
90
88
  consumed_fuel_liters?: unknown;
91
89
  refills_count?: unknown;
90
+ start_fuel_liters?: unknown;
91
+ end_fuel_liters?: unknown;
92
92
  refill_liters?: unknown;
93
93
  removals_count?: unknown;
94
94
  removal_liters?: unknown;
@@ -139,6 +139,7 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
139
139
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
140
140
  }, "strip", z.ZodTypeAny, {
141
141
  status: Status[];
142
+ time_zone_id: string;
142
143
  search: string;
143
144
  paging: PAGING;
144
145
  page_count: number;
@@ -158,20 +159,19 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
158
159
  }[];
159
160
  include_master_data: YesNo;
160
161
  date_format_id: string;
161
- time_zone_id: string;
162
- fleet_fuel_daily_summary_ids: string[];
163
162
  organisation_ids: string[];
164
163
  user_ids: string[];
165
164
  vehicle_ids: string[];
166
165
  driver_ids: string[];
167
166
  device_ids: string[];
168
- vehicle_summary: YesNo;
169
- day_summary: YesNo;
170
167
  from_date: string;
171
168
  to_date: string;
169
+ fleet_fuel_daily_summary_ids: string[];
170
+ vehicle_summary: YesNo;
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;
@@ -193,12 +193,12 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
193
193
  direction: OrderBy;
194
194
  }[] | undefined;
195
195
  include_master_data?: YesNo | undefined;
196
- fleet_fuel_daily_summary_ids?: string[] | undefined;
197
196
  organisation_ids?: string[] | undefined;
198
197
  user_ids?: string[] | undefined;
199
198
  vehicle_ids?: string[] | undefined;
200
199
  driver_ids?: string[] | undefined;
201
200
  device_ids?: string[] | undefined;
201
+ fleet_fuel_daily_summary_ids?: string[] | undefined;
202
202
  vehicle_summary?: YesNo | undefined;
203
203
  day_summary?: YesNo | undefined;
204
204
  }>;
@@ -240,6 +240,7 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
240
240
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
241
241
  }, "strip", z.ZodTypeAny, {
242
242
  status: Status[];
243
+ time_zone_id: string;
243
244
  search: string;
244
245
  paging: PAGING;
245
246
  page_count: number;
@@ -259,14 +260,13 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
259
260
  }[];
260
261
  include_master_data: YesNo;
261
262
  date_format_id: string;
262
- time_zone_id: string;
263
263
  organisation_ids: string[];
264
264
  vehicle_ids: string[];
265
265
  from_date: string;
266
266
  to_date: string;
267
267
  }, {
268
- date_format_id: string;
269
268
  time_zone_id: string;
269
+ date_format_id: string;
270
270
  from_date: string;
271
271
  to_date: string;
272
272
  status?: Status[] | undefined;
@@ -206,25 +206,25 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
206
206
  file_metadata?: Record<string, any> | undefined;
207
207
  }>, "many">>>;
208
208
  }, "strip", z.ZodTypeAny, {
209
+ odometer_reading: number;
210
+ date_time: string;
211
+ admin_verify_status: GPSFuelApproveStatus;
212
+ transporter_verify_status: GPSFuelApproveStatus;
213
+ entry_source: RefillEntrySource;
214
+ source_reference_id: string;
215
+ source_notes: string;
216
+ google_location: string;
209
217
  status: Status;
210
218
  organisation_id: string;
211
219
  user_id: string;
212
220
  vehicle_id: string;
213
221
  driver_id: string;
214
222
  device_id: string;
215
- time_zone_id: string;
216
223
  vehicle_fuel_type_id: string;
217
224
  vehicle_fuel_unit_id: string;
218
- google_location: string;
225
+ time_zone_id: string;
219
226
  vendor_id: string;
220
227
  fuel_station_id: string;
221
- odometer_reading: number;
222
- date_time: string;
223
- admin_verify_status: GPSFuelApproveStatus;
224
- transporter_verify_status: GPSFuelApproveStatus;
225
- entry_source: RefillEntrySource;
226
- source_reference_id: string;
227
- source_notes: string;
228
228
  refill_method: RefillMethod;
229
229
  refill_details: string;
230
230
  filled_by_person: string;
@@ -250,6 +250,8 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
250
250
  file_metadata: Record<string, any>;
251
251
  fleet_fuel_refill_id: string;
252
252
  }[];
253
+ cost_per_unit?: number | undefined;
254
+ total_cost?: number | undefined;
253
255
  latitude?: number | undefined;
254
256
  longitude?: number | undefined;
255
257
  before_refill_quantity?: number | undefined;
@@ -257,41 +259,39 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
257
259
  refill_quantity?: number | undefined;
258
260
  verified_refill_quantity?: number | undefined;
259
261
  diff_refill_quantity?: number | undefined;
260
- cost_per_unit?: number | undefined;
261
- total_cost?: number | undefined;
262
262
  }, {
263
+ date_time: string;
264
+ admin_verify_status: GPSFuelApproveStatus;
265
+ transporter_verify_status: GPSFuelApproveStatus;
263
266
  status: Status;
264
267
  organisation_id: string;
265
268
  user_id: string;
266
269
  vehicle_id: string;
267
270
  driver_id: string;
268
271
  device_id: string;
269
- time_zone_id: string;
270
272
  vehicle_fuel_type_id: string;
271
273
  vehicle_fuel_unit_id: string;
274
+ time_zone_id: string;
272
275
  vendor_id: string;
273
276
  fuel_station_id: string;
274
- date_time: string;
275
- admin_verify_status: GPSFuelApproveStatus;
276
- transporter_verify_status: GPSFuelApproveStatus;
277
277
  payment_mode: PaymentMode;
278
278
  payment_status: PaymentStatus;
279
279
  is_full_tank: YesNo;
280
280
  is_previous_entries_missed: YesNo;
281
+ odometer_reading?: unknown;
282
+ cost_per_unit?: unknown;
283
+ total_cost?: unknown;
284
+ entry_source?: RefillEntrySource | undefined;
285
+ source_reference_id?: string | undefined;
286
+ source_notes?: string | undefined;
281
287
  latitude?: unknown;
282
288
  longitude?: unknown;
283
289
  google_location?: string | undefined;
284
- odometer_reading?: unknown;
285
290
  before_refill_quantity?: unknown;
286
291
  after_refill_quantity?: unknown;
287
292
  refill_quantity?: unknown;
288
293
  verified_refill_quantity?: unknown;
289
294
  diff_refill_quantity?: unknown;
290
- cost_per_unit?: unknown;
291
- total_cost?: unknown;
292
- entry_source?: RefillEntrySource | undefined;
293
- source_reference_id?: string | undefined;
294
- source_notes?: string | undefined;
295
295
  refill_method?: RefillMethod | undefined;
296
296
  refill_details?: string | undefined;
297
297
  filled_by_person?: string | undefined;
@@ -367,7 +367,11 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
367
367
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
368
368
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
369
369
  }, "strip", z.ZodTypeAny, {
370
+ admin_verify_status: GPSFuelApproveStatus[];
371
+ transporter_verify_status: GPSFuelApproveStatus[];
372
+ entry_source: RefillEntrySource[];
370
373
  status: Status[];
374
+ time_zone_id: string;
371
375
  search: string;
372
376
  paging: PAGING;
373
377
  page_count: number;
@@ -387,21 +391,17 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
387
391
  }[];
388
392
  include_master_data: YesNo;
389
393
  date_format_id: string;
390
- time_zone_id: string;
391
394
  organisation_ids: string[];
392
395
  user_ids: string[];
393
396
  vehicle_ids: string[];
394
397
  driver_ids: string[];
395
398
  device_ids: string[];
399
+ vehicle_fuel_type_ids: string[];
400
+ vehicle_fuel_unit_ids: string[];
396
401
  from_date: string;
397
402
  to_date: string;
398
403
  vendor_ids: string[];
399
404
  fuel_station_ids: string[];
400
- vehicle_fuel_type_ids: string[];
401
- vehicle_fuel_unit_ids: string[];
402
- admin_verify_status: GPSFuelApproveStatus[];
403
- transporter_verify_status: GPSFuelApproveStatus[];
404
- entry_source: RefillEntrySource[];
405
405
  refill_method: RefillMethod[];
406
406
  payment_mode: PaymentMode[];
407
407
  payment_status: PaymentStatus[];
@@ -409,10 +409,13 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
409
409
  is_previous_entries_missed: YesNo[];
410
410
  fleet_fuel_refill_ids: string[];
411
411
  }, {
412
- date_format_id: string;
413
412
  time_zone_id: string;
413
+ date_format_id: string;
414
414
  from_date: string;
415
415
  to_date: string;
416
+ admin_verify_status?: GPSFuelApproveStatus[] | undefined;
417
+ transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
418
+ entry_source?: RefillEntrySource[] | undefined;
416
419
  status?: Status[] | undefined;
417
420
  search?: string | undefined;
418
421
  paging?: PAGING | undefined;
@@ -437,13 +440,10 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
437
440
  vehicle_ids?: string[] | undefined;
438
441
  driver_ids?: string[] | undefined;
439
442
  device_ids?: string[] | undefined;
440
- vendor_ids?: string[] | undefined;
441
- fuel_station_ids?: string[] | undefined;
442
443
  vehicle_fuel_type_ids?: string[] | undefined;
443
444
  vehicle_fuel_unit_ids?: string[] | undefined;
444
- admin_verify_status?: GPSFuelApproveStatus[] | undefined;
445
- transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
446
- entry_source?: RefillEntrySource[] | undefined;
445
+ vendor_ids?: string[] | undefined;
446
+ fuel_station_ids?: string[] | undefined;
447
447
  refill_method?: RefillMethod[] | undefined;
448
448
  payment_mode?: PaymentMode[] | undefined;
449
449
  payment_status?: PaymentStatus[] | undefined;