wcz-test 4.9.0 → 4.10.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.
package/dist/index.d.ts CHANGED
@@ -2,6 +2,8 @@ import { TypographyProps, BoxProps, SxProps, Theme, ChipProps, ButtonProps, Icon
2
2
  import * as react from 'react';
3
3
  import react__default, { FC, ComponentType, ReactNode } from 'react';
4
4
  import { DropzoneOptions } from 'react-dropzone';
5
+ import * as z from 'zod';
6
+ import z__default, { z as z$1 } from 'zod';
5
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
8
  import { GridValidRowModel, GridRenderCellParams, GridColumnHeaderParams, GridActionsCellItemProps } from '@mui/x-data-grid-premium';
7
9
  import { LinkComponent, ErrorComponentProps, LinkOptions } from '@tanstack/react-router';
@@ -31,17 +33,20 @@ interface DropzoneProps extends DropzoneOptions {
31
33
  }
32
34
  declare const Dropzone: FC<DropzoneProps>;
33
35
 
34
- interface FileMeta {
35
- id: string;
36
- subId: string;
37
- appName: string;
38
- fileName: string;
39
- fileExtension: string;
40
- fileSize: number;
41
- mediaSubType: string;
42
- mediaType: string;
43
- mimeType: string;
44
- }
36
+ declare const FileMetaSchema: z.ZodObject<{
37
+ id: z.ZodDefault<z.ZodUUID>;
38
+ subId: z.ZodDefault<z.ZodUUID>;
39
+ appName: z.ZodString;
40
+ fileName: z.ZodString;
41
+ fileExtension: z.ZodString;
42
+ fileSize: z.ZodNumber;
43
+ mediaSubType: z.ZodString;
44
+ mediaType: z.ZodString;
45
+ mimeType: z.ZodString;
46
+ createdBy: z.ZodString;
47
+ createdDate: z.ZodDate;
48
+ }, z.core.$strip>;
49
+ type FileMeta = z.infer<typeof FileMetaSchema>;
45
50
 
46
51
  type FileViewerGridItemBar = "hidden" | "always" | "onMouseEnter";
47
52
  interface FileViewerGridProps {
@@ -50,10 +55,11 @@ interface FileViewerGridProps {
50
55
  sx?: SxProps<Theme>;
51
56
  }
52
57
 
53
- type FileActions = {
54
- download?: boolean;
55
- delete?: boolean;
56
- };
58
+ declare const FileActionsSchema: z.ZodObject<{
59
+ download: z.ZodOptional<z.ZodBoolean>;
60
+ delete: z.ZodOptional<z.ZodBoolean>;
61
+ }, z.core.$strip>;
62
+ type FileActions = z.infer<typeof FileActionsSchema>;
57
63
 
58
64
  interface FileViewerListProps {
59
65
  sx?: SxProps<Theme>;
@@ -179,11 +185,10 @@ declare const rootRouteHead: ({ title }: RootRouteHeadProps) => () => {
179
185
  })[];
180
186
  };
181
187
  declare const wczApiClient: axios.AxiosInstance;
188
+ type FormOmittedProps = "name" | "value" | "onChange" | "onBlur" | "error" | "helperText" | "renderInput" | "type" | "aria-label";
182
189
 
183
190
  type FormSubmitButtonProps = Omit<ButtonProps, "loading" | "disabled" | "onClick" | "type">;
184
191
 
185
- type FormOmittedProps = "name" | "value" | "onChange" | "onBlur" | "error" | "helperText" | "renderInput" | "type" | "aria-label";
186
-
187
192
  interface FormDateTimePickerProps extends Omit<DateTimePickerProps, FormOmittedProps> {
188
193
  textFieldProps?: TextFieldProps;
189
194
  }
@@ -267,7 +272,7 @@ declare const withLayoutForm: <TFormData, TOnMount extends _tanstack_form_core.F
267
272
  }, {
268
273
  readonly SubmitButton: react.FC<FormSubmitButtonProps>;
269
274
  }>;
270
- }>) => react.JSX.Element;
275
+ }>) => react.ReactNode;
271
276
 
