vms-nest-api-document 17.0.0 → 18.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.
@@ -86,8 +86,10 @@ declare const CronMonitorQuerySchema: z.ZodObject<{
86
86
  run_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof RunType>, "many">>>;
87
87
  execution_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExecutionStatus>, "many">>>;
88
88
  }, "strip", z.ZodTypeAny, {
89
- is_enabled: YesNo[];
89
+ run_type: RunType[];
90
+ execution_status: ExecutionStatus[];
90
91
  status: Status[];
92
+ is_enabled: YesNo[];
91
93
  search: string;
92
94
  paging: PAGING;
93
95
  page_count: number;
@@ -108,13 +110,13 @@ declare const CronMonitorQuerySchema: z.ZodObject<{
108
110
  include_master_data: YesNo;
109
111
  date_format_id: string;
110
112
  time_zone_id: string;
111
- run_type: RunType[];
112
- execution_status: ExecutionStatus[];
113
113
  }, {
114
114
  date_format_id: string;
115
115
  time_zone_id: string;
116
- is_enabled?: YesNo[] | undefined;
116
+ run_type?: RunType[] | undefined;
117
+ execution_status?: ExecutionStatus[] | undefined;
117
118
  status?: Status[] | undefined;
119
+ is_enabled?: YesNo[] | undefined;
118
120
  search?: string | undefined;
119
121
  paging?: PAGING | undefined;
120
122
  page_count?: unknown;
@@ -133,8 +135,6 @@ declare const CronMonitorQuerySchema: z.ZodObject<{
133
135
  direction: OrderBy;
134
136
  }[] | undefined;
135
137
  include_master_data?: YesNo | undefined;
136
- run_type?: RunType[] | undefined;
137
- execution_status?: ExecutionStatus[] | undefined;
138
138
  }>;
139
139
  type CronMonitorQueryDTO = z.infer<typeof CronMonitorQuerySchema>;
140
140
  declare const CronJobLogQuerySchema: z.ZodObject<{
@@ -173,6 +173,9 @@ declare const CronJobLogQuerySchema: z.ZodObject<{
173
173
  execution_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExecutionStatus>, "many">>>;
174
174
  is_latest_run: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
175
175
  }, "strip", z.ZodTypeAny, {
176
+ run_type: RunType[];
177
+ execution_status: ExecutionStatus[];
178
+ is_latest_run: YesNo[];
176
179
  status: Status[];
177
180
  search: string;
178
181
  paging: PAGING;
@@ -194,13 +197,13 @@ declare const CronJobLogQuerySchema: z.ZodObject<{
194
197
  include_master_data: YesNo;
195
198
  date_format_id: string;
196
199
  time_zone_id: string;
197
- run_type: RunType[];
198
- execution_status: ExecutionStatus[];
199
- is_latest_run: YesNo[];
200
200
  cron_job_ids: string[];
201
201
  }, {
202
202
  date_format_id: string;
203
203
  time_zone_id: string;
204
+ run_type?: RunType[] | undefined;
205
+ execution_status?: ExecutionStatus[] | undefined;
206
+ is_latest_run?: YesNo[] | undefined;
204
207
  status?: Status[] | undefined;
205
208
  search?: string | undefined;
206
209
  paging?: PAGING | undefined;
@@ -220,9 +223,6 @@ declare const CronJobLogQuerySchema: z.ZodObject<{
220
223
  direction: OrderBy;
221
224
  }[] | undefined;
222
225
  include_master_data?: YesNo | undefined;
223
- run_type?: RunType[] | undefined;
224
- execution_status?: ExecutionStatus[] | undefined;
225
- is_latest_run?: YesNo[] | undefined;
226
226
  cron_job_ids?: string[] | undefined;
227
227
  }>;
228
228
  type CronJobLogQueryDTO = z.infer<typeof CronJobLogQuerySchema>;
@@ -61,26 +61,26 @@ declare const ApiDataShareManagementSchema: z.ZodObject<{
61
61
  allowed_ips: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
62
62
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
63
63
  }, "strip", z.ZodTypeAny, {
64
+ status: Status;
65
+ is_enabled: YesNo;
64
66
  api_name: string;
65
67
  vendor_name: string;
66
68
  purpose: string;
67
69
  description: string;
68
- is_enabled: YesNo;
69
70
  auth_type: APIAuthType;
70
71
  api_key: string;
71
72
  username: string;
72
73
  password: string;
73
74
  rate_limit_rpm: number;
74
75
  allowed_ips: string[];
75
- status: Status;
76
76
  }, {
77
+ status: Status;
77
78
  api_name: string;
78
79
  vendor_name: string;
79
80
  allowed_ips: string[];
80
- status: Status;
81
+ is_enabled?: YesNo | undefined;
81
82
  purpose?: string | undefined;
82
83
  description?: string | undefined;
83
- is_enabled?: YesNo | undefined;
84
84
  auth_type?: APIAuthType | undefined;
85
85
  api_key?: string | undefined;
86
86
  username?: string | undefined;
@@ -123,9 +123,8 @@ declare const ApiDataShareManagementQuerySchema: z.ZodObject<{
123
123
  is_enabled: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
124
124
  auth_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof APIAuthType>, "many">>>;
125
125
  }, "strip", z.ZodTypeAny, {
126
- is_enabled: YesNo[];
127
- auth_type: APIAuthType[];
128
126
  status: Status[];
127
+ is_enabled: YesNo[];
129
128
  search: string;
130
129
  paging: PAGING;
131
130
  page_count: number;
@@ -146,13 +145,13 @@ declare const ApiDataShareManagementQuerySchema: z.ZodObject<{
146
145
  include_master_data: YesNo;
147
146
  date_format_id: string;
148
147
  time_zone_id: string;
148
+ auth_type: APIAuthType[];
149
149
  api_data_share_ids: string[];
150
150
  }, {
151
151
  date_format_id: string;
152
152
  time_zone_id: string;
153
- is_enabled?: YesNo[] | undefined;
154
- auth_type?: APIAuthType[] | undefined;
155
153
  status?: Status[] | undefined;
154
+ is_enabled?: YesNo[] | undefined;
156
155
  search?: string | undefined;
157
156
  paging?: PAGING | undefined;
158
157
  page_count?: unknown;
@@ -171,6 +170,7 @@ declare const ApiDataShareManagementQuerySchema: z.ZodObject<{
171
170
  direction: OrderBy;
172
171
  }[] | undefined;
173
172
  include_master_data?: YesNo | undefined;
173
+ auth_type?: APIAuthType[] | undefined;
174
174
  api_data_share_ids?: string[] | undefined;
175
175
  }>;
176
176
  type ApiDataShareManagementQueryDTO = z.infer<typeof ApiDataShareManagementQuerySchema>;
@@ -210,7 +210,6 @@ declare const ApiDataShareHitLogQuerySchema: z.ZodObject<{
210
210
  is_auth_success: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
211
211
  }, "strip", z.ZodTypeAny, {
212
212
  status: Status[];
213
- is_auth_success: YesNo[];
214
213
  search: string;
215
214
  paging: PAGING;
216
215
  page_count: number;
@@ -231,13 +230,13 @@ declare const ApiDataShareHitLogQuerySchema: z.ZodObject<{
231
230
  include_master_data: YesNo;
232
231
  date_format_id: string;
233
232
  time_zone_id: string;
233
+ is_auth_success: YesNo[];
234
234
  api_data_share_ids: string[];
235
235
  api_data_share_hit_log_ids: string[];
236
236
  }, {
237
237
  date_format_id: string;
238
238
  time_zone_id: string;
239
239
  status?: Status[] | undefined;
240
- is_auth_success?: YesNo[] | undefined;
241
240
  search?: string | undefined;
242
241
  paging?: PAGING | undefined;
243
242
  page_count?: unknown;
@@ -256,6 +255,7 @@ declare const ApiDataShareHitLogQuerySchema: z.ZodObject<{
256
255
  direction: OrderBy;
257
256
  }[] | undefined;
258
257
  include_master_data?: YesNo | undefined;
258
+ is_auth_success?: YesNo[] | undefined;
259
259
  api_data_share_ids?: string[] | undefined;
260
260
  api_data_share_hit_log_ids?: string[] | undefined;
261
261
  }>;
@@ -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;
206
207
  vehicle_id: string;
207
208
  driver_id: string;
208
209
  attendant_id: string;
209
210
  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;
220
221
  vehicle_id: string;
221
222
  driver_id: string;
222
223
  attendant_id: string;
223
224
  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[];
307
308
  organisation_ids: string[];
308
309
  organisation_branch_ids: string[];
309
310
  route_ids: string[];
311
+ daily_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
- 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;
342
343
  organisation_ids?: string[] | undefined;
343
344
  organisation_branch_ids?: string[] | undefined;
344
345
  route_ids?: string[] | undefined;
346
+ daily_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
- 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,6 +367,7 @@ 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;
370
371
  planned_student_count: number;
371
372
  marked_student_count: number;
372
373
  status: Status;
@@ -380,13 +381,12 @@ declare const DailyScheduleDayRunStopSchema: z.ZodObject<{
380
381
  stop_status: DayRunStopStatus;
381
382
  bus_stop_id: string;
382
383
  time_zone_id: string;
383
- daily_schedule_day_run_id: string;
384
384
  }, {
385
+ daily_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
- 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[];
463
464
  organisation_ids: string[];
464
465
  organisation_branch_ids: string[];
465
466
  route_ids: string[];
466
- bus_stop_ids: string[];
467
467
  daily_schedule_ids: string[];
468
- daily_schedule_day_run_ids: string[];
469
468
  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;
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
  daily_schedule_ids?: string[] | undefined;
498
- daily_schedule_day_run_ids?: string[] | undefined;
499
498
  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,6 +514,7 @@ 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;
517
518
  status: Status;
518
519
  student_boarding_status: StudentLegStatus;
519
520
  method: AttendanceMethod;
@@ -522,20 +523,19 @@ declare const DailyScheduleDayRunStudentSchema: 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
- daily_schedule_day_run_id: string;
528
526
  planned_daily_schedule_day_run_stop_id: string;
529
527
  actual_daily_schedule_day_run_stop_id: string;
528
+ student_id: string;
529
+ time_zone_id: string;
530
530
  }, {
531
+ daily_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
- daily_schedule_day_run_id: string;
537
535
  planned_daily_schedule_day_run_stop_id: string;
538
536
  actual_daily_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 DailyScheduleDayRunStudentQuerySchema: z.ZodObject<{
609
609
  }[];
610
610
  include_master_data: YesNo;
611
611
  date_format_id: string;
612
+ daily_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
  daily_schedule_ids: string[];
617
- daily_schedule_day_run_ids: string[];
618
617
  daily_schedule_day_run_student_ids: string[];
619
618
  planned_daily_schedule_day_run_stop_ids: string[];
620
619
  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;
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
  daily_schedule_ids?: string[] | undefined;
650
- daily_schedule_day_run_ids?: string[] | undefined;
651
650
  daily_schedule_day_run_student_ids?: string[] | undefined;
652
651
  planned_daily_schedule_day_run_stop_ids?: string[] | undefined;
653
652
  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
- time_zone_id: string;
663
662
  daily_schedule_id: string;
663
+ time_zone_id: string;
664
664
  }, {
665
665
  run_date: string;
666
- time_zone_id: string;
667
666
  daily_schedule_id: string;
667
+ time_zone_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
- time_zone_id: string;
675
674
  daily_schedule_day_run_id: string;
676
- }, {
677
675
  time_zone_id: string;
676
+ }, {
678
677
  daily_schedule_day_run_id: string;
678
+ time_zone_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;
686
687
  cancel_reason: string;
687
688
  time_zone_id: string;
688
- daily_schedule_day_run_id: string;
689
689
  }, {
690
- time_zone_id: string;
691
690
  daily_schedule_day_run_id: string;
691
+ time_zone_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;
700
701
  time_zone_id: string;
701
702
  actual_time: string;
702
- daily_schedule_day_run_stop_id: string;
703
703
  }, {
704
- time_zone_id: string;
705
704
  daily_schedule_day_run_stop_id: string;
705
+ time_zone_id: string;
706
706
  actual_time?: string | undefined;
707
707
  }>;
708
708
  type DailyScheduleDayRunStopIdDTO = z.infer<typeof DailyScheduleDayRunStopIdSchema>;
@@ -718,6 +718,7 @@ 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;
721
722
  student_boarding_status: StudentLegStatus;
722
723
  method: AttendanceMethod;
723
724
  mark_time: string;
@@ -725,15 +726,14 @@ declare const MarkDailyScheduleDayRunStudentSchema: 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
- daily_schedule_day_run_student_id: string;
730
729
  actual_daily_schedule_day_run_stop_id: string;
730
+ time_zone_id: string;
731
731
  }, {
732
+ daily_schedule_day_run_student_id: string;
732
733
  student_boarding_status: StudentLegStatus;
733
734
  method: AttendanceMethod;
734
- time_zone_id: string;
735
- daily_schedule_day_run_student_id: string;
736
735
  actual_daily_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;