vms-nest-api-document 13.0.0 → 15.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.
@@ -203,11 +203,11 @@ declare const DailyScheduleDayRunSchema: z.ZodObject<{
203
203
  organisation_id: string;
204
204
  organisation_branch_id: string;
205
205
  route_id: string;
206
- daily_schedule_id: string;
207
206
  vehicle_id: string;
208
207
  driver_id: string;
209
208
  attendant_id: string;
210
209
  time_zone_id: string;
210
+ daily_schedule_id: string;
211
211
  }, {
212
212
  run_date: string;
213
213
  schedule_type: BusLeg;
@@ -217,11 +217,11 @@ declare const DailyScheduleDayRunSchema: z.ZodObject<{
217
217
  organisation_id: string;
218
218
  organisation_branch_id: string;
219
219
  route_id: string;
220
- daily_schedule_id: string;
221
220
  vehicle_id: string;
222
221
  driver_id: string;
223
222
  attendant_id: string;
224
223
  time_zone_id: string;
224
+ daily_schedule_id: string;
225
225
  start_planned_date_time?: string | undefined;
226
226
  end_planned_date_time?: string | undefined;
227
227
  start_actual_date_time?: string | undefined;
@@ -304,16 +304,16 @@ declare const DailyScheduleDayRunQuerySchema: z.ZodObject<{
304
304
  }[];
305
305
  include_master_data: YesNo;
306
306
  date_format_id: string;
307
- daily_schedule_day_run_ids: string[];
308
307
  organisation_ids: string[];
309
308
  organisation_branch_ids: string[];
310
309
  route_ids: string[];
311
- daily_schedule_ids: string[];
312
310
  vehicle_ids: string[];
313
311
  driver_ids: string[];
314
312
  attendant_ids: string[];
315
313
  run_date_from: string;
316
314
  run_date_to: string;
315
+ daily_schedule_ids: string[];
316
+ daily_schedule_day_run_ids: string[];
317
317
  }, {
318
318
  time_zone_id: string;
319
319
  date_format_id: string;
@@ -339,16 +339,16 @@ declare const DailyScheduleDayRunQuerySchema: z.ZodObject<{
339
339
  direction: OrderBy;
340
340
  }[] | undefined;
341
341
  include_master_data?: YesNo | undefined;
342
- daily_schedule_day_run_ids?: string[] | undefined;
343
342
  organisation_ids?: string[] | undefined;
344
343
  organisation_branch_ids?: string[] | undefined;
345
344
  route_ids?: string[] | undefined;
346
- daily_schedule_ids?: string[] | undefined;
347
345
  vehicle_ids?: string[] | undefined;
348
346
  driver_ids?: string[] | undefined;
349
347
  attendant_ids?: string[] | undefined;
350
348
  run_date_from?: string | undefined;
351
349
  run_date_to?: string | undefined;
350
+ daily_schedule_ids?: string[] | undefined;
351
+ daily_schedule_day_run_ids?: string[] | undefined;
352
352
  }>;
353
353
  type DailyScheduleDayRunQueryDTO = z.infer<typeof DailyScheduleDayRunQuerySchema>;
354
354
  declare const DailyScheduleDayRunStopSchema: z.ZodObject<{
@@ -367,7 +367,6 @@ declare const DailyScheduleDayRunStopSchema: z.ZodObject<{
367
367
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
368
368
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
369
369
  }, "strip", z.ZodTypeAny, {
370
- daily_schedule_day_run_id: string;
371
370
  planned_student_count: number;
372
371
  marked_student_count: number;
373
372
  status: Status;
@@ -381,12 +380,13 @@ declare const DailyScheduleDayRunStopSchema: z.ZodObject<{
381
380
  stop_status: DayRunStopStatus;
382
381
  bus_stop_id: string;
383
382
  time_zone_id: string;
384
- }, {
385
383
  daily_schedule_day_run_id: string;
384
+ }, {
386
385
  status: Status;
387
386
  stop_status: DayRunStopStatus;
388
387
  bus_stop_id: string;
389
388
  time_zone_id: string;
389
+ daily_schedule_day_run_id: string;
390
390
  planned_student_count?: unknown;
391
391
  marked_student_count?: unknown;
392
392
  order_no?: unknown;
@@ -460,13 +460,13 @@ declare const DailyScheduleDayRunStopQuerySchema: z.ZodObject<{
460
460
  }[];
461
461
  include_master_data: YesNo;
462
462
  date_format_id: string;
463
- daily_schedule_day_run_ids: string[];
464
463
  organisation_ids: string[];
465
464
  organisation_branch_ids: string[];
466
465
  route_ids: string[];
466
+ bus_stop_ids: string[];
467
467
  daily_schedule_ids: string[];
468
+ daily_schedule_day_run_ids: string[];
468
469
  daily_schedule_day_run_stop_ids: string[];
469
- bus_stop_ids: string[];
470
470
  }, {
471
471
  time_zone_id: string;
472
472
  date_format_id: string;
@@ -490,13 +490,13 @@ declare const DailyScheduleDayRunStopQuerySchema: z.ZodObject<{
490
490
  direction: OrderBy;
491
491
  }[] | undefined;
492
492
  include_master_data?: YesNo | undefined;
493
- daily_schedule_day_run_ids?: string[] | undefined;
494
493
  organisation_ids?: string[] | undefined;
495
494
  organisation_branch_ids?: string[] | undefined;
496
495
  route_ids?: string[] | undefined;
496
+ bus_stop_ids?: string[] | undefined;
497
497
  daily_schedule_ids?: string[] | undefined;
498
+ daily_schedule_day_run_ids?: string[] | undefined;
498
499
  daily_schedule_day_run_stop_ids?: string[] | undefined;
499
- bus_stop_ids?: string[] | undefined;
500
500
  }>;
501
501
  type DailyScheduleDayRunStopQueryDTO = z.infer<typeof DailyScheduleDayRunStopQuerySchema>;
502
502
  declare const DailyScheduleDayRunStudentSchema: z.ZodObject<{
@@ -514,7 +514,6 @@ declare const DailyScheduleDayRunStudentSchema: z.ZodObject<{
514
514
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
515
515
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
516
516
  }, "strip", z.ZodTypeAny, {
517
- daily_schedule_day_run_id: string;
518
517
  status: Status;
519
518
  student_boarding_status: StudentLegStatus;
520
519
  method: AttendanceMethod;
@@ -523,19 +522,20 @@ declare const DailyScheduleDayRunStudentSchema: z.ZodObject<{
523
522
  student_attendance_image_url: string;
524
523
  student_attendance_image_key: string;
525
524
  student_attendance_image_name: string;
526
- planned_daily_schedule_day_run_stop_id: string;
527
- actual_daily_schedule_day_run_stop_id: string;
528
525
  student_id: string;
529
526
  time_zone_id: string;
530
- }, {
531
527
  daily_schedule_day_run_id: string;
528
+ planned_daily_schedule_day_run_stop_id: string;
529
+ actual_daily_schedule_day_run_stop_id: string;
530
+ }, {
532
531
  status: Status;
533
532
  student_boarding_status: StudentLegStatus;
534
533
  method: AttendanceMethod;
535
- planned_daily_schedule_day_run_stop_id: string;
536
- actual_daily_schedule_day_run_stop_id: string;
537
534
  student_id: string;
538
535
  time_zone_id: string;
536
+ daily_schedule_day_run_id: string;
537
+ planned_daily_schedule_day_run_stop_id: string;
538
+ actual_daily_schedule_day_run_stop_id: string;
539
539
  mark_time?: string | undefined;
540
540
  note?: string | undefined;
541
541
  student_attendance_image_url?: string | undefined;
@@ -609,15 +609,15 @@ declare const DailyScheduleDayRunStudentQuerySchema: z.ZodObject<{
609
609
  }[];
610
610
  include_master_data: YesNo;
611
611
  date_format_id: string;
612
- daily_schedule_day_run_ids: string[];
613
612
  organisation_ids: string[];
614
613
  organisation_branch_ids: string[];
615
614
  route_ids: string[];
615
+ student_ids: string[];
616
616
  daily_schedule_ids: string[];
617
+ daily_schedule_day_run_ids: string[];
617
618
  daily_schedule_day_run_student_ids: string[];
618
619
  planned_daily_schedule_day_run_stop_ids: string[];
619
620
  actual_daily_schedule_day_run_stop_ids: string[];
620
- student_ids: string[];
621
621
  }, {
622
622
  time_zone_id: string;
623
623
  date_format_id: string;
@@ -642,15 +642,15 @@ declare const DailyScheduleDayRunStudentQuerySchema: z.ZodObject<{
642
642
  direction: OrderBy;
643
643
  }[] | undefined;
644
644
  include_master_data?: YesNo | undefined;
645
- daily_schedule_day_run_ids?: string[] | undefined;
646
645
  organisation_ids?: string[] | undefined;
647
646
  organisation_branch_ids?: string[] | undefined;
648
647
  route_ids?: string[] | undefined;
648
+ student_ids?: string[] | undefined;
649
649
  daily_schedule_ids?: string[] | undefined;
650
+ daily_schedule_day_run_ids?: string[] | undefined;
650
651
  daily_schedule_day_run_student_ids?: string[] | undefined;
651
652
  planned_daily_schedule_day_run_stop_ids?: string[] | undefined;
652
653
  actual_daily_schedule_day_run_stop_ids?: string[] | undefined;
653
- student_ids?: string[] | undefined;
654
654
  }>;
655
655
  type DailyScheduleDayRunStudentQueryDTO = z.infer<typeof DailyScheduleDayRunStudentQuerySchema>;
656
656
  declare const GenerateDailyScheduleDayRunSchema: z.ZodObject<{
@@ -659,23 +659,23 @@ declare const GenerateDailyScheduleDayRunSchema: z.ZodObject<{
659
659
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
660
660
  }, "strip", z.ZodTypeAny, {
661
661
  run_date: string;
662
- daily_schedule_id: string;
663
662
  time_zone_id: string;
663
+ daily_schedule_id: string;
664
664
  }, {
665
665
  run_date: string;
666
- daily_schedule_id: string;
667
666
  time_zone_id: string;
667
+ daily_schedule_id: string;
668
668
  }>;
669
669
  type GenerateDailyScheduleDayRunDTO = z.infer<typeof GenerateDailyScheduleDayRunSchema>;
670
670
  declare const DailyScheduleDayRunIdSchema: z.ZodObject<{
671
671
  daily_schedule_day_run_id: z.ZodEffects<z.ZodString, string, string>;
672
672
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
673
673
  }, "strip", z.ZodTypeAny, {
674
- daily_schedule_day_run_id: string;
675
674
  time_zone_id: string;
676
- }, {
677
675
  daily_schedule_day_run_id: string;
676
+ }, {
678
677
  time_zone_id: string;
678
+ daily_schedule_day_run_id: string;
679
679
  }>;
680
680
  type DailyScheduleDayRunIdDTO = z.infer<typeof DailyScheduleDayRunIdSchema>;
681
681
  declare const CancelDailyScheduleDayRunSchema: z.ZodObject<{
@@ -683,12 +683,12 @@ declare const CancelDailyScheduleDayRunSchema: z.ZodObject<{
683
683
  cancel_reason: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
684
684
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
685
685
  }, "strip", z.ZodTypeAny, {
686
- daily_schedule_day_run_id: string;
687
686
  cancel_reason: string;
688
687
  time_zone_id: string;
689
- }, {
690
688
  daily_schedule_day_run_id: string;
689
+ }, {
691
690
  time_zone_id: string;
691
+ daily_schedule_day_run_id: string;
692
692
  cancel_reason?: string | undefined;
693
693
  }>;
694
694
  type CancelDailyScheduleDayRunDTO = z.infer<typeof CancelDailyScheduleDayRunSchema>;
@@ -697,12 +697,12 @@ declare const DailyScheduleDayRunStopIdSchema: z.ZodObject<{
697
697
  actual_time: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
698
698
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
699
699
  }, "strip", z.ZodTypeAny, {
700
- daily_schedule_day_run_stop_id: string;
701
700
  time_zone_id: string;
702
701
  actual_time: string;
703
- }, {
704
702
  daily_schedule_day_run_stop_id: string;
703
+ }, {
705
704
  time_zone_id: string;
705
+ daily_schedule_day_run_stop_id: string;
706
706
  actual_time?: string | undefined;
707
707
  }>;
708
708
  type DailyScheduleDayRunStopIdDTO = z.infer<typeof DailyScheduleDayRunStopIdSchema>;
@@ -718,7 +718,6 @@ declare const MarkDailyScheduleDayRunStudentSchema: z.ZodObject<{
718
718
  student_attendance_image_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
719
719
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
720
720
  }, "strip", z.ZodTypeAny, {
721
- daily_schedule_day_run_student_id: string;
722
721
  student_boarding_status: StudentLegStatus;
723
722
  method: AttendanceMethod;
724
723
  mark_time: string;
@@ -726,14 +725,15 @@ declare const MarkDailyScheduleDayRunStudentSchema: z.ZodObject<{
726
725
  student_attendance_image_url: string;
727
726
  student_attendance_image_key: string;
728
727
  student_attendance_image_name: string;
729
- actual_daily_schedule_day_run_stop_id: string;
730
728
  time_zone_id: string;
731
- }, {
732
729
  daily_schedule_day_run_student_id: string;
730
+ actual_daily_schedule_day_run_stop_id: string;
731
+ }, {
733
732
  student_boarding_status: StudentLegStatus;
734
733
  method: AttendanceMethod;
735
- actual_daily_schedule_day_run_stop_id: string;
736
734
  time_zone_id: string;
735
+ daily_schedule_day_run_student_id: string;
736
+ actual_daily_schedule_day_run_stop_id: string;
737
737
  mark_time?: string | undefined;
738
738
  note?: string | undefined;
739
739
  student_attendance_image_url?: string | undefined;
@@ -203,11 +203,11 @@ declare const SpecialScheduleDayRunSchema: z.ZodObject<{
203
203
  organisation_id: string;
204
204
  organisation_branch_id: string;
205
205
  route_id: string;
206
+ special_schedule_id: string;
206
207
  vehicle_id: string;
207
208
  driver_id: string;
208
209
  attendant_id: string;
209
210
  time_zone_id: string;
210
- special_schedule_id: string;
211
211
  }, {
212
212
  run_date: string;
213
213
  schedule_type: BusLeg;
@@ -217,11 +217,11 @@ declare const SpecialScheduleDayRunSchema: z.ZodObject<{
217
217
  organisation_id: string;
218
218
  organisation_branch_id: string;
219
219
  route_id: string;
220
+ special_schedule_id: string;
220
221
  vehicle_id: string;
221
222
  driver_id: string;
222
223
  attendant_id: string;
223
224
  time_zone_id: string;
224
- special_schedule_id: string;
225
225
  start_planned_date_time?: string | undefined;
226
226
  end_planned_date_time?: string | undefined;
227
227
  start_actual_date_time?: string | undefined;
@@ -304,16 +304,16 @@ declare const SpecialScheduleDayRunQuerySchema: z.ZodObject<{
304
304
  }[];
305
305
  include_master_data: YesNo;
306
306
  date_format_id: string;
307
+ special_schedule_day_run_ids: string[];
307
308
  organisation_ids: string[];
308
309
  organisation_branch_ids: string[];
309
310
  route_ids: string[];
311
+ special_schedule_ids: string[];
310
312
  vehicle_ids: string[];
311
313
  driver_ids: string[];
312
314
  attendant_ids: string[];
313
315
  run_date_from: string;
314
316
  run_date_to: string;
315
- special_schedule_ids: string[];
316
- special_schedule_day_run_ids: string[];
317
317
  }, {
318
318
  time_zone_id: string;
319
319
  date_format_id: string;
@@ -339,16 +339,16 @@ declare const SpecialScheduleDayRunQuerySchema: z.ZodObject<{
339
339
  direction: OrderBy;
340
340
  }[] | undefined;
341
341
  include_master_data?: YesNo | undefined;
342
+ special_schedule_day_run_ids?: string[] | undefined;
342
343
  organisation_ids?: string[] | undefined;
343
344
  organisation_branch_ids?: string[] | undefined;
344
345
  route_ids?: string[] | undefined;
346
+ special_schedule_ids?: string[] | undefined;
345
347
  vehicle_ids?: string[] | undefined;
346
348
  driver_ids?: string[] | undefined;
347
349
  attendant_ids?: string[] | undefined;
348
350
  run_date_from?: string | undefined;
349
351
  run_date_to?: string | undefined;
350
- special_schedule_ids?: string[] | undefined;
351
- special_schedule_day_run_ids?: string[] | undefined;
352
352
  }>;
353
353
  type SpecialScheduleDayRunQueryDTO = z.infer<typeof SpecialScheduleDayRunQuerySchema>;
354
354
  declare const SpecialScheduleDayRunStopSchema: z.ZodObject<{
@@ -367,6 +367,7 @@ declare const SpecialScheduleDayRunStopSchema: z.ZodObject<{
367
367
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
368
368
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
369
369
  }, "strip", z.ZodTypeAny, {
370
+ special_schedule_day_run_id: string;
370
371
  planned_student_count: number;
371
372
  marked_student_count: number;
372
373
  status: Status;
@@ -380,13 +381,12 @@ declare const SpecialScheduleDayRunStopSchema: z.ZodObject<{
380
381
  stop_status: DayRunStopStatus;
381
382
  bus_stop_id: string;
382
383
  time_zone_id: string;
383
- special_schedule_day_run_id: string;
384
384
  }, {
385
+ special_schedule_day_run_id: string;
385
386
  status: Status;
386
387
  stop_status: DayRunStopStatus;
387
388
  bus_stop_id: string;
388
389
  time_zone_id: string;
389
- special_schedule_day_run_id: string;
390
390
  planned_student_count?: unknown;
391
391
  marked_student_count?: unknown;
392
392
  order_no?: unknown;
@@ -460,13 +460,13 @@ declare const SpecialScheduleDayRunStopQuerySchema: z.ZodObject<{
460
460
  }[];
461
461
  include_master_data: YesNo;
462
462
  date_format_id: string;
463
+ special_schedule_day_run_ids: string[];
463
464
  organisation_ids: string[];
464
465
  organisation_branch_ids: string[];
465
466
  route_ids: string[];
466
- bus_stop_ids: string[];
467
467
  special_schedule_ids: string[];
468
- special_schedule_day_run_ids: string[];
469
468
  special_schedule_day_run_stop_ids: string[];
469
+ bus_stop_ids: string[];
470
470
  }, {
471
471
  time_zone_id: string;
472
472
  date_format_id: string;
@@ -490,13 +490,13 @@ declare const SpecialScheduleDayRunStopQuerySchema: z.ZodObject<{
490
490
  direction: OrderBy;
491
491
  }[] | undefined;
492
492
  include_master_data?: YesNo | undefined;
493
+ special_schedule_day_run_ids?: string[] | undefined;
493
494
  organisation_ids?: string[] | undefined;
494
495
  organisation_branch_ids?: string[] | undefined;
495
496
  route_ids?: string[] | undefined;
496
- bus_stop_ids?: string[] | undefined;
497
497
  special_schedule_ids?: string[] | undefined;
498
- special_schedule_day_run_ids?: string[] | undefined;
499
498
  special_schedule_day_run_stop_ids?: string[] | undefined;
499
+ bus_stop_ids?: string[] | undefined;
500
500
  }>;
501
501
  type SpecialScheduleDayRunStopQueryDTO = z.infer<typeof SpecialScheduleDayRunStopQuerySchema>;
502
502
  declare const SpecialScheduleDayRunStudentSchema: z.ZodObject<{
@@ -514,6 +514,7 @@ declare const SpecialScheduleDayRunStudentSchema: z.ZodObject<{
514
514
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
515
515
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
516
516
  }, "strip", z.ZodTypeAny, {
517
+ special_schedule_day_run_id: string;
517
518
  status: Status;
518
519
  student_boarding_status: StudentLegStatus;
519
520
  method: AttendanceMethod;
@@ -522,20 +523,19 @@ declare const SpecialScheduleDayRunStudentSchema: z.ZodObject<{
522
523
  student_attendance_image_url: string;
523
524
  student_attendance_image_key: string;
524
525
  student_attendance_image_name: string;
525
- student_id: string;
526
- time_zone_id: string;
527
- special_schedule_day_run_id: string;
528
526
  planned_special_schedule_day_run_stop_id: string;
529
527
  actual_special_schedule_day_run_stop_id: string;
528
+ student_id: string;
529
+ time_zone_id: string;
530
530
  }, {
531
+ special_schedule_day_run_id: string;
531
532
  status: Status;
532
533
  student_boarding_status: StudentLegStatus;
533
534
  method: AttendanceMethod;
534
- student_id: string;
535
- time_zone_id: string;
536
- special_schedule_day_run_id: string;
537
535
  planned_special_schedule_day_run_stop_id: string;
538
536
  actual_special_schedule_day_run_stop_id: string;
537
+ student_id: string;
538
+ time_zone_id: string;
539
539
  mark_time?: string | undefined;
540
540
  note?: string | undefined;
541
541
  student_attendance_image_url?: string | undefined;
@@ -609,15 +609,15 @@ declare const SpecialScheduleDayRunStudentQuerySchema: z.ZodObject<{
609
609
  }[];
610
610
  include_master_data: YesNo;
611
611
  date_format_id: string;
612
+ special_schedule_day_run_ids: string[];
612
613
  organisation_ids: string[];
613
614
  organisation_branch_ids: string[];
614
615
  route_ids: string[];
615
- student_ids: string[];
616
616
  special_schedule_ids: string[];
617
- special_schedule_day_run_ids: string[];
618
617
  special_schedule_day_run_student_ids: string[];
619
618
  planned_special_schedule_day_run_stop_ids: string[];
620
619
  actual_special_schedule_day_run_stop_ids: string[];
620
+ student_ids: string[];
621
621
  }, {
622
622
  time_zone_id: string;
623
623
  date_format_id: string;
@@ -642,15 +642,15 @@ declare const SpecialScheduleDayRunStudentQuerySchema: z.ZodObject<{
642
642
  direction: OrderBy;
643
643
  }[] | undefined;
644
644
  include_master_data?: YesNo | undefined;
645
+ special_schedule_day_run_ids?: string[] | undefined;
645
646
  organisation_ids?: string[] | undefined;
646
647
  organisation_branch_ids?: string[] | undefined;
647
648
  route_ids?: string[] | undefined;
648
- student_ids?: string[] | undefined;
649
649
  special_schedule_ids?: string[] | undefined;
650
- special_schedule_day_run_ids?: string[] | undefined;
651
650
  special_schedule_day_run_student_ids?: string[] | undefined;
652
651
  planned_special_schedule_day_run_stop_ids?: string[] | undefined;
653
652
  actual_special_schedule_day_run_stop_ids?: string[] | undefined;
653
+ student_ids?: string[] | undefined;
654
654
  }>;
655
655
  type SpecialScheduleDayRunStudentQueryDTO = z.infer<typeof SpecialScheduleDayRunStudentQuerySchema>;
656
656
  declare const GenerateSpecialScheduleDayRunSchema: z.ZodObject<{
@@ -659,23 +659,23 @@ declare const GenerateSpecialScheduleDayRunSchema: z.ZodObject<{
659
659
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
660
660
  }, "strip", z.ZodTypeAny, {
661
661
  run_date: string;
662
- time_zone_id: string;
663
662
  special_schedule_id: string;
663
+ time_zone_id: string;
664
664
  }, {
665
665
  run_date: string;
666
- time_zone_id: string;
667
666
  special_schedule_id: string;
667
+ time_zone_id: string;
668
668
  }>;
669
669
  type GenerateSpecialScheduleDayRunDTO = z.infer<typeof GenerateSpecialScheduleDayRunSchema>;
670
670
  declare const SpecialScheduleDayRunIdSchema: z.ZodObject<{
671
671
  special_schedule_day_run_id: z.ZodEffects<z.ZodString, string, string>;
672
672
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
673
673
  }, "strip", z.ZodTypeAny, {
674
- time_zone_id: string;
675
674
  special_schedule_day_run_id: string;
676
- }, {
677
675
  time_zone_id: string;
676
+ }, {
678
677
  special_schedule_day_run_id: string;
678
+ time_zone_id: string;
679
679
  }>;
680
680
  type SpecialScheduleDayRunIdDTO = z.infer<typeof SpecialScheduleDayRunIdSchema>;
681
681
  declare const CancelSpecialScheduleDayRunSchema: z.ZodObject<{
@@ -683,12 +683,12 @@ declare const CancelSpecialScheduleDayRunSchema: z.ZodObject<{
683
683
  cancel_reason: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
684
684
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
685
685
  }, "strip", z.ZodTypeAny, {
686
+ special_schedule_day_run_id: string;
686
687
  cancel_reason: string;
687
688
  time_zone_id: string;
688
- special_schedule_day_run_id: string;
689
689
  }, {
690
- time_zone_id: string;
691
690
  special_schedule_day_run_id: string;
691
+ time_zone_id: string;
692
692
  cancel_reason?: string | undefined;
693
693
  }>;
694
694
  type CancelSpecialScheduleDayRunDTO = z.infer<typeof CancelSpecialScheduleDayRunSchema>;
@@ -697,12 +697,12 @@ declare const SpecialScheduleDayRunStopIdSchema: z.ZodObject<{
697
697
  actual_time: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
698
698
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
699
699
  }, "strip", z.ZodTypeAny, {
700
+ special_schedule_day_run_stop_id: string;
700
701
  time_zone_id: string;
701
702
  actual_time: string;
702
- special_schedule_day_run_stop_id: string;
703
703
  }, {
704
- time_zone_id: string;
705
704
  special_schedule_day_run_stop_id: string;
705
+ time_zone_id: string;
706
706
  actual_time?: string | undefined;
707
707
  }>;
708
708
  type SpecialScheduleDayRunStopIdDTO = z.infer<typeof SpecialScheduleDayRunStopIdSchema>;
@@ -718,6 +718,7 @@ declare const MarkSpecialScheduleDayRunStudentSchema: z.ZodObject<{
718
718
  student_attendance_image_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
719
719
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
720
720
  }, "strip", z.ZodTypeAny, {
721
+ special_schedule_day_run_student_id: string;
721
722
  student_boarding_status: StudentLegStatus;
722
723
  method: AttendanceMethod;
723
724
  mark_time: string;
@@ -725,15 +726,14 @@ declare const MarkSpecialScheduleDayRunStudentSchema: z.ZodObject<{
725
726
  student_attendance_image_url: string;
726
727
  student_attendance_image_key: string;
727
728
  student_attendance_image_name: string;
728
- time_zone_id: string;
729
- special_schedule_day_run_student_id: string;
730
729
  actual_special_schedule_day_run_stop_id: string;
730
+ time_zone_id: string;
731
731
  }, {
732
+ special_schedule_day_run_student_id: string;
732
733
  student_boarding_status: StudentLegStatus;
733
734
  method: AttendanceMethod;
734
- time_zone_id: string;
735
- special_schedule_day_run_student_id: string;
736
735
  actual_special_schedule_day_run_stop_id: string;
736
+ time_zone_id: string;
737
737
  mark_time?: string | undefined;
738
738
  note?: string | undefined;
739
739
  student_attendance_image_url?: string | undefined;
@@ -1,12 +1,31 @@
1
1
  interface GpsAnalytics extends Record<string, unknown> {
2
2
  org_id: string;
3
+ db_i: string;
4
+ db_g: string;
3
5
  v_id: string;
4
- d_id: string;
5
- db_group: string;
6
- db_instance: string;
7
6
  vn: string;
7
+ vnn: string;
8
+ vn_f: string;
9
+ vt: string;
10
+ sub_company_name?: string;
11
+ branch_name?: string;
12
+ color_name?: string;
13
+ tag_name?: string;
14
+ vehicle_type?: string;
15
+ vehicle_make?: string;
16
+ vehicle_model?: string;
17
+ vehicle_sub_model?: string;
18
+ status_type?: string;
19
+ ownership_type?: string;
20
+ associated_to?: string;
21
+ fuel_type?: string;
22
+ fuel_unit?: string;
23
+ d_id: string;
24
+ dr_f?: string;
25
+ dr_url?: string;
8
26
  date: string;
9
27
  day: string;
28
+ date_f: string;
10
29
  device: Device;
11
30
  driver: Driver;
12
31
  gps_count: number;
@@ -15,13 +34,8 @@ interface GpsAnalytics extends Record<string, unknown> {
15
34
  analytics_full: AnalyticsFull;
16
35
  hourly_analysis: HourlyAnalysis[];
17
36
  night_driving: NightDriving;
18
- si: number;
19
- date_f: string;
20
- vn_f: string;
21
- vt: string;
22
- dr_f?: string;
23
- dr_url?: string;
24
37
  night_driving_final: NightDrivingData;
38
+ si: number;
25
39
  }
26
40
  interface Device extends Record<string, unknown> {
27
41
  id: string;
@@ -31,15 +31,30 @@ interface KilometerMonthly extends Record<string, unknown> {
31
31
  "30": string;
32
32
  "31": string;
33
33
  si: number;
34
+ year_month: string;
35
+ total_km: string;
36
+ org_id: string;
37
+ db_i: string;
38
+ db_g: string;
34
39
  v_id: string;
35
40
  vn_f: string;
36
41
  vt: string;
42
+ sub_company_name?: string;
43
+ branch_name?: string;
44
+ color_name?: string;
45
+ tag_name?: string;
46
+ vehicle_type?: string;
47
+ vehicle_make?: string;
48
+ vehicle_model?: string;
49
+ vehicle_sub_model?: string;
50
+ status_type?: string;
51
+ ownership_type?: string;
52
+ associated_to?: string;
53
+ fuel_type?: string;
54
+ fuel_unit?: string;
37
55
  d_id: string;
38
56
  dr_f?: string;
39
57
  dr_url?: string;
40
- total_km: string;
41
- org_id: string;
42
- year_month: string;
43
58
  }
44
59
 
45
60
  export type { KilometerMonthly };
@@ -36,21 +36,21 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
36
36
  vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
37
37
  driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- db_group: string;
40
- db_instance: string;
41
- night_driving: NightDriving;
42
39
  search: string;
43
40
  paging: PAGING;
44
41
  page_count: number;
45
42
  page_index: number;
43
+ login_from: LoginFrom;
46
44
  date_format_id: string;
47
45
  time_zone_id: string;
48
- login_from: LoginFrom;
49
46
  organisation_id: string;
47
+ db_instance: string;
48
+ db_group: string;
50
49
  vehicle_ids: string[];
51
50
  from_date: string;
52
51
  to_date: string;
53
52
  time_slot: TimeSlot;
53
+ night_driving: NightDriving;
54
54
  over_speed: OverSpeed;
55
55
  utilization_km: number;
56
56
  raw_data: YesNo;
@@ -58,21 +58,21 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
58
58
  vehicle_summary: YesNo;
59
59
  driver_summary: YesNo;
60
60
  }, {
61
- db_group: string;
62
- db_instance: string;
61
+ login_from: LoginFrom;
63
62
  date_format_id: string;
64
63
  time_zone_id: string;
65
- login_from: LoginFrom;
66
64
  organisation_id: string;
65
+ db_instance: string;
66
+ db_group: string;
67
67
  from_date: string;
68
68
  to_date: string;
69
- night_driving?: NightDriving | undefined;
70
69
  search?: string | undefined;
71
70
  paging?: PAGING | undefined;
72
71
  page_count?: unknown;
73
72
  page_index?: unknown;
74
73
  vehicle_ids?: string[] | undefined;
75
74
  time_slot?: TimeSlot | undefined;
75
+ night_driving?: NightDriving | undefined;
76
76
  over_speed?: OverSpeed | undefined;
77
77
  utilization_km?: unknown;
78
78
  raw_data?: YesNo | undefined;
@@ -105,20 +105,20 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
105
105
  vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
106
106
  driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
107
107
  }, "strip", z.ZodTypeAny, {
108
- db_group: string;
109
- db_instance: string;
110
- night_driving: NightDriving;
111
108
  search: string;
112
109
  paging: PAGING;
113
110
  page_count: number;
114
111
  page_index: number;
112
+ login_from: LoginFrom;
115
113
  date_format_id: string;
116
114
  time_zone_id: string;
117
- login_from: LoginFrom;
118
115
  organisation_id: string;
116
+ db_instance: string;
117
+ db_group: string;
119
118
  from_date: string;
120
119
  to_date: string;
121
120
  time_slot: TimeSlot;
121
+ night_driving: NightDriving;
122
122
  over_speed: OverSpeed;
123
123
  utilization_km: number;
124
124
  raw_data: YesNo;
@@ -127,20 +127,20 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
127
127
  driver_summary: YesNo;
128
128
  driver_ids: string[];
129
129
  }, {
130
- db_group: string;
131
- db_instance: string;
130
+ login_from: LoginFrom;
132
131
  date_format_id: string;
133
132
  time_zone_id: string;
134
- login_from: LoginFrom;
135
133
  organisation_id: string;
134
+ db_instance: string;
135
+ db_group: string;
136
136
  from_date: string;
137
137
  to_date: string;
138
- night_driving?: NightDriving | undefined;
139
138
  search?: string | undefined;
140
139
  paging?: PAGING | undefined;
141
140
  page_count?: unknown;
142
141
  page_index?: unknown;
143
142
  time_slot?: TimeSlot | undefined;
143
+ night_driving?: NightDriving | undefined;
144
144
  over_speed?: OverSpeed | undefined;
145
145
  utilization_km?: unknown;
146
146
  raw_data?: YesNo | undefined;
@@ -169,16 +169,16 @@ declare const SimpleReportSchema: z.ZodObject<{
169
169
  interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
170
170
  boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
171
171
  }, "strip", z.ZodTypeAny, {
172
- db_group: string;
173
- db_instance: string;
174
172
  search: string;
175
173
  paging: PAGING;
176
174
  page_count: number;
177
175
  page_index: number;
176
+ login_from: LoginFrom;
178
177
  date_format_id: string;
179
178
  time_zone_id: string;
180
- login_from: LoginFrom;
181
179
  organisation_id: string;
180
+ db_instance: string;
181
+ db_group: string;
182
182
  vehicle_ids: string[];
183
183
  from_date: string;
184
184
  to_date: string;
@@ -186,12 +186,12 @@ declare const SimpleReportSchema: z.ZodObject<{
186
186
  interval_seconds: number;
187
187
  boolean_type: BooleanType;
188
188
  }, {
189
- db_group: string;
190
- db_instance: string;
189
+ login_from: LoginFrom;
191
190
  date_format_id: string;
192
191
  time_zone_id: string;
193
- login_from: LoginFrom;
194
192
  organisation_id: string;
193
+ db_instance: string;
194
+ db_group: string;
195
195
  from_date: string;
196
196
  to_date: string;
197
197
  gps_type: GPSType;
@@ -220,26 +220,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
220
220
  utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
221
221
  is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
222
222
  }, "strip", z.ZodTypeAny, {
223
- db_group: string;
224
- db_instance: string;
225
223
  search: string;
226
224
  paging: PAGING;
227
225
  page_count: number;
228
226
  page_index: number;
227
+ login_from: LoginFrom;
229
228
  date_format_id: string;
230
229
  time_zone_id: string;
231
- login_from: LoginFrom;
232
230
  organisation_id: string;
231
+ db_instance: string;
232
+ db_group: string;
233
233
  vehicle_ids: string[];
234
234
  utilization_km: number;
235
235
  is12am: Is12AM;
236
236
  }, {
237
- db_group: string;
238
- db_instance: string;
237
+ login_from: LoginFrom;
239
238
  date_format_id: string;
240
239
  time_zone_id: string;
241
- login_from: LoginFrom;
242
240
  organisation_id: string;
241
+ db_instance: string;
242
+ db_group: string;
243
243
  is12am: Is12AM;
244
244
  search?: string | undefined;
245
245
  paging?: PAGING | undefined;
@@ -266,27 +266,27 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
266
266
  to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
267
267
  interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
268
268
  }, "strip", z.ZodTypeAny, {
269
- db_group: string;
270
- db_instance: string;
271
269
  search: string;
272
270
  paging: PAGING;
273
271
  page_count: number;
274
272
  page_index: number;
273
+ login_from: LoginFrom;
275
274
  date_format_id: string;
276
275
  time_zone_id: string;
277
- login_from: LoginFrom;
278
276
  organisation_id: string;
277
+ db_instance: string;
278
+ db_group: string;
279
279
  interval_seconds: number;
280
280
  vehicle_id: string;
281
281
  from_date_time: string;
282
282
  to_date_time: string;
283
283
  }, {
284
- db_group: string;
285
- db_instance: string;
284
+ login_from: LoginFrom;
286
285
  date_format_id: string;
287
286
  time_zone_id: string;
288
- login_from: LoginFrom;
289
287
  organisation_id: string;
288
+ db_instance: string;
289
+ db_group: string;
290
290
  vehicle_id: string;
291
291
  from_date_time: string;
292
292
  to_date_time: string;
@@ -311,24 +311,24 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
311
311
  db_group: z.ZodEffects<z.ZodString, string, string>;
312
312
  vehicle_id: z.ZodEffects<z.ZodString, string, string>;
313
313
  }, "strip", z.ZodTypeAny, {
314
- db_group: string;
315
- db_instance: string;
316
314
  search: string;
317
315
  paging: PAGING;
318
316
  page_count: number;
319
317
  page_index: number;
318
+ login_from: LoginFrom;
320
319
  date_format_id: string;
321
320
  time_zone_id: string;
322
- login_from: LoginFrom;
323
321
  organisation_id: string;
322
+ db_instance: string;
323
+ db_group: string;
324
324
  vehicle_id: string;
325
325
  }, {
326
- db_group: string;
327
- db_instance: string;
326
+ login_from: LoginFrom;
328
327
  date_format_id: string;
329
328
  time_zone_id: string;
330
- login_from: LoginFrom;
331
329
  organisation_id: string;
330
+ db_instance: string;
331
+ db_group: string;
332
332
  vehicle_id: string;
333
333
  search?: string | undefined;
334
334
  paging?: PAGING | undefined;
@@ -358,16 +358,16 @@ declare const AlertReportSchema: z.ZodObject<{
358
358
  from_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
359
359
  to_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
360
360
  }, "strip", z.ZodTypeAny, {
361
- db_group: string;
362
- db_instance: string;
363
361
  search: string;
364
362
  paging: PAGING;
365
363
  page_count: number;
366
364
  page_index: number;
365
+ login_from: LoginFrom;
367
366
  date_format_id: string;
368
367
  time_zone_id: string;
369
- login_from: LoginFrom;
370
368
  organisation_id: string;
369
+ db_instance: string;
370
+ db_group: string;
371
371
  vehicle_ids: string[];
372
372
  from_date: string;
373
373
  to_date: string;
@@ -378,12 +378,12 @@ declare const AlertReportSchema: z.ZodObject<{
378
378
  alert_types: AlertType[];
379
379
  alert_sub_types: AlertSubType[];
380
380
  }, {
381
- db_group: string;
382
- db_instance: string;
381
+ login_from: LoginFrom;
383
382
  date_format_id: string;
384
383
  time_zone_id: string;
385
- login_from: LoginFrom;
386
384
  organisation_id: string;
385
+ db_instance: string;
386
+ db_group: string;
387
387
  from_date: string;
388
388
  to_date: string;
389
389
  search?: string | undefined;
@@ -31,6 +31,7 @@ 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;
34
35
  mobile_number: string;
35
36
  email: string;
36
37
  facebook_link: string;
@@ -41,7 +42,6 @@ declare const ContactUsDetailSchema: z.ZodObject<{
41
42
  pinterest_link: string;
42
43
  whats_app_chat_url: string;
43
44
  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;
21
20
  faq_section: string;
22
21
  faq_header: string;
23
22
  faq_content: string;
23
+ status: Status;
24
24
  }, {
25
25
  status: Status;
26
26
  faq_section?: string | undefined;
@@ -25,10 +25,10 @@ declare const RequestDemoSchema: z.ZodObject<{
25
25
  admin_view: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
26
26
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
27
27
  }, "strip", z.ZodTypeAny, {
28
- email: string;
29
28
  status: Status;
30
29
  message: string;
31
30
  name: string;
31
+ email: string;
32
32
  mobile: string;
33
33
  admin_message: string;
34
34
  city: string;
@@ -37,8 +37,8 @@ declare const RequestDemoSchema: z.ZodObject<{
37
37
  status: Status;
38
38
  name: string;
39
39
  admin_view: YesNo;
40
- email?: string | undefined;
41
40
  message?: string | undefined;
41
+ email?: string | undefined;
42
42
  mobile?: string | undefined;
43
43
  admin_message?: string | undefined;
44
44
  city?: string | undefined;
@@ -134,15 +134,15 @@ declare const RequestDemoCreateSchema: z.ZodObject<{
134
134
  message: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
135
135
  city: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
136
136
  }, "strip", z.ZodTypeAny, {
137
- email: string;
138
137
  message: string;
139
138
  name: string;
139
+ email: string;
140
140
  mobile: string;
141
141
  city: string;
142
142
  }, {
143
143
  name: string;
144
- email?: string | undefined;
145
144
  message?: string | undefined;
145
+ email?: string | undefined;
146
146
  mobile?: string | undefined;
147
147
  city?: string | undefined;
148
148
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vms-nest-api-document",
3
- "version": "13.0.0",
3
+ "version": "15.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",