272
277
  interface OpenDialogOptions<TResult> {
273
278
  onClose?: (result: TResult) => Promise<void>;
@@ -300,22 +305,106 @@ interface DialogHook {
300
305
  }
301
306
  declare function useDialogs(): DialogHook;
302
307
 
303
- type OptionalId = string | undefined | null;
308
+ type OptionalId$1 = string | undefined | null;
304
309
  type BaseFileMetaArrayQueryOptions = Omit<DefinedInitialDataOptions<Array<FileMeta>>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
305
310
  type BaseBlobQueryOptions = Omit<DefinedInitialDataOptions<Blob, Error, string>, "queryKey" | "queryFn" | "select" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
306
311
  type BaseFileMetaMutationOptions = Omit<UseMutationOptions<FileMeta, Error, FileMeta>, "mutationFn" | "onSettled">;
307
312
  type BaseBlobMutationOptions = Omit<UseMutationOptions<Blob, Error, FileMeta>, "mutationFn" | "onSuccess">;
308
313
  type BaseStringMutationOptions = Omit<UseMutationOptions<string, Error, string>, "mutationFn" | "onSettled">;
309
- declare const useGetFileMetas: (subId: OptionalId, options?: BaseFileMetaArrayQueryOptions) => _tanstack_react_query.UseQueryResult<FileMeta[], Error>;
314
+ declare const useGetFileMetas: (subId: OptionalId$1, options?: BaseFileMetaArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
315
+ id: string;
316
+ subId: string;
317
+ appName: string;
318
+ fileName: string;
319
+ fileExtension: string;
320
+ fileSize: number;
321
+ mediaSubType: string;
322
+ mediaType: string;
323
+ mimeType: string;
324
+ createdBy: string;
325
+ createdDate: Date;
326
+ }[], Error>;
310
327
  declare const useGetFileThumbnail: (meta: FileMeta | undefined | null, options?: BaseBlobQueryOptions) => _tanstack_react_query.UseQueryResult<string, Error>;
311
328
  declare const useGetFile: (meta: FileMeta | undefined | null, options?: BaseBlobQueryOptions) => _tanstack_react_query.UseQueryResult<string, Error>;
312
- declare const useDownloadFile: (options?: BaseBlobMutationOptions) => _tanstack_react_query.UseMutationResult<Blob, Error, FileMeta, unknown>;
313
- declare const useOpenFile: (options?: BaseBlobMutationOptions) => _tanstack_react_query.UseMutationResult<Blob, Error, FileMeta, unknown>;
314
- declare const useUpdateFileMeta: (options?: BaseFileMetaMutationOptions) => _tanstack_react_query.UseMutationResult<FileMeta, Error, FileMeta, unknown>;
315
- declare const useDeleteFile: (options?: BaseFileMetaMutationOptions) => _tanstack_react_query.UseMutationResult<FileMeta, Error, FileMeta, unknown>;
329
+ declare const useDownloadFile: (options?: BaseBlobMutationOptions) => _tanstack_react_query.UseMutationResult<Blob, Error, {
330
+ id: string;
331
+ subId: string;
332
+ appName: string;
333
+ fileName: string;
334
+ fileExtension: string;
335
+ fileSize: number;
336
+ mediaSubType: string;
337
+ mediaType: string;
338
+ mimeType: string;
339
+ createdBy: string;
340
+ createdDate: Date;
341
+ }, unknown>;
342
+ declare const useOpenFile: (options?: BaseBlobMutationOptions) => _tanstack_react_query.UseMutationResult<Blob, Error, {
343
+ id: string;
344
+ subId: string;
345
+ appName: string;
346
+ fileName: string;
347
+ fileExtension: string;
348
+ fileSize: number;
349
+ mediaSubType: string;
350
+ mediaType: string;
351
+ mimeType: string;
352
+ createdBy: string;
353
+ createdDate: Date;
354
+ }, unknown>;
355
+ declare const useUpdateFileMeta: (options?: BaseFileMetaMutationOptions) => _tanstack_react_query.UseMutationResult<{
356
+ id: string;
357
+ subId: string;
358
+ appName: string;
359
+ fileName: string;
360
+ fileExtension: string;
361
+ fileSize: number;
362
+ mediaSubType: string;
363
+ mediaType: string;
364
+ mimeType: string;
365
+ createdBy: string;
366
+ createdDate: Date;
367
+ }, Error, {
368
+ id: string;
369
+ subId: string;
370
+ appName: string;
371
+ fileName: string;
372
+ fileExtension: string;
373
+ fileSize: number;
374
+ mediaSubType: string;
375
+ mediaType: string;
376
+ mimeType: string;
377
+ createdBy: string;
378
+ createdDate: Date;
379
+ }, unknown>;
380
+ declare const useDeleteFile: (options?: BaseFileMetaMutationOptions) => _tanstack_react_query.UseMutationResult<{
381
+ id: string;
382
+ subId: string;
383
+ appName: string;
384
+ fileName: string;
385
+ fileExtension: string;
386
+ fileSize: number;
387
+ mediaSubType: string;
388
+ mediaType: string;
389
+ mimeType: string;
390
+ createdBy: string;
391
+ createdDate: Date;
392
+ }, Error, {
393
+ id: string;
394
+ subId: string;
395
+ appName: string;
396
+ fileName: string;
397
+ fileExtension: string;
398
+ fileSize: number;
399
+ mediaSubType: string;
400
+ mediaType: string;
401
+ mimeType: string;
402
+ createdBy: string;
403
+ createdDate: Date;
404
+ }, unknown>;
316
405
  declare const useDeleteFiles: (options?: BaseStringMutationOptions) => _tanstack_react_query.UseMutationResult<string, Error, string, unknown>;
317
406
  interface UseUploadFileProps {
318
- subId: OptionalId;
407
+ subId: OptionalId$1;
319
408
  onSuccess?: (meta: Pick<FileMeta, "id" | "appName" | "subId" | "fileName">) => void;
320
409
  onError?: (error: Error | DetailedError) => void;
321
410
  }
@@ -324,45 +413,191 @@ declare const useUploadFile: ({ subId, onSuccess, onError }: UseUploadFileProps)
324
413
  progress: number;
325
414
  };
326
415
 
327
- interface User {
416
+ declare const DepartmentSchema: z__default.ZodObject<{
417
+ departmentId: z__default.ZodString;
418
+ description: z__default.ZodString;
419
+ managerId: z__default.ZodString;
420
+ managerRecordNumber: z__default.ZodString;
421
+ treeLevel: z__default.ZodNumber;
422
+ upperDepartmentId: z__default.ZodString;
423
+ companyCode: z__default.ZodString;
424
+ location: z__default.ZodString;
425
+ salLocation: z__default.ZodString;
426
+ plantId: z__default.ZodString;
427
+ manager: z__default.ZodObject<{
428
+ badgeId: z__default.ZodString;
429
+ category: z__default.ZodString;
430
+ categoryGroup: z__default.ZodEnum<{
431
+ IDL: "IDL";
432
+ FD: "FD";
433
+ FI: "FI";
434
+ }>;
435
+ companyCode: z__default.ZodString;
436
+ contactPhone: z__default.ZodString;
437
+ departmentId: z__default.ZodString;
438
+ departmentDescription: z__default.ZodString;
439
+ emailString: z__default.ZodString;
440
+ employeeId: z__default.ZodString;
441
+ extensionNumber: z__default.ZodString;
442
+ firstName: z__default.ZodString;
443
+ gender: z__default.ZodString;
444
+ hiredDate: z__default.ZodDate;
445
+ lastName: z__default.ZodString;
446
+ managerId: z__default.ZodString;
447
+ middleName: z__default.ZodString;
448
+ name: z__default.ZodString;
449
+ nameTitleCase: z__default.ZodString;
450
+ nfcSn: z__default.ZodString;
451
+ plantId: z__default.ZodString;
452
+ position: z__default.ZodString;
453
+ previousEmployeeIds: z__default.ZodNullable<z__default.ZodString>;
454
+ reHiredDate: z__default.ZodNullable<z__default.ZodDate>;
455
+ recordNumber: z__default.ZodNumber;
456
+ status: z__default.ZodEnum<{
457
+ Active: "Active";
458
+ Terminated: "Terminated";
459
+ "Leave of Absence": "Leave of Absence";
460
+ }>;
461
+ supervisorId: z__default.ZodString;
462
+ terminationDate: z__default.ZodNullable<z__default.ZodDate>;
463
+ terminationFutureDate: z__default.ZodNullable<z__default.ZodDate>;
464
+ type: z__default.ZodString;
465
+ upperDepartmentId: z__default.ZodString;
466
+ jobCode: z__default.ZodString;
467
+ jobDescription: z__default.ZodString;
468
+ terminationReason: z__default.ZodNullable<z__default.ZodString>;
469
+ supervisorRecordNumber: z__default.ZodNumber;
470
+ }, z__default.core.$strip>;
471
+ }, z__default.core.$strip>;
472
+ type Department = z__default.infer<typeof DepartmentSchema>;
473
+
474
+ declare const EmployeeSchema: z__default.ZodObject<{
475
+ badgeId: z__default.ZodString;
476
+ category: z__default.ZodString;
477
+ categoryGroup: z__default.ZodEnum<{
478
+ IDL: "IDL";
479
+ FD: "FD";
480
+ FI: "FI";
481
+ }>;
482
+ companyCode: z__default.ZodString;
483
+ contactPhone: z__default.ZodString;
484
+ departmentId: z__default.ZodString;
485
+ departmentDescription: z__default.ZodString;
486
+ emailString: z__default.ZodString;
487
+ employeeId: z__default.ZodString;
488
+ extensionNumber: z__default.ZodString;
489
+ firstName: z__default.ZodString;
490
+ gender: z__default.ZodString;
491
+ hiredDate: z__default.ZodDate;
492
+ lastName: z__default.ZodString;
493
+ managerId: z__default.ZodString;
494
+ middleName: z__default.ZodString;
495
+ name: z__default.ZodString;
496
+ nameTitleCase: z__default.ZodString;
497
+ nfcSn: z__default.ZodString;
498
+ plantId: z__default.ZodString;
499
+ position: z__default.ZodString;
500
+ previousEmployeeIds: z__default.ZodNullable<z__default.ZodString>;
501
+ reHiredDate: z__default.ZodNullable<z__default.ZodDate>;
502
+ recordNumber: z__default.ZodNumber;
503
+ status: z__default.ZodEnum<{
504
+ Active: "Active";
505
+ Terminated: "Terminated";
506
+ "Leave of Absence": "Leave of Absence";
507
+ }>;
508
+ supervisorId: z__default.ZodString;
509
+ terminationDate: z__default.ZodNullable<z__default.ZodDate>;
510
+ terminationFutureDate: z__default.ZodNullable<z__default.ZodDate>;
511
+ type: z__default.ZodString;
512
+ upperDepartmentId: z__default.ZodString;
513
+ jobCode: z__default.ZodString;
514
+ jobDescription: z__default.ZodString;
515
+ terminationReason: z__default.ZodNullable<z__default.ZodString>;
516
+ supervisorRecordNumber: z__default.ZodNumber;
517
+ }, z__default.core.$strip>;
518
+ type Employee = z__default.infer<typeof EmployeeSchema>;
519
+
520
+ type OptionalId = string | undefined | null;
521
+ type BaseEmployeeArrayQueryOptions = Omit<DefinedInitialDataOptions<Array<Employee>>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
522
+ type BaseEmployeeQueryOptions = Omit<DefinedInitialDataOptions<Employee>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
523
+ type BaseDepartmentArrayQueryOptions = Omit<DefinedInitialDataOptions<Array<Department>>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
524
+ type BaseDepartmentQueryOptions = Omit<DefinedInitialDataOptions<Department>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
525
+ declare const useGetPeopleSoftEmployeesSearch: (searchTerm: string, options?: BaseEmployeeArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
526
+ badgeId: string;
527
+ category: string;
528
+ categoryGroup: "IDL" | "FD" | "FI";
529
+ companyCode: string;
530
+ contactPhone: string;
531
+ departmentId: string;
532
+ departmentDescription: string;
533
+ emailString: string;
328
534
  employeeId: string;
535
+ extensionNumber: string;
536
+ firstName: string;
537
+ gender: string;
538
+ hiredDate: Date;
539
+ lastName: string;
540
+ managerId: string;
541
+ middleName: string;
329
542
  name: string;
330
- department: string;
331
- email?: string;
332
- company: string;
543
+ nameTitleCase: string;
544
+ nfcSn: string;
545
+ plantId: string;
546
+ position: string;
547
+ previousEmployeeIds: string | null;
548
+ reHiredDate: Date | null;
549
+ recordNumber: number;
550
+ status: "Active" | "Terminated" | "Leave of Absence";
551
+ supervisorId: string;
552
+ terminationDate: Date | null;
553
+ terminationFutureDate: Date | null;
554
+ type: string;
555
+ upperDepartmentId: string;
556
+ jobCode: string;
557
+ jobDescription: string;
558
+ terminationReason: string | null;
559
+ supervisorRecordNumber: number;
560
+ }[], Error>;
561
+ declare const useGetPeopleSoftEmployees: (options?: BaseEmployeeArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
562
+ badgeId: string;
333
563
  category: string;
334
- }
335
-
336
- interface EmailAttachment {
337
- appName: string;
338
- subId: string;
339
- }
340
-
341
- interface Email {
342
- subject: string;
343
- body: string;
344
- to: Array<string>;
345
- bcc?: Array<string>;
346
- cc?: Array<string>;
347
- attachments?: Array<EmailAttachment>;
348
- }
349
-
350
- declare enum EmployeeCategoryGroup {
351
- IDL = "IDL",
352
- FD = "FD",
353
- FI = "FI"
354
- }
355
-
356
- declare enum EmployeeStatus {
357
- Active = "Active",
358
- Terminated = "Terminated",
359
- LeaveOfAbsence = "Leave of Absence"
360
- }
361
-
362
- interface Employee {
564
+ categoryGroup: "IDL" | "FD" | "FI";
565
+ companyCode: string;
566
+ contactPhone: string;
567
+ departmentId: string;
568
+ departmentDescription: string;
569
+ emailString: string;
570
+ employeeId: string;
571
+ extensionNumber: string;
572
+ firstName: string;
573
+ gender: string;
574
+ hiredDate: Date;
575
+ lastName: string;
576
+ managerId: string;
577
+ middleName: string;
578
+ name: string;
579
+ nameTitleCase: string;
580
+ nfcSn: string;
581
+ plantId: string;
582
+ position: string;
583
+ previousEmployeeIds: string | null;
584
+ reHiredDate: Date | null;
585
+ recordNumber: number;
586
+ status: "Active" | "Terminated" | "Leave of Absence";
587
+ supervisorId: string;
588
+ terminationDate: Date | null;
589
+ terminationFutureDate: Date | null;
590
+ type: string;
591
+ upperDepartmentId: string;
592
+ jobCode: string;
593
+ jobDescription: string;
594
+ terminationReason: string | null;
595
+ supervisorRecordNumber: number;
596
+ }[], Error>;
597
+ declare const useGetPeopleSoftActiveEmployees: (options?: BaseEmployeeArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
363
598
  badgeId: string;
364
599
  category: string;
365
- categoryGroup: EmployeeCategoryGroup;
600
+ categoryGroup: "IDL" | "FD" | "FI";
366
601
  companyCode: string;
367
602
  contactPhone: string;
368
603
  departmentId: string;
@@ -384,7 +619,7 @@ interface Employee {
384
619
  previousEmployeeIds: string | null;
385
620
  reHiredDate: Date | null;
386
621
  recordNumber: number;
387
- status: EmployeeStatus;
622
+ status: "Active" | "Terminated" | "Leave of Absence";
388
623
  supervisorId: string;
389
624
  terminationDate: Date | null;
390
625
  terminationFutureDate: Date | null;
@@ -394,9 +629,224 @@ interface Employee {
394
629
  jobDescription: string;
395
630
  terminationReason: string | null;
396
631
  supervisorRecordNumber: number;
397
- }
398
-
399
- interface Department {
632
+ }[], Error>;
633
+ declare const useGetPeopleSoftEmployeeById: (employeeId: OptionalId, options?: BaseEmployeeQueryOptions) => _tanstack_react_query.UseQueryResult<{
634
+ badgeId: string;
635
+ category: string;
636
+ categoryGroup: "IDL" | "FD" | "FI";
637
+ companyCode: string;
638
+ contactPhone: string;
639
+ departmentId: string;
640
+ departmentDescription: string;
641
+ emailString: string;
642
+ employeeId: string;
643
+ extensionNumber: string;
644
+ firstName: string;
645
+ gender: string;
646
+ hiredDate: Date;
647
+ lastName: string;
648
+ managerId: string;
649
+ middleName: string;
650
+ name: string;
651
+ nameTitleCase: string;
652
+ nfcSn: string;
653
+ plantId: string;
654
+ position: string;
655
+ previousEmployeeIds: string | null;
656
+ reHiredDate: Date | null;
657
+ recordNumber: number;
658
+ status: "Active" | "Terminated" | "Leave of Absence";
659
+ supervisorId: string;
660
+ terminationDate: Date | null;
661
+ terminationFutureDate: Date | null;
662
+ type: string;
663
+ upperDepartmentId: string;
664
+ jobCode: string;
665
+ jobDescription: string;
666
+ terminationReason: string | null;
667
+ supervisorRecordNumber: number;
668
+ }, Error>;
669
+ declare const useGetPeopleSoftPreviousEmployeeIds: (options?: BaseEmployeeArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
670
+ badgeId: string;
671
+ category: string;
672
+ categoryGroup: "IDL" | "FD" | "FI";
673
+ companyCode: string;
674
+ contactPhone: string;
675
+ departmentId: string;
676
+ departmentDescription: string;
677
+ emailString: string;
678
+ employeeId: string;
679
+ extensionNumber: string;
680
+ firstName: string;
681
+ gender: string;
682
+ hiredDate: Date;
683
+ lastName: string;
684
+ managerId: string;
685
+ middleName: string;
686
+ name: string;
687
+ nameTitleCase: string;
688
+ nfcSn: string;
689
+ plantId: string;
690
+ position: string;
691
+ previousEmployeeIds: string | null;
692
+ reHiredDate: Date | null;
693
+ recordNumber: number;
694
+ status: "Active" | "Terminated" | "Leave of Absence";
695
+ supervisorId: string;
696
+ terminationDate: Date | null;
697
+ terminationFutureDate: Date | null;
698
+ type: string;
699
+ upperDepartmentId: string;
700
+ jobCode: string;
701
+ jobDescription: string;
702
+ terminationReason: string | null;
703
+ supervisorRecordNumber: number;
704
+ }[], Error>;
705
+ declare const useGetPeopleSoftEmployeeSupervisor: (employeeId: OptionalId, options?: BaseEmployeeQueryOptions) => _tanstack_react_query.UseQueryResult<{
706
+ badgeId: string;
707
+ category: string;
708
+ categoryGroup: "IDL" | "FD" | "FI";
709
+ companyCode: string;
710
+ contactPhone: string;
711
+ departmentId: string;
712
+ departmentDescription: string;
713
+ emailString: string;
714
+ employeeId: string;
715
+ extensionNumber: string;
716
+ firstName: string;
717
+ gender: string;
718
+ hiredDate: Date;
719
+ lastName: string;
720
+ managerId: string;
721
+ middleName: string;
722
+ name: string;
723
+ nameTitleCase: string;
724
+ nfcSn: string;
725
+ plantId: string;
726
+ position: string;
727
+ previousEmployeeIds: string | null;
728
+ reHiredDate: Date | null;
729
+ recordNumber: number;
730
+ status: "Active" | "Terminated" | "Leave of Absence";
731
+ supervisorId: string;
732
+ terminationDate: Date | null;
733
+ terminationFutureDate: Date | null;
734
+ type: string;
735
+ upperDepartmentId: string;
736
+ jobCode: string;
737
+ jobDescription: string;
738
+ terminationReason: string | null;
739
+ supervisorRecordNumber: number;
740
+ }, Error>;
741
+ declare const useGetPeopleSoftEmployeeSubordinates: (employeeId: OptionalId, options?: BaseEmployeeArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
742
+ badgeId: string;
743
+ category: string;
744
+ categoryGroup: "IDL" | "FD" | "FI";
745
+ companyCode: string;
746
+ contactPhone: string;
747
+ departmentId: string;
748
+ departmentDescription: string;
749
+ emailString: string;
750
+ employeeId: string;
751
+ extensionNumber: string;
752
+ firstName: string;
753
+ gender: string;
754
+ hiredDate: Date;
755
+ lastName: string;
756
+ managerId: string;
757
+ middleName: string;
758
+ name: string;
759
+ nameTitleCase: string;
760
+ nfcSn: string;
761
+ plantId: string;
762
+ position: string;
763
+ previousEmployeeIds: string | null;
764
+ reHiredDate: Date | null;
765
+ recordNumber: number;
766
+ status: "Active" | "Terminated" | "Leave of Absence";
767
+ supervisorId: string;
768
+ terminationDate: Date | null;
769
+ terminationFutureDate: Date | null;
770
+ type: string;
771
+ upperDepartmentId: string;
772
+ jobCode: string;
773
+ jobDescription: string;
774
+ terminationReason: string | null;
775
+ supervisorRecordNumber: number;
776
+ }[], Error>;
777
+ declare const useGetPeopleSoftEmployeeManager: (employeeId: OptionalId, options?: BaseEmployeeQueryOptions) => _tanstack_react_query.UseQueryResult<{
778
+ badgeId: string;
779
+ category: string;
780
+ categoryGroup: "IDL" | "FD" | "FI";
781
+ companyCode: string;
782
+ contactPhone: string;
783
+ departmentId: string;
784
+ departmentDescription: string;
785
+ emailString: string;
786
+ employeeId: string;
787
+ extensionNumber: string;
788
+ firstName: string;
789
+ gender: string;
790
+ hiredDate: Date;
791
+ lastName: string;
792
+ managerId: string;
793
+ middleName: string;
794
+ name: string;
795
+ nameTitleCase: string;
796
+ nfcSn: string;
797
+ plantId: string;
798
+ position: string;
799
+ previousEmployeeIds: string | null;
800
+ reHiredDate: Date | null;
801
+ recordNumber: number;
802
+ status: "Active" | "Terminated" | "Leave of Absence";
803
+ supervisorId: string;
804
+ terminationDate: Date | null;
805
+ terminationFutureDate: Date | null;
806
+ type: string;
807
+ upperDepartmentId: string;
808
+ jobCode: string;
809
+ jobDescription: string;
810
+ terminationReason: string | null;
811
+ supervisorRecordNumber: number;
812
+ }, Error>;
813
+ declare const useGetPeopleSoftEmployeeGeneralManager: (employeeId: OptionalId, options?: BaseEmployeeQueryOptions) => _tanstack_react_query.UseQueryResult<{
814
+ badgeId: string;
815
+ category: string;
816
+ categoryGroup: "IDL" | "FD" | "FI";
817
+ companyCode: string;
818
+ contactPhone: string;
819
+ departmentId: string;
820
+ departmentDescription: string;
821
+ emailString: string;
822
+ employeeId: string;
823
+ extensionNumber: string;
824
+ firstName: string;
825
+ gender: string;
826
+ hiredDate: Date;
827
+ lastName: string;
828
+ managerId: string;
829
+ middleName: string;
830
+ name: string;
831
+ nameTitleCase: string;
832
+ nfcSn: string;
833
+ plantId: string;
834
+ position: string;
835
+ previousEmployeeIds: string | null;
836
+ reHiredDate: Date | null;
837
+ recordNumber: number;
838
+ status: "Active" | "Terminated" | "Leave of Absence";
839
+ supervisorId: string;
840
+ terminationDate: Date | null;
841
+ terminationFutureDate: Date | null;
842
+ type: string;
843
+ upperDepartmentId: string;
844
+ jobCode: string;
845
+ jobDescription: string;
846
+ terminationReason: string | null;
847
+ supervisorRecordNumber: number;
848
+ }, Error>;
849
+ declare const useGetPeopleSoftDepartments: (options?: BaseDepartmentArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
400
850
  departmentId: string;
401
851
  description: string;
402
852
  managerId: string;
@@ -407,7 +857,507 @@ interface Department {
407
857
  location: string;
408
858
  salLocation: string;
409
859
  plantId: string;
410
- manager: Employee;
860
+ manager: {
861
+ badgeId: string;
862
+ category: string;
863
+ categoryGroup: "IDL" | "FD" | "FI";
864
+ companyCode: string;
865
+ contactPhone: string;
866
+ departmentId: string;
867
+ departmentDescription: string;
868
+ emailString: string;
869
+ employeeId: string;
870
+ extensionNumber: string;
871
+ firstName: string;
872
+ gender: string;
873
+ hiredDate: Date;
874
+ lastName: string;
875
+ managerId: string;
876
+ middleName: string;
877
+ name: string;
878
+ nameTitleCase: string;
879
+ nfcSn: string;
880
+ plantId: string;
881
+ position: string;
882
+ previousEmployeeIds: string | null;
883
+ reHiredDate: Date | null;
884
+ recordNumber: number;
885
+ status: "Active" | "Terminated" | "Leave of Absence";
886
+ supervisorId: string;
887
+ terminationDate: Date | null;
888
+ terminationFutureDate: Date | null;
889
+ type: string;
890
+ upperDepartmentId: string;
891
+ jobCode: string;
892
+ jobDescription: string;
893
+ terminationReason: string | null;
894
+ supervisorRecordNumber: number;
895
+ };
896
+ }[], Error>;
897
+ declare const useGetPeopleSoftDepartmentById: (departmentId: OptionalId, options?: BaseDepartmentQueryOptions) => _tanstack_react_query.UseQueryResult<{
898
+ departmentId: string;
899
+ description: string;
900
+ managerId: string;
901
+ managerRecordNumber: string;
902
+ treeLevel: number;
903
+ upperDepartmentId: string;
904
+ companyCode: string;
905
+ location: string;
906
+ salLocation: string;
907
+ plantId: string;
908
+ manager: {
909
+ badgeId: string;
910
+ category: string;
911
+ categoryGroup: "IDL" | "FD" | "FI";
912
+ companyCode: string;
913
+ contactPhone: string;
914
+ departmentId: string;
915
+ departmentDescription: string;
916
+ emailString: string;
917
+ employeeId: string;
918
+ extensionNumber: string;
919
+ firstName: string;
920
+ gender: string;
921
+ hiredDate: Date;
922
+ lastName: string;
923
+ managerId: string;
924
+ middleName: string;
925
+ name: string;
926
+ nameTitleCase: string;
927
+ nfcSn: string;
928
+ plantId: string;
929
+ position: string;
930
+ previousEmployeeIds: string | null;
931
+ reHiredDate: Date | null;
932
+ recordNumber: number;
933
+ status: "Active" | "Terminated" | "Leave of Absence";
934
+ supervisorId: string;
935
+ terminationDate: Date | null;
936
+ terminationFutureDate: Date | null;
937
+ type: string;
938
+ upperDepartmentId: string;
939
+ jobCode: string;
940
+ jobDescription: string;
941
+ terminationReason: string | null;
942
+ supervisorRecordNumber: number;
943
+ };
944
+ }, Error>;
945
+ declare const useGetPeopleSoftDepartmentManager: (departmentId: OptionalId, options?: BaseEmployeeQueryOptions) => _tanstack_react_query.UseQueryResult<{
946
+ badgeId: string;
947
+ category: string;
948
+ categoryGroup: "IDL" | "FD" | "FI";
949
+ companyCode: string;
950
+ contactPhone: string;
951
+ departmentId: string;
952
+ departmentDescription: string;
953
+ emailString: string;
954
+ employeeId: string;
955
+ extensionNumber: string;
956
+ firstName: string;
957
+ gender: string;
958
+ hiredDate: Date;
959
+ lastName: string;
960
+ managerId: string;
961
+ middleName: string;
962
+ name: string;
963
+ nameTitleCase: string;
964
+ nfcSn: string;
965
+ plantId: string;
966
+ position: string;
967
+ previousEmployeeIds: string | null;
968
+ reHiredDate: Date | null;
969
+ recordNumber: number;
970
+ status: "Active" | "Terminated" | "Leave of Absence";
971
+ supervisorId: string;
972
+ terminationDate: Date | null;
973
+ terminationFutureDate: Date | null;
974
+ type: string;
975
+ upperDepartmentId: string;
976
+ jobCode: string;
977
+ jobDescription: string;
978
+ terminationReason: string | null;
979
+ supervisorRecordNumber: number;
980
+ }, Error>;
981
+ declare const useGetPeopleSoftDepartmentEmployees: (departmentId: OptionalId, options?: BaseEmployeeArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
982
+ badgeId: string;
983
+ category: string;
984
+ categoryGroup: "IDL" | "FD" | "FI";
985
+ companyCode: string;
986
+ contactPhone: string;
987
+ departmentId: string;
988
+ departmentDescription: string;
989
+ emailString: string;
990
+ employeeId: string;
991
+ extensionNumber: string;
992
+ firstName: string;
993
+ gender: string;
994
+ hiredDate: Date;
995
+ lastName: string;
996
+ managerId: string;
997
+ middleName: string;
998
+ name: string;
999
+ nameTitleCase: string;
1000
+ nfcSn: string;
1001
+ plantId: string;
1002
+ position: string;
1003
+ previousEmployeeIds: string | null;
1004
+ reHiredDate: Date | null;
1005
+ recordNumber: number;
1006
+ status: "Active" | "Terminated" | "Leave of Absence";
1007
+ supervisorId: string;
1008
+ terminationDate: Date | null;
1009
+ terminationFutureDate: Date | null;
1010
+ type: string;
1011
+ upperDepartmentId: string;
1012
+ jobCode: string;
1013
+ jobDescription: string;
1014
+ terminationReason: string | null;
1015
+ supervisorRecordNumber: number;
1016
+ }[], Error>;
1017
+ declare const useGetPeopleSoftCompanyGeneralManager: (companyCode: OptionalId, options?: BaseEmployeeQueryOptions) => _tanstack_react_query.UseQueryResult<{
1018
+ badgeId: string;
1019
+ category: string;
1020
+ categoryGroup: "IDL" | "FD" | "FI";
1021
+ companyCode: string;
1022
+ contactPhone: string;
1023
+ departmentId: string;
1024
+ departmentDescription: string;
1025
+ emailString: string;
1026
+ employeeId: string;
1027
+ extensionNumber: string;
1028
+ firstName: string;
1029
+ gender: string;
1030
+ hiredDate: Date;
1031
+ lastName: string;
1032
+ managerId: string;
1033
+ middleName: string;
1034
+ name: string;
1035
+ nameTitleCase: string;
1036
+ nfcSn: string;
1037
+ plantId: string;
1038
+ position: string;
1039
+ previousEmployeeIds: string | null;
1040
+ reHiredDate: Date | null;
1041
+ recordNumber: number;
1042
+ status: "Active" | "Terminated" | "Leave of Absence";
1043
+ supervisorId: string;
1044
+ terminationDate: Date | null;
1045
+ terminationFutureDate: Date | null;
1046
+ type: string;
1047
+ upperDepartmentId: string;
1048
+ jobCode: string;
1049
+ jobDescription: string;
1050
+ terminationReason: string | null;
1051
+ supervisorRecordNumber: number;
1052
+ }, Error>;
1053
+
1054
+ interface User {
1055
+ employeeId: string;
1056
+ name: string;
1057
+ department: string;
1058
+ email?: string;
1059
+ company: string;
1060
+ category: string;
411
1061
  }
412
1062
 
413
- export { ChipInputCell, type Department, type DialogProps, Dropzone, EditableColumnHeader, type Email, type EmailAttachment, type Employee, EmployeeCategoryGroup, EmployeeStatus, type FileMeta, FileViewer, Fullscreen, LayoutProvider, type Navigation, Platform, RouterButton, RouterError, RouterGridActionsCellItem, RouterIconButton, RouterLink, RouterListItemButton, RouterNotFound, RouterTab, TypographyWithIcon, type User, rootRouteHead, useDeleteFile, useDeleteFiles, useDialogs, useDownloadFile, useFieldContext, useFormContext, useGetFile, useGetFileMetas, useGetFileThumbnail, useLayoutForm, useOpenFile, useUpdateFileMeta, useUploadFile, wczApiClient, withLayoutForm };
1063
+ declare const EmailSchema: z__default.ZodObject<{
1064
+ subject: z__default.ZodString;
1065
+ body: z__default.ZodString;
1066
+ to: z__default.ZodArray<z__default.ZodEmail>;
1067
+ bcc: z__default.ZodOptional<z__default.ZodArray<z__default.ZodEmail>>;
1068
+ cc: z__default.ZodOptional<z__default.ZodArray<z__default.ZodEmail>>;
1069
+ attachments: z__default.ZodOptional<z__default.ZodArray<z__default.ZodObject<{
1070
+ appName: z__default.ZodString;
1071
+ subId: z__default.ZodUUID;
1072
+ }, z__default.core.$strip>>>;
1073
+ }, z__default.core.$strip>;
1074
+ type Email = z__default.infer<typeof EmailSchema>;
1075
+
1076
+ declare const EmailAttachmentSchema: z__default.ZodObject<{
1077
+ appName: z__default.ZodString;
1078
+ subId: z__default.ZodUUID;
1079
+ }, z__default.core.$strip>;
1080
+ type EmailAttachment = z__default.infer<typeof EmailAttachmentSchema>;
1081
+
1082
+ declare const EmployeeCategoryGroup: z__default.ZodEnum<{
1083
+ IDL: "IDL";
1084
+ FD: "FD";
1085
+ FI: "FI";
1086
+ }>;
1087
+
1088
+ declare const EmployeeStatus: z__default.ZodEnum<{
1089
+ Active: "Active";
1090
+ Terminated: "Terminated";
1091
+ "Leave of Absence": "Leave of Absence";
1092
+ }>;
1093
+
1094
+ declare const ApprovalSchema: z__default.ZodObject<{
1095
+ id: z__default.ZodDefault<z__default.ZodUUID>;
1096
+ number: z__default.ZodOptional<z__default.ZodString>;
1097
+ applicationName: z__default.ZodString;
1098
+ type: z__default.ZodDefault<z__default.ZodEnum<{
1099
+ Single: "Single";
1100
+ Batch: "Batch";
1101
+ }>>;
1102
+ status: z__default.ZodEnum<{
1103
+ WaitingForApproval: "WaitingForApproval";
1104
+ Approved: "Approved";
1105
+ Rejected: "Rejected";
1106
+ Withdrawn: "Withdrawn";
1107
+ Cancelled: "Cancelled";
1108
+ PartiallyApproved: "PartiallyApproved";
1109
+ }>;
1110
+ emailBody: z__default.ZodString;
1111
+ created: z__default.ZodDate;
1112
+ createdBy: z__default.ZodCustom<{
1113
+ employeeId: string;
1114
+ name: string;
1115
+ email: string;
1116
+ }, {
1117
+ employeeId: string;
1118
+ name: string;
1119
+ email: string;
1120
+ }>;
1121
+ updated: z__default.ZodDate;
1122
+ updatedBy: z__default.ZodCustom<{
1123
+ employeeId: string;
1124
+ name: string;
1125
+ email: string;
1126
+ }, {
1127
+ employeeId: string;
1128
+ name: string;
1129
+ email: string;
1130
+ }>;
1131
+ approvalFlows: z__default.ZodArray<z__default.ZodCustom<{
1132
+ id: string;
1133
+ approvalStage: number;
1134
+ approvalSequence: number;
1135
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
1136
+ steps: {
1137
+ id: string;
1138
+ order: number;
1139
+ approverRole: string;
1140
+ approver: {
1141
+ employeeId: string;
1142
+ name: string;
1143
+ email: string;
1144
+ };
1145
+ result: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled";
1146
+ actualApprover?: {
1147
+ employeeId: string;
1148
+ name: string;
1149
+ email: string;
1150
+ } | undefined;
1151
+ resultDate?: Date | undefined;
1152
+ resultComment?: string | undefined;
1153
+ }[];
1154
+ isActive: boolean;
1155
+ batchSequence?: number | undefined;
1156
+ }, {
1157
+ id: string;
1158
+ approvalStage: number;
1159
+ approvalSequence: number;
1160
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
1161
+ steps: {
1162
+ id: string;
1163
+ order: number;
1164
+ approverRole: string;
1165
+ approver: {
1166
+ employeeId: string;
1167
+ name: string;
1168
+ email: string;
1169
+ };
1170
+ result: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled";
1171
+ actualApprover?: {
1172
+ employeeId: string;
1173
+ name: string;
1174
+ email: string;
1175
+ } | undefined;
1176
+ resultDate?: Date | undefined;
1177
+ resultComment?: string | undefined;
1178
+ }[];
1179
+ isActive: boolean;
1180
+ batchSequence?: number | undefined;
1181
+ }>>;
1182
+ currentApprovers: z__default.ZodArray<z__default.ZodCustom<{
1183
+ employeeId: string;
1184
+ name: string;
1185
+ email: string;
1186
+ }, {
1187
+ employeeId: string;
1188
+ name: string;
1189
+ email: string;
1190
+ }>>;
1191
+ }, z__default.core.$strip>;
1192
+ type Approval = z__default.infer<typeof ApprovalSchema>;
1193
+ declare const ApprovalCreateSchema: z__default.ZodObject<{
1194
+ number: z__default.ZodOptional<z__default.ZodString>;
1195
+ id: z__default.ZodDefault<z__default.ZodUUID>;
1196
+ type: z__default.ZodDefault<z__default.ZodEnum<{
1197
+ Single: "Single";
1198
+ Batch: "Batch";
1199
+ }>>;
1200
+ applicationName: z__default.ZodString;
1201
+ emailBody: z__default.ZodString;
1202
+ approvalFlows: z__default.ZodArray<z__default.ZodObject<{
1203
+ stepApprovalOrder: z__default.ZodEnum<{
1204
+ Serial: "Serial";
1205
+ Parallel: "Parallel";
1206
+ OneOfThem: "OneOfThem";
1207
+ }>;
1208
+ approvalStage: z__default.ZodNumber;
1209
+ batchSequence: z__default.ZodOptional<z__default.ZodNumber>;
1210
+ steps: z__default.ZodArray<z__default.ZodObject<{
1211
+ approver: z__default.ZodObject<{
1212
+ employeeId: z__default.ZodString;
1213
+ name: z__default.ZodString;
1214
+ email: z__default.ZodEmail;
1215
+ }, z__default.core.$strip>;
1216
+ approverRole: z__default.ZodDefault<z__default.ZodString>;
1217
+ }, z__default.core.$strip>>;
1218
+ }, z__default.core.$strip>>;
1219
+ }, z__default.core.$strip>;
1220
+ type ApprovalCreate = z__default.infer<typeof ApprovalCreateSchema>;
1221
+ declare const SingleApprovalSchema: z__default.ZodObject<{
1222
+ result: z__default.ZodEnum<{
1223
+ NotAvailable: "NotAvailable";
1224
+ FutureApproval: "FutureApproval";
1225
+ WaitingForApproval: "WaitingForApproval";
1226
+ Approved: "Approved";
1227
+ Rejected: "Rejected";
1228
+ Skipped: "Skipped";
1229
+ Withdrawn: "Withdrawn";
1230
+ Cancelled: "Cancelled";
1231
+ }>;
1232
+ resultComment: z__default.ZodOptional<z__default.ZodString>;
1233
+ emailBody: z__default.ZodString;
1234
+ }, z__default.core.$strip>;
1235
+ type SingleApproval = z__default.infer<typeof SingleApprovalSchema>;
1236
+ declare const CancelApprovalSchema: z__default.ZodObject<{
1237
+ comment: z__default.ZodString;
1238
+ emailBody: z__default.ZodString;
1239
+ }, z__default.core.$strip>;
1240
+ type CancelApproval = z__default.infer<typeof CancelApprovalSchema>;
1241
+ declare const WithdrawApprovalSchema: z__default.ZodObject<{
1242
+ comment: z__default.ZodString;
1243
+ emailBody: z__default.ZodString;
1244
+ }, z__default.core.$strip>;
1245
+ type WithdrawApproval = z__default.infer<typeof WithdrawApprovalSchema>;
1246
+
1247
+ declare const ApprovalEmployeeSchema: z$1.ZodObject<{
1248
+ employeeId: z$1.ZodString;
1249
+ name: z$1.ZodString;
1250
+ email: z$1.ZodEmail;
1251
+ }, z$1.core.$strip>;
1252
+ type ApprovalEmployee = z$1.infer<typeof ApprovalEmployeeSchema>;
1253
+
1254
+ declare const ApprovalFlowSchema: z$1.ZodObject<{
1255
+ id: z$1.ZodDefault<z$1.ZodUUID>;
1256
+ approvalStage: z$1.ZodNumber;
1257
+ batchSequence: z$1.ZodOptional<z$1.ZodNumber>;
1258
+ approvalSequence: z$1.ZodNumber;
1259
+ stepApprovalOrder: z$1.ZodEnum<{
1260
+ Serial: "Serial";
1261
+ Parallel: "Parallel";
1262
+ OneOfThem: "OneOfThem";
1263
+ }>;
1264
+ steps: z$1.ZodArray<z$1.ZodCustom<{
1265
+ id: string;
1266
+ order: number;
1267
+ approverRole: string;
1268
+ approver: {
1269
+ employeeId: string;
1270
+ name: string;
1271
+ email: string;
1272
+ };
1273
+ result: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled";
1274
+ actualApprover?: {
1275
+ employeeId: string;
1276
+ name: string;
1277
+ email: string;
1278
+ } | undefined;
1279
+ resultDate?: Date | undefined;
1280
+ resultComment?: string | undefined;
1281
+ }, {
1282
+ id: string;
1283
+ order: number;
1284
+ approverRole: string;
1285
+ approver: {
1286
+ employeeId: string;
1287
+ name: string;
1288
+ email: string;
1289
+ };
1290
+ result: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled";
1291
+ actualApprover?: {
1292
+ employeeId: string;
1293
+ name: string;
1294
+ email: string;
1295
+ } | undefined;
1296
+ resultDate?: Date | undefined;
1297
+ resultComment?: string | undefined;
1298
+ }>>;
1299
+ isActive: z$1.ZodDefault<z$1.ZodBoolean>;
1300
+ }, z$1.core.$strip>;
1301
+ type ApprovalFlow = z$1.infer<typeof ApprovalFlowSchema>;
1302
+
1303
+ declare const ApprovalFlowStepSchema: z$1.ZodObject<{
1304
+ id: z$1.ZodDefault<z$1.ZodUUID>;
1305
+ order: z$1.ZodNumber;
1306
+ approverRole: z$1.ZodDefault<z$1.ZodString>;
1307
+ approver: z$1.ZodObject<{
1308
+ employeeId: z$1.ZodString;
1309
+ name: z$1.ZodString;
1310
+ email: z$1.ZodEmail;
1311
+ }, z$1.core.$strip>;
1312
+ actualApprover: z$1.ZodOptional<z$1.ZodObject<{
1313
+ employeeId: z$1.ZodString;
1314
+ name: z$1.ZodString;
1315
+ email: z$1.ZodEmail;
1316
+ }, z$1.core.$strip>>;
1317
+ result: z$1.ZodDefault<z$1.ZodEnum<{
1318
+ NotAvailable: "NotAvailable";
1319
+ FutureApproval: "FutureApproval";
1320
+ WaitingForApproval: "WaitingForApproval";
1321
+ Approved: "Approved";
1322
+ Rejected: "Rejected";
1323
+ Skipped: "Skipped";
1324
+ Withdrawn: "Withdrawn";
1325
+ Cancelled: "Cancelled";
1326
+ }>>;
1327
+ resultDate: z$1.ZodOptional<z$1.ZodDate>;
1328
+ resultComment: z$1.ZodOptional<z$1.ZodString>;
1329
+ }, z$1.core.$strip>;
1330
+ type ApprovalFlowStep = z$1.infer<typeof ApprovalFlowStepSchema>;
1331
+
1332
+ declare const ApprovalRequestType: z__default.ZodEnum<{
1333
+ Single: "Single";
1334
+ Batch: "Batch";
1335
+ }>;
1336
+
1337
+ declare const ApprovalStatus: z__default.ZodEnum<{
1338
+ WaitingForApproval: "WaitingForApproval";
1339
+ Approved: "Approved";
1340
+ Rejected: "Rejected";
1341
+ Withdrawn: "Withdrawn";
1342
+ Cancelled: "Cancelled";
1343
+ PartiallyApproved: "PartiallyApproved";
1344
+ }>;
1345
+
1346
+ declare const ApprovalStepResult: z__default.ZodEnum<{
1347
+ NotAvailable: "NotAvailable";
1348
+ FutureApproval: "FutureApproval";
1349
+ WaitingForApproval: "WaitingForApproval";
1350
+ Approved: "Approved";
1351
+ Rejected: "Rejected";
1352
+ Skipped: "Skipped";
1353
+ Withdrawn: "Withdrawn";
1354
+ Cancelled: "Cancelled";
1355
+ }>;
1356
+
1357
+ declare const StepApprovalOrder: z__default.ZodEnum<{
1358
+ Serial: "Serial";
1359
+ Parallel: "Parallel";
1360
+ OneOfThem: "OneOfThem";
1361
+ }>;
1362
+
1363
+ export { type Approval, type ApprovalCreate, ApprovalCreateSchema, type ApprovalEmployee, ApprovalEmployeeSchema, type ApprovalFlow, ApprovalFlowSchema, type ApprovalFlowStep, ApprovalFlowStepSchema, ApprovalRequestType, ApprovalSchema, ApprovalStatus, ApprovalStepResult, type CancelApproval, CancelApprovalSchema, ChipInputCell, type Department, DepartmentSchema, type DialogProps, Dropzone, EditableColumnHeader, type Email, type EmailAttachment, EmailAttachmentSchema, EmailSchema, type Employee, EmployeeCategoryGroup, EmployeeSchema, EmployeeStatus, type FileMeta, FileMetaSchema, FileViewer, Fullscreen, LayoutProvider, type Navigation, Platform, RouterButton, RouterError, RouterGridActionsCellItem, RouterIconButton, RouterLink, RouterListItemButton, RouterNotFound, RouterTab, type SingleApproval, SingleApprovalSchema, StepApprovalOrder, TypographyWithIcon, type User, type WithdrawApproval, WithdrawApprovalSchema, rootRouteHead, useDeleteFile, useDeleteFiles, useDialogs, useDownloadFile, useFieldContext, useFormContext, useGetFile, useGetFileMetas, useGetFileThumbnail, useGetPeopleSoftActiveEmployees, useGetPeopleSoftCompanyGeneralManager, useGetPeopleSoftDepartmentById, useGetPeopleSoftDepartmentEmployees, useGetPeopleSoftDepartmentManager, useGetPeopleSoftDepartments, useGetPeopleSoftEmployeeById, useGetPeopleSoftEmployeeGeneralManager, useGetPeopleSoftEmployeeManager, useGetPeopleSoftEmployeeSubordinates, useGetPeopleSoftEmployeeSupervisor, useGetPeopleSoftEmployees, useGetPeopleSoftEmployeesSearch, useGetPeopleSoftPreviousEmployeeIds, useLayoutForm, useOpenFile, useUpdateFileMeta, useUploadFile, wczApiClient, withLayoutForm };