@t4dhg/mcp-factorial 2.0.0 → 3.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.
package/dist/schemas.d.ts CHANGED
@@ -466,6 +466,1293 @@ export declare const JobLevelSchema: z.ZodObject<{
466
466
  description: string | null;
467
467
  }>;
468
468
  export type JobLevel = z.infer<typeof JobLevelSchema>;
469
+ /**
470
+ * Employee create input schema
471
+ */
472
+ export declare const CreateEmployeeInputSchema: z.ZodObject<{
473
+ first_name: z.ZodString;
474
+ last_name: z.ZodString;
475
+ email: z.ZodString;
476
+ birthday_on: z.ZodOptional<z.ZodString>;
477
+ hired_on: z.ZodOptional<z.ZodString>;
478
+ start_date: z.ZodOptional<z.ZodString>;
479
+ gender: z.ZodOptional<z.ZodEnum<["male", "female", "other"]>>;
480
+ nationality: z.ZodOptional<z.ZodString>;
481
+ manager_id: z.ZodOptional<z.ZodNumber>;
482
+ role: z.ZodOptional<z.ZodString>;
483
+ team_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
484
+ location_id: z.ZodOptional<z.ZodNumber>;
485
+ }, "strip", z.ZodTypeAny, {
486
+ first_name: string;
487
+ last_name: string;
488
+ email: string;
489
+ birthday_on?: string | undefined;
490
+ hired_on?: string | undefined;
491
+ start_date?: string | undefined;
492
+ gender?: "male" | "female" | "other" | undefined;
493
+ nationality?: string | undefined;
494
+ manager_id?: number | undefined;
495
+ role?: string | undefined;
496
+ team_ids?: number[] | undefined;
497
+ location_id?: number | undefined;
498
+ }, {
499
+ first_name: string;
500
+ last_name: string;
501
+ email: string;
502
+ birthday_on?: string | undefined;
503
+ hired_on?: string | undefined;
504
+ start_date?: string | undefined;
505
+ gender?: "male" | "female" | "other" | undefined;
506
+ nationality?: string | undefined;
507
+ manager_id?: number | undefined;
508
+ role?: string | undefined;
509
+ team_ids?: number[] | undefined;
510
+ location_id?: number | undefined;
511
+ }>;
512
+ export type CreateEmployeeInput = z.infer<typeof CreateEmployeeInputSchema>;
513
+ /**
514
+ * Employee update input schema (all fields optional)
515
+ */
516
+ export declare const UpdateEmployeeInputSchema: z.ZodObject<{
517
+ first_name: z.ZodOptional<z.ZodString>;
518
+ last_name: z.ZodOptional<z.ZodString>;
519
+ email: z.ZodOptional<z.ZodString>;
520
+ birthday_on: z.ZodOptional<z.ZodOptional<z.ZodString>>;
521
+ hired_on: z.ZodOptional<z.ZodOptional<z.ZodString>>;
522
+ start_date: z.ZodOptional<z.ZodOptional<z.ZodString>>;
523
+ gender: z.ZodOptional<z.ZodOptional<z.ZodEnum<["male", "female", "other"]>>>;
524
+ nationality: z.ZodOptional<z.ZodOptional<z.ZodString>>;
525
+ manager_id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
526
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
527
+ team_ids: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
528
+ location_id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
529
+ }, "strip", z.ZodTypeAny, {
530
+ first_name?: string | undefined;
531
+ last_name?: string | undefined;
532
+ email?: string | undefined;
533
+ birthday_on?: string | undefined;
534
+ hired_on?: string | undefined;
535
+ start_date?: string | undefined;
536
+ gender?: "male" | "female" | "other" | undefined;
537
+ nationality?: string | undefined;
538
+ manager_id?: number | undefined;
539
+ role?: string | undefined;
540
+ team_ids?: number[] | undefined;
541
+ location_id?: number | undefined;
542
+ }, {
543
+ first_name?: string | undefined;
544
+ last_name?: string | undefined;
545
+ email?: string | undefined;
546
+ birthday_on?: string | undefined;
547
+ hired_on?: string | undefined;
548
+ start_date?: string | undefined;
549
+ gender?: "male" | "female" | "other" | undefined;
550
+ nationality?: string | undefined;
551
+ manager_id?: number | undefined;
552
+ role?: string | undefined;
553
+ team_ids?: number[] | undefined;
554
+ location_id?: number | undefined;
555
+ }>;
556
+ export type UpdateEmployeeInput = z.infer<typeof UpdateEmployeeInputSchema>;
557
+ /**
558
+ * Employee termination input schema
559
+ */
560
+ export declare const TerminateEmployeeInputSchema: z.ZodObject<{
561
+ terminated_on: z.ZodString;
562
+ reason: z.ZodOptional<z.ZodString>;
563
+ }, "strip", z.ZodTypeAny, {
564
+ terminated_on: string;
565
+ reason?: string | undefined;
566
+ }, {
567
+ terminated_on: string;
568
+ reason?: string | undefined;
569
+ }>;
570
+ export type TerminateEmployeeInput = z.infer<typeof TerminateEmployeeInputSchema>;
571
+ /**
572
+ * Team create input schema
573
+ */
574
+ export declare const CreateTeamInputSchema: z.ZodObject<{
575
+ name: z.ZodString;
576
+ description: z.ZodOptional<z.ZodString>;
577
+ lead_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
578
+ employee_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
579
+ }, "strip", z.ZodTypeAny, {
580
+ name: string;
581
+ description?: string | undefined;
582
+ employee_ids?: number[] | undefined;
583
+ lead_ids?: number[] | undefined;
584
+ }, {
585
+ name: string;
586
+ description?: string | undefined;
587
+ employee_ids?: number[] | undefined;
588
+ lead_ids?: number[] | undefined;
589
+ }>;
590
+ export type CreateTeamInput = z.infer<typeof CreateTeamInputSchema>;
591
+ /**
592
+ * Team update input schema
593
+ */
594
+ export declare const UpdateTeamInputSchema: z.ZodObject<{
595
+ name: z.ZodOptional<z.ZodString>;
596
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
597
+ lead_ids: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
598
+ employee_ids: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
599
+ }, "strip", z.ZodTypeAny, {
600
+ name?: string | undefined;
601
+ description?: string | undefined;
602
+ employee_ids?: number[] | undefined;
603
+ lead_ids?: number[] | undefined;
604
+ }, {
605
+ name?: string | undefined;
606
+ description?: string | undefined;
607
+ employee_ids?: number[] | undefined;
608
+ lead_ids?: number[] | undefined;
609
+ }>;
610
+ export type UpdateTeamInput = z.infer<typeof UpdateTeamInputSchema>;
611
+ /**
612
+ * Location create input schema
613
+ */
614
+ export declare const CreateLocationInputSchema: z.ZodObject<{
615
+ name: z.ZodString;
616
+ country: z.ZodOptional<z.ZodString>;
617
+ state: z.ZodOptional<z.ZodString>;
618
+ city: z.ZodOptional<z.ZodString>;
619
+ address_line_1: z.ZodOptional<z.ZodString>;
620
+ address_line_2: z.ZodOptional<z.ZodString>;
621
+ postal_code: z.ZodOptional<z.ZodString>;
622
+ phone_number: z.ZodOptional<z.ZodString>;
623
+ }, "strip", z.ZodTypeAny, {
624
+ name: string;
625
+ country?: string | undefined;
626
+ phone_number?: string | undefined;
627
+ state?: string | undefined;
628
+ city?: string | undefined;
629
+ address_line_1?: string | undefined;
630
+ address_line_2?: string | undefined;
631
+ postal_code?: string | undefined;
632
+ }, {
633
+ name: string;
634
+ country?: string | undefined;
635
+ phone_number?: string | undefined;
636
+ state?: string | undefined;
637
+ city?: string | undefined;
638
+ address_line_1?: string | undefined;
639
+ address_line_2?: string | undefined;
640
+ postal_code?: string | undefined;
641
+ }>;
642
+ export type CreateLocationInput = z.infer<typeof CreateLocationInputSchema>;
643
+ /**
644
+ * Location update input schema
645
+ */
646
+ export declare const UpdateLocationInputSchema: z.ZodObject<{
647
+ name: z.ZodOptional<z.ZodString>;
648
+ country: z.ZodOptional<z.ZodOptional<z.ZodString>>;
649
+ state: z.ZodOptional<z.ZodOptional<z.ZodString>>;
650
+ city: z.ZodOptional<z.ZodOptional<z.ZodString>>;
651
+ address_line_1: z.ZodOptional<z.ZodOptional<z.ZodString>>;
652
+ address_line_2: z.ZodOptional<z.ZodOptional<z.ZodString>>;
653
+ postal_code: z.ZodOptional<z.ZodOptional<z.ZodString>>;
654
+ phone_number: z.ZodOptional<z.ZodOptional<z.ZodString>>;
655
+ }, "strip", z.ZodTypeAny, {
656
+ name?: string | undefined;
657
+ country?: string | undefined;
658
+ phone_number?: string | undefined;
659
+ state?: string | undefined;
660
+ city?: string | undefined;
661
+ address_line_1?: string | undefined;
662
+ address_line_2?: string | undefined;
663
+ postal_code?: string | undefined;
664
+ }, {
665
+ name?: string | undefined;
666
+ country?: string | undefined;
667
+ phone_number?: string | undefined;
668
+ state?: string | undefined;
669
+ city?: string | undefined;
670
+ address_line_1?: string | undefined;
671
+ address_line_2?: string | undefined;
672
+ postal_code?: string | undefined;
673
+ }>;
674
+ export type UpdateLocationInput = z.infer<typeof UpdateLocationInputSchema>;
675
+ /**
676
+ * Leave create input schema
677
+ */
678
+ export declare const CreateLeaveInputSchema: z.ZodObject<{
679
+ employee_id: z.ZodNumber;
680
+ leave_type_id: z.ZodNumber;
681
+ start_on: z.ZodString;
682
+ finish_on: z.ZodString;
683
+ half_day: z.ZodOptional<z.ZodEnum<["all_day", "start", "finish"]>>;
684
+ description: z.ZodOptional<z.ZodString>;
685
+ }, "strip", z.ZodTypeAny, {
686
+ employee_id: number;
687
+ leave_type_id: number;
688
+ start_on: string;
689
+ finish_on: string;
690
+ description?: string | undefined;
691
+ half_day?: "all_day" | "start" | "finish" | undefined;
692
+ }, {
693
+ employee_id: number;
694
+ leave_type_id: number;
695
+ start_on: string;
696
+ finish_on: string;
697
+ description?: string | undefined;
698
+ half_day?: "all_day" | "start" | "finish" | undefined;
699
+ }>;
700
+ export type CreateLeaveInput = z.infer<typeof CreateLeaveInputSchema>;
701
+ /**
702
+ * Leave update input schema
703
+ */
704
+ export declare const UpdateLeaveInputSchema: z.ZodObject<Omit<{
705
+ employee_id: z.ZodOptional<z.ZodNumber>;
706
+ leave_type_id: z.ZodOptional<z.ZodNumber>;
707
+ start_on: z.ZodOptional<z.ZodString>;
708
+ finish_on: z.ZodOptional<z.ZodString>;
709
+ half_day: z.ZodOptional<z.ZodOptional<z.ZodEnum<["all_day", "start", "finish"]>>>;
710
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
711
+ }, "employee_id">, "strip", z.ZodTypeAny, {
712
+ description?: string | undefined;
713
+ leave_type_id?: number | undefined;
714
+ start_on?: string | undefined;
715
+ finish_on?: string | undefined;
716
+ half_day?: "all_day" | "start" | "finish" | undefined;
717
+ }, {
718
+ description?: string | undefined;
719
+ leave_type_id?: number | undefined;
720
+ start_on?: string | undefined;
721
+ finish_on?: string | undefined;
722
+ half_day?: "all_day" | "start" | "finish" | undefined;
723
+ }>;
724
+ export type UpdateLeaveInput = z.infer<typeof UpdateLeaveInputSchema>;
725
+ /**
726
+ * Leave approval/rejection input schema
727
+ */
728
+ export declare const LeaveDecisionInputSchema: z.ZodObject<{
729
+ reason: z.ZodOptional<z.ZodString>;
730
+ }, "strip", z.ZodTypeAny, {
731
+ reason?: string | undefined;
732
+ }, {
733
+ reason?: string | undefined;
734
+ }>;
735
+ export type LeaveDecisionInput = z.infer<typeof LeaveDecisionInputSchema>;
736
+ /**
737
+ * Shift create input schema
738
+ */
739
+ export declare const CreateShiftInputSchema: z.ZodObject<{
740
+ employee_id: z.ZodNumber;
741
+ clock_in: z.ZodString;
742
+ clock_out: z.ZodOptional<z.ZodString>;
743
+ break_minutes: z.ZodOptional<z.ZodNumber>;
744
+ location: z.ZodOptional<z.ZodString>;
745
+ notes: z.ZodOptional<z.ZodString>;
746
+ }, "strip", z.ZodTypeAny, {
747
+ employee_id: number;
748
+ clock_in: string;
749
+ clock_out?: string | undefined;
750
+ break_minutes?: number | undefined;
751
+ location?: string | undefined;
752
+ notes?: string | undefined;
753
+ }, {
754
+ employee_id: number;
755
+ clock_in: string;
756
+ clock_out?: string | undefined;
757
+ break_minutes?: number | undefined;
758
+ location?: string | undefined;
759
+ notes?: string | undefined;
760
+ }>;
761
+ export type CreateShiftInput = z.infer<typeof CreateShiftInputSchema>;
762
+ /**
763
+ * Shift update input schema
764
+ */
765
+ export declare const UpdateShiftInputSchema: z.ZodObject<Omit<{
766
+ employee_id: z.ZodOptional<z.ZodNumber>;
767
+ clock_in: z.ZodOptional<z.ZodString>;
768
+ clock_out: z.ZodOptional<z.ZodOptional<z.ZodString>>;
769
+ break_minutes: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
770
+ location: z.ZodOptional<z.ZodOptional<z.ZodString>>;
771
+ notes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
772
+ }, "employee_id">, "strip", z.ZodTypeAny, {
773
+ clock_in?: string | undefined;
774
+ clock_out?: string | undefined;
775
+ break_minutes?: number | undefined;
776
+ location?: string | undefined;
777
+ notes?: string | undefined;
778
+ }, {
779
+ clock_in?: string | undefined;
780
+ clock_out?: string | undefined;
781
+ break_minutes?: number | undefined;
782
+ location?: string | undefined;
783
+ notes?: string | undefined;
784
+ }>;
785
+ export type UpdateShiftInput = z.infer<typeof UpdateShiftInputSchema>;
786
+ /**
787
+ * Project schema
788
+ */
789
+ export declare const ProjectSchema: z.ZodObject<{
790
+ id: z.ZodNumber;
791
+ name: z.ZodString;
792
+ code: z.ZodNullable<z.ZodString>;
793
+ description: z.ZodNullable<z.ZodString>;
794
+ status: z.ZodNullable<z.ZodEnum<["active", "inactive", "archived"]>>;
795
+ employees_assignment: z.ZodNullable<z.ZodEnum<["manual", "company"]>>;
796
+ company_id: z.ZodNullable<z.ZodNumber>;
797
+ created_at: z.ZodNullable<z.ZodString>;
798
+ updated_at: z.ZodNullable<z.ZodString>;
799
+ }, "strip", z.ZodTypeAny, {
800
+ id: number;
801
+ company_id: number | null;
802
+ code: string | null;
803
+ status: "active" | "inactive" | "archived" | null;
804
+ created_at: string | null;
805
+ updated_at: string | null;
806
+ name: string;
807
+ description: string | null;
808
+ employees_assignment: "manual" | "company" | null;
809
+ }, {
810
+ id: number;
811
+ company_id: number | null;
812
+ code: string | null;
813
+ status: "active" | "inactive" | "archived" | null;
814
+ created_at: string | null;
815
+ updated_at: string | null;
816
+ name: string;
817
+ description: string | null;
818
+ employees_assignment: "manual" | "company" | null;
819
+ }>;
820
+ export type Project = z.infer<typeof ProjectSchema>;
821
+ /**
822
+ * Project create input schema
823
+ */
824
+ export declare const CreateProjectInputSchema: z.ZodObject<{
825
+ name: z.ZodString;
826
+ code: z.ZodOptional<z.ZodString>;
827
+ description: z.ZodOptional<z.ZodString>;
828
+ employees_assignment: z.ZodOptional<z.ZodEnum<["manual", "company"]>>;
829
+ }, "strip", z.ZodTypeAny, {
830
+ name: string;
831
+ code?: string | undefined;
832
+ description?: string | undefined;
833
+ employees_assignment?: "manual" | "company" | undefined;
834
+ }, {
835
+ name: string;
836
+ code?: string | undefined;
837
+ description?: string | undefined;
838
+ employees_assignment?: "manual" | "company" | undefined;
839
+ }>;
840
+ export type CreateProjectInput = z.infer<typeof CreateProjectInputSchema>;
841
+ /**
842
+ * Project update input schema
843
+ */
844
+ export declare const UpdateProjectInputSchema: z.ZodObject<{
845
+ name: z.ZodOptional<z.ZodString>;
846
+ code: z.ZodOptional<z.ZodOptional<z.ZodString>>;
847
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
848
+ employees_assignment: z.ZodOptional<z.ZodOptional<z.ZodEnum<["manual", "company"]>>>;
849
+ } & {
850
+ status: z.ZodOptional<z.ZodEnum<["active", "inactive", "archived"]>>;
851
+ }, "strip", z.ZodTypeAny, {
852
+ code?: string | undefined;
853
+ status?: "active" | "inactive" | "archived" | undefined;
854
+ name?: string | undefined;
855
+ description?: string | undefined;
856
+ employees_assignment?: "manual" | "company" | undefined;
857
+ }, {
858
+ code?: string | undefined;
859
+ status?: "active" | "inactive" | "archived" | undefined;
860
+ name?: string | undefined;
861
+ description?: string | undefined;
862
+ employees_assignment?: "manual" | "company" | undefined;
863
+ }>;
864
+ export type UpdateProjectInput = z.infer<typeof UpdateProjectInputSchema>;
865
+ /**
866
+ * Project Task schema
867
+ */
868
+ export declare const ProjectTaskSchema: z.ZodObject<{
869
+ id: z.ZodNumber;
870
+ name: z.ZodString;
871
+ project_id: z.ZodNumber;
872
+ subproject_id: z.ZodNullable<z.ZodNumber>;
873
+ description: z.ZodNullable<z.ZodString>;
874
+ completed: z.ZodDefault<z.ZodBoolean>;
875
+ due_on: z.ZodNullable<z.ZodString>;
876
+ due_status: z.ZodNullable<z.ZodString>;
877
+ created_at: z.ZodNullable<z.ZodString>;
878
+ updated_at: z.ZodNullable<z.ZodString>;
879
+ }, "strip", z.ZodTypeAny, {
880
+ id: number;
881
+ created_at: string | null;
882
+ updated_at: string | null;
883
+ name: string;
884
+ description: string | null;
885
+ project_id: number;
886
+ subproject_id: number | null;
887
+ completed: boolean;
888
+ due_on: string | null;
889
+ due_status: string | null;
890
+ }, {
891
+ id: number;
892
+ created_at: string | null;
893
+ updated_at: string | null;
894
+ name: string;
895
+ description: string | null;
896
+ project_id: number;
897
+ subproject_id: number | null;
898
+ due_on: string | null;
899
+ due_status: string | null;
900
+ completed?: boolean | undefined;
901
+ }>;
902
+ export type ProjectTask = z.infer<typeof ProjectTaskSchema>;
903
+ /**
904
+ * Project Task create input schema
905
+ */
906
+ export declare const CreateProjectTaskInputSchema: z.ZodObject<{
907
+ name: z.ZodString;
908
+ project_id: z.ZodNumber;
909
+ description: z.ZodOptional<z.ZodString>;
910
+ due_on: z.ZodOptional<z.ZodString>;
911
+ }, "strip", z.ZodTypeAny, {
912
+ name: string;
913
+ project_id: number;
914
+ description?: string | undefined;
915
+ due_on?: string | undefined;
916
+ }, {
917
+ name: string;
918
+ project_id: number;
919
+ description?: string | undefined;
920
+ due_on?: string | undefined;
921
+ }>;
922
+ export type CreateProjectTaskInput = z.infer<typeof CreateProjectTaskInputSchema>;
923
+ /**
924
+ * Project Task update input schema
925
+ */
926
+ export declare const UpdateProjectTaskInputSchema: z.ZodObject<Omit<{
927
+ name: z.ZodOptional<z.ZodString>;
928
+ project_id: z.ZodOptional<z.ZodNumber>;
929
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
930
+ due_on: z.ZodOptional<z.ZodOptional<z.ZodString>>;
931
+ }, "project_id"> & {
932
+ completed: z.ZodOptional<z.ZodBoolean>;
933
+ }, "strip", z.ZodTypeAny, {
934
+ name?: string | undefined;
935
+ description?: string | undefined;
936
+ completed?: boolean | undefined;
937
+ due_on?: string | undefined;
938
+ }, {
939
+ name?: string | undefined;
940
+ description?: string | undefined;
941
+ completed?: boolean | undefined;
942
+ due_on?: string | undefined;
943
+ }>;
944
+ export type UpdateProjectTaskInput = z.infer<typeof UpdateProjectTaskInputSchema>;
945
+ /**
946
+ * Project Worker schema
947
+ */
948
+ export declare const ProjectWorkerSchema: z.ZodObject<{
949
+ id: z.ZodNumber;
950
+ project_id: z.ZodNumber;
951
+ employee_id: z.ZodNumber;
952
+ company_labor_cost_cents: z.ZodNullable<z.ZodNumber>;
953
+ created_at: z.ZodNullable<z.ZodString>;
954
+ updated_at: z.ZodNullable<z.ZodString>;
955
+ }, "strip", z.ZodTypeAny, {
956
+ id: number;
957
+ created_at: string | null;
958
+ updated_at: string | null;
959
+ employee_id: number;
960
+ project_id: number;
961
+ company_labor_cost_cents: number | null;
962
+ }, {
963
+ id: number;
964
+ created_at: string | null;
965
+ updated_at: string | null;
966
+ employee_id: number;
967
+ project_id: number;
968
+ company_labor_cost_cents: number | null;
969
+ }>;
970
+ export type ProjectWorker = z.infer<typeof ProjectWorkerSchema>;
971
+ /**
972
+ * Project Worker assign input schema
973
+ */
974
+ export declare const AssignProjectWorkerInputSchema: z.ZodObject<{
975
+ project_id: z.ZodNumber;
976
+ employee_id: z.ZodNumber;
977
+ }, "strip", z.ZodTypeAny, {
978
+ employee_id: number;
979
+ project_id: number;
980
+ }, {
981
+ employee_id: number;
982
+ project_id: number;
983
+ }>;
984
+ export type AssignProjectWorkerInput = z.infer<typeof AssignProjectWorkerInputSchema>;
985
+ /**
986
+ * Time Record schema
987
+ */
988
+ export declare const TimeRecordSchema: z.ZodObject<{
989
+ id: z.ZodNumber;
990
+ project_worker_id: z.ZodNumber;
991
+ subproject_id: z.ZodNullable<z.ZodNumber>;
992
+ attendance_shift_id: z.ZodNullable<z.ZodNumber>;
993
+ minutes: z.ZodNumber;
994
+ date: z.ZodString;
995
+ description: z.ZodNullable<z.ZodString>;
996
+ created_at: z.ZodNullable<z.ZodString>;
997
+ updated_at: z.ZodNullable<z.ZodString>;
998
+ }, "strip", z.ZodTypeAny, {
999
+ id: number;
1000
+ created_at: string | null;
1001
+ updated_at: string | null;
1002
+ description: string | null;
1003
+ date: string;
1004
+ subproject_id: number | null;
1005
+ project_worker_id: number;
1006
+ attendance_shift_id: number | null;
1007
+ minutes: number;
1008
+ }, {
1009
+ id: number;
1010
+ created_at: string | null;
1011
+ updated_at: string | null;
1012
+ description: string | null;
1013
+ date: string;
1014
+ subproject_id: number | null;
1015
+ project_worker_id: number;
1016
+ attendance_shift_id: number | null;
1017
+ minutes: number;
1018
+ }>;
1019
+ export type TimeRecord = z.infer<typeof TimeRecordSchema>;
1020
+ /**
1021
+ * Time Record create input schema
1022
+ */
1023
+ export declare const CreateTimeRecordInputSchema: z.ZodObject<{
1024
+ project_worker_id: z.ZodNumber;
1025
+ date: z.ZodString;
1026
+ minutes: z.ZodNumber;
1027
+ description: z.ZodOptional<z.ZodString>;
1028
+ }, "strip", z.ZodTypeAny, {
1029
+ date: string;
1030
+ project_worker_id: number;
1031
+ minutes: number;
1032
+ description?: string | undefined;
1033
+ }, {
1034
+ date: string;
1035
+ project_worker_id: number;
1036
+ minutes: number;
1037
+ description?: string | undefined;
1038
+ }>;
1039
+ export type CreateTimeRecordInput = z.infer<typeof CreateTimeRecordInputSchema>;
1040
+ /**
1041
+ * Time Record update input schema
1042
+ */
1043
+ export declare const UpdateTimeRecordInputSchema: z.ZodObject<Omit<{
1044
+ project_worker_id: z.ZodOptional<z.ZodNumber>;
1045
+ date: z.ZodOptional<z.ZodString>;
1046
+ minutes: z.ZodOptional<z.ZodNumber>;
1047
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1048
+ }, "project_worker_id">, "strip", z.ZodTypeAny, {
1049
+ description?: string | undefined;
1050
+ date?: string | undefined;
1051
+ minutes?: number | undefined;
1052
+ }, {
1053
+ description?: string | undefined;
1054
+ date?: string | undefined;
1055
+ minutes?: number | undefined;
1056
+ }>;
1057
+ export type UpdateTimeRecordInput = z.infer<typeof UpdateTimeRecordInputSchema>;
1058
+ /**
1059
+ * Training schema
1060
+ */
1061
+ export declare const TrainingSchema: z.ZodObject<{
1062
+ id: z.ZodNumber;
1063
+ name: z.ZodString;
1064
+ description: z.ZodNullable<z.ZodString>;
1065
+ category_id: z.ZodNullable<z.ZodNumber>;
1066
+ status: z.ZodNullable<z.ZodString>;
1067
+ subsidized: z.ZodNullable<z.ZodBoolean>;
1068
+ total_training_indirect_cost: z.ZodNullable<z.ZodNumber>;
1069
+ total_training_salary_cost: z.ZodNullable<z.ZodNumber>;
1070
+ company_id: z.ZodNullable<z.ZodNumber>;
1071
+ created_at: z.ZodNullable<z.ZodString>;
1072
+ updated_at: z.ZodNullable<z.ZodString>;
1073
+ }, "strip", z.ZodTypeAny, {
1074
+ id: number;
1075
+ company_id: number | null;
1076
+ status: string | null;
1077
+ created_at: string | null;
1078
+ updated_at: string | null;
1079
+ name: string;
1080
+ description: string | null;
1081
+ category_id: number | null;
1082
+ subsidized: boolean | null;
1083
+ total_training_indirect_cost: number | null;
1084
+ total_training_salary_cost: number | null;
1085
+ }, {
1086
+ id: number;
1087
+ company_id: number | null;
1088
+ status: string | null;
1089
+ created_at: string | null;
1090
+ updated_at: string | null;
1091
+ name: string;
1092
+ description: string | null;
1093
+ category_id: number | null;
1094
+ subsidized: boolean | null;
1095
+ total_training_indirect_cost: number | null;
1096
+ total_training_salary_cost: number | null;
1097
+ }>;
1098
+ export type Training = z.infer<typeof TrainingSchema>;
1099
+ /**
1100
+ * Training create input schema
1101
+ */
1102
+ export declare const CreateTrainingInputSchema: z.ZodObject<{
1103
+ name: z.ZodString;
1104
+ description: z.ZodOptional<z.ZodString>;
1105
+ category_id: z.ZodOptional<z.ZodNumber>;
1106
+ subsidized: z.ZodOptional<z.ZodBoolean>;
1107
+ }, "strip", z.ZodTypeAny, {
1108
+ name: string;
1109
+ description?: string | undefined;
1110
+ category_id?: number | undefined;
1111
+ subsidized?: boolean | undefined;
1112
+ }, {
1113
+ name: string;
1114
+ description?: string | undefined;
1115
+ category_id?: number | undefined;
1116
+ subsidized?: boolean | undefined;
1117
+ }>;
1118
+ export type CreateTrainingInput = z.infer<typeof CreateTrainingInputSchema>;
1119
+ /**
1120
+ * Training update input schema
1121
+ */
1122
+ export declare const UpdateTrainingInputSchema: z.ZodObject<{
1123
+ name: z.ZodOptional<z.ZodString>;
1124
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1125
+ category_id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1126
+ subsidized: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1127
+ }, "strip", z.ZodTypeAny, {
1128
+ name?: string | undefined;
1129
+ description?: string | undefined;
1130
+ category_id?: number | undefined;
1131
+ subsidized?: boolean | undefined;
1132
+ }, {
1133
+ name?: string | undefined;
1134
+ description?: string | undefined;
1135
+ category_id?: number | undefined;
1136
+ subsidized?: boolean | undefined;
1137
+ }>;
1138
+ export type UpdateTrainingInput = z.infer<typeof UpdateTrainingInputSchema>;
1139
+ /**
1140
+ * Training Session schema
1141
+ */
1142
+ export declare const TrainingSessionSchema: z.ZodObject<{
1143
+ id: z.ZodNumber;
1144
+ training_id: z.ZodNumber;
1145
+ name: z.ZodNullable<z.ZodString>;
1146
+ start_date: z.ZodNullable<z.ZodString>;
1147
+ end_date: z.ZodNullable<z.ZodString>;
1148
+ location: z.ZodNullable<z.ZodString>;
1149
+ max_attendees: z.ZodNullable<z.ZodNumber>;
1150
+ created_at: z.ZodNullable<z.ZodString>;
1151
+ updated_at: z.ZodNullable<z.ZodString>;
1152
+ }, "strip", z.ZodTypeAny, {
1153
+ id: number;
1154
+ start_date: string | null;
1155
+ created_at: string | null;
1156
+ updated_at: string | null;
1157
+ name: string | null;
1158
+ location: string | null;
1159
+ training_id: number;
1160
+ end_date: string | null;
1161
+ max_attendees: number | null;
1162
+ }, {
1163
+ id: number;
1164
+ start_date: string | null;
1165
+ created_at: string | null;
1166
+ updated_at: string | null;
1167
+ name: string | null;
1168
+ location: string | null;
1169
+ training_id: number;
1170
+ end_date: string | null;
1171
+ max_attendees: number | null;
1172
+ }>;
1173
+ export type TrainingSession = z.infer<typeof TrainingSessionSchema>;
1174
+ /**
1175
+ * Training Session create input schema
1176
+ */
1177
+ export declare const CreateTrainingSessionInputSchema: z.ZodObject<{
1178
+ training_id: z.ZodNumber;
1179
+ name: z.ZodOptional<z.ZodString>;
1180
+ start_date: z.ZodOptional<z.ZodString>;
1181
+ end_date: z.ZodOptional<z.ZodString>;
1182
+ location: z.ZodOptional<z.ZodString>;
1183
+ max_attendees: z.ZodOptional<z.ZodNumber>;
1184
+ }, "strip", z.ZodTypeAny, {
1185
+ training_id: number;
1186
+ start_date?: string | undefined;
1187
+ name?: string | undefined;
1188
+ location?: string | undefined;
1189
+ end_date?: string | undefined;
1190
+ max_attendees?: number | undefined;
1191
+ }, {
1192
+ training_id: number;
1193
+ start_date?: string | undefined;
1194
+ name?: string | undefined;
1195
+ location?: string | undefined;
1196
+ end_date?: string | undefined;
1197
+ max_attendees?: number | undefined;
1198
+ }>;
1199
+ export type CreateTrainingSessionInput = z.infer<typeof CreateTrainingSessionInputSchema>;
1200
+ /**
1201
+ * Training Session update input schema
1202
+ */
1203
+ export declare const UpdateTrainingSessionInputSchema: z.ZodObject<Omit<{
1204
+ training_id: z.ZodOptional<z.ZodNumber>;
1205
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1206
+ start_date: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1207
+ end_date: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1208
+ location: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1209
+ max_attendees: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1210
+ }, "training_id">, "strip", z.ZodTypeAny, {
1211
+ start_date?: string | undefined;
1212
+ name?: string | undefined;
1213
+ location?: string | undefined;
1214
+ end_date?: string | undefined;
1215
+ max_attendees?: number | undefined;
1216
+ }, {
1217
+ start_date?: string | undefined;
1218
+ name?: string | undefined;
1219
+ location?: string | undefined;
1220
+ end_date?: string | undefined;
1221
+ max_attendees?: number | undefined;
1222
+ }>;
1223
+ export type UpdateTrainingSessionInput = z.infer<typeof UpdateTrainingSessionInputSchema>;
1224
+ /**
1225
+ * Training Membership (Enrollment) schema
1226
+ */
1227
+ export declare const TrainingMembershipSchema: z.ZodObject<{
1228
+ id: z.ZodNumber;
1229
+ training_id: z.ZodNumber;
1230
+ employee_id: z.ZodNumber;
1231
+ session_id: z.ZodNullable<z.ZodNumber>;
1232
+ status: z.ZodNullable<z.ZodString>;
1233
+ enrolled_at: z.ZodNullable<z.ZodString>;
1234
+ completed_at: z.ZodNullable<z.ZodString>;
1235
+ created_at: z.ZodNullable<z.ZodString>;
1236
+ updated_at: z.ZodNullable<z.ZodString>;
1237
+ }, "strip", z.ZodTypeAny, {
1238
+ id: number;
1239
+ status: string | null;
1240
+ created_at: string | null;
1241
+ updated_at: string | null;
1242
+ employee_id: number;
1243
+ training_id: number;
1244
+ session_id: number | null;
1245
+ enrolled_at: string | null;
1246
+ completed_at: string | null;
1247
+ }, {
1248
+ id: number;
1249
+ status: string | null;
1250
+ created_at: string | null;
1251
+ updated_at: string | null;
1252
+ employee_id: number;
1253
+ training_id: number;
1254
+ session_id: number | null;
1255
+ enrolled_at: string | null;
1256
+ completed_at: string | null;
1257
+ }>;
1258
+ export type TrainingMembership = z.infer<typeof TrainingMembershipSchema>;
1259
+ /**
1260
+ * Training enrollment input schema
1261
+ */
1262
+ export declare const EnrollTrainingInputSchema: z.ZodObject<{
1263
+ training_id: z.ZodNumber;
1264
+ employee_id: z.ZodNumber;
1265
+ session_id: z.ZodOptional<z.ZodNumber>;
1266
+ }, "strip", z.ZodTypeAny, {
1267
+ employee_id: number;
1268
+ training_id: number;
1269
+ session_id?: number | undefined;
1270
+ }, {
1271
+ employee_id: number;
1272
+ training_id: number;
1273
+ session_id?: number | undefined;
1274
+ }>;
1275
+ export type EnrollTrainingInput = z.infer<typeof EnrollTrainingInputSchema>;
1276
+ /**
1277
+ * Work Area schema
1278
+ */
1279
+ export declare const WorkAreaSchema: z.ZodObject<{
1280
+ id: z.ZodNumber;
1281
+ name: z.ZodString;
1282
+ description: z.ZodNullable<z.ZodString>;
1283
+ location_id: z.ZodNullable<z.ZodNumber>;
1284
+ company_id: z.ZodNullable<z.ZodNumber>;
1285
+ archived: z.ZodDefault<z.ZodBoolean>;
1286
+ created_at: z.ZodNullable<z.ZodString>;
1287
+ updated_at: z.ZodNullable<z.ZodString>;
1288
+ }, "strip", z.ZodTypeAny, {
1289
+ id: number;
1290
+ company_id: number | null;
1291
+ location_id: number | null;
1292
+ created_at: string | null;
1293
+ updated_at: string | null;
1294
+ name: string;
1295
+ description: string | null;
1296
+ archived: boolean;
1297
+ }, {
1298
+ id: number;
1299
+ company_id: number | null;
1300
+ location_id: number | null;
1301
+ created_at: string | null;
1302
+ updated_at: string | null;
1303
+ name: string;
1304
+ description: string | null;
1305
+ archived?: boolean | undefined;
1306
+ }>;
1307
+ export type WorkArea = z.infer<typeof WorkAreaSchema>;
1308
+ /**
1309
+ * Work Area create input schema
1310
+ */
1311
+ export declare const CreateWorkAreaInputSchema: z.ZodObject<{
1312
+ name: z.ZodString;
1313
+ description: z.ZodOptional<z.ZodString>;
1314
+ location_id: z.ZodOptional<z.ZodNumber>;
1315
+ }, "strip", z.ZodTypeAny, {
1316
+ name: string;
1317
+ location_id?: number | undefined;
1318
+ description?: string | undefined;
1319
+ }, {
1320
+ name: string;
1321
+ location_id?: number | undefined;
1322
+ description?: string | undefined;
1323
+ }>;
1324
+ export type CreateWorkAreaInput = z.infer<typeof CreateWorkAreaInputSchema>;
1325
+ /**
1326
+ * Work Area update input schema
1327
+ */
1328
+ export declare const UpdateWorkAreaInputSchema: z.ZodObject<{
1329
+ name: z.ZodOptional<z.ZodString>;
1330
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1331
+ location_id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1332
+ }, "strip", z.ZodTypeAny, {
1333
+ location_id?: number | undefined;
1334
+ name?: string | undefined;
1335
+ description?: string | undefined;
1336
+ }, {
1337
+ location_id?: number | undefined;
1338
+ name?: string | undefined;
1339
+ description?: string | undefined;
1340
+ }>;
1341
+ export type UpdateWorkAreaInput = z.infer<typeof UpdateWorkAreaInputSchema>;
1342
+ /**
1343
+ * Job Posting schema
1344
+ */
1345
+ export declare const JobPostingSchema: z.ZodObject<{
1346
+ id: z.ZodNumber;
1347
+ title: z.ZodString;
1348
+ description: z.ZodNullable<z.ZodString>;
1349
+ department: z.ZodNullable<z.ZodString>;
1350
+ location_id: z.ZodNullable<z.ZodNumber>;
1351
+ team_id: z.ZodNullable<z.ZodNumber>;
1352
+ status: z.ZodNullable<z.ZodEnum<["draft", "published", "closed", "archived"]>>;
1353
+ employment_type: z.ZodNullable<z.ZodString>;
1354
+ remote_status: z.ZodNullable<z.ZodString>;
1355
+ company_id: z.ZodNullable<z.ZodNumber>;
1356
+ published_at: z.ZodNullable<z.ZodString>;
1357
+ closed_at: z.ZodNullable<z.ZodString>;
1358
+ created_at: z.ZodNullable<z.ZodString>;
1359
+ updated_at: z.ZodNullable<z.ZodString>;
1360
+ }, "strip", z.ZodTypeAny, {
1361
+ id: number;
1362
+ company_id: number | null;
1363
+ status: "archived" | "draft" | "published" | "closed" | null;
1364
+ location_id: number | null;
1365
+ created_at: string | null;
1366
+ updated_at: string | null;
1367
+ description: string | null;
1368
+ title: string;
1369
+ department: string | null;
1370
+ team_id: number | null;
1371
+ employment_type: string | null;
1372
+ remote_status: string | null;
1373
+ published_at: string | null;
1374
+ closed_at: string | null;
1375
+ }, {
1376
+ id: number;
1377
+ company_id: number | null;
1378
+ status: "archived" | "draft" | "published" | "closed" | null;
1379
+ location_id: number | null;
1380
+ created_at: string | null;
1381
+ updated_at: string | null;
1382
+ description: string | null;
1383
+ title: string;
1384
+ department: string | null;
1385
+ team_id: number | null;
1386
+ employment_type: string | null;
1387
+ remote_status: string | null;
1388
+ published_at: string | null;
1389
+ closed_at: string | null;
1390
+ }>;
1391
+ export type JobPosting = z.infer<typeof JobPostingSchema>;
1392
+ /**
1393
+ * Job Posting create input schema
1394
+ */
1395
+ export declare const CreateJobPostingInputSchema: z.ZodObject<{
1396
+ title: z.ZodString;
1397
+ description: z.ZodOptional<z.ZodString>;
1398
+ department: z.ZodOptional<z.ZodString>;
1399
+ location_id: z.ZodOptional<z.ZodNumber>;
1400
+ team_id: z.ZodOptional<z.ZodNumber>;
1401
+ employment_type: z.ZodOptional<z.ZodString>;
1402
+ remote_status: z.ZodOptional<z.ZodString>;
1403
+ }, "strip", z.ZodTypeAny, {
1404
+ title: string;
1405
+ location_id?: number | undefined;
1406
+ description?: string | undefined;
1407
+ department?: string | undefined;
1408
+ team_id?: number | undefined;
1409
+ employment_type?: string | undefined;
1410
+ remote_status?: string | undefined;
1411
+ }, {
1412
+ title: string;
1413
+ location_id?: number | undefined;
1414
+ description?: string | undefined;
1415
+ department?: string | undefined;
1416
+ team_id?: number | undefined;
1417
+ employment_type?: string | undefined;
1418
+ remote_status?: string | undefined;
1419
+ }>;
1420
+ export type CreateJobPostingInput = z.infer<typeof CreateJobPostingInputSchema>;
1421
+ /**
1422
+ * Job Posting update input schema
1423
+ */
1424
+ export declare const UpdateJobPostingInputSchema: z.ZodObject<{
1425
+ title: z.ZodOptional<z.ZodString>;
1426
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1427
+ department: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1428
+ location_id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1429
+ team_id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1430
+ employment_type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1431
+ remote_status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1432
+ } & {
1433
+ status: z.ZodOptional<z.ZodEnum<["draft", "published", "closed", "archived"]>>;
1434
+ }, "strip", z.ZodTypeAny, {
1435
+ status?: "archived" | "draft" | "published" | "closed" | undefined;
1436
+ location_id?: number | undefined;
1437
+ description?: string | undefined;
1438
+ title?: string | undefined;
1439
+ department?: string | undefined;
1440
+ team_id?: number | undefined;
1441
+ employment_type?: string | undefined;
1442
+ remote_status?: string | undefined;
1443
+ }, {
1444
+ status?: "archived" | "draft" | "published" | "closed" | undefined;
1445
+ location_id?: number | undefined;
1446
+ description?: string | undefined;
1447
+ title?: string | undefined;
1448
+ department?: string | undefined;
1449
+ team_id?: number | undefined;
1450
+ employment_type?: string | undefined;
1451
+ remote_status?: string | undefined;
1452
+ }>;
1453
+ export type UpdateJobPostingInput = z.infer<typeof UpdateJobPostingInputSchema>;
1454
+ /**
1455
+ * Candidate schema
1456
+ */
1457
+ export declare const CandidateSchema: z.ZodObject<{
1458
+ id: z.ZodNumber;
1459
+ first_name: z.ZodNullable<z.ZodString>;
1460
+ last_name: z.ZodNullable<z.ZodString>;
1461
+ full_name: z.ZodNullable<z.ZodString>;
1462
+ email: z.ZodNullable<z.ZodString>;
1463
+ phone: z.ZodNullable<z.ZodString>;
1464
+ source: z.ZodNullable<z.ZodString>;
1465
+ resume_url: z.ZodNullable<z.ZodString>;
1466
+ linkedin_url: z.ZodNullable<z.ZodString>;
1467
+ company_id: z.ZodNullable<z.ZodNumber>;
1468
+ created_at: z.ZodNullable<z.ZodString>;
1469
+ updated_at: z.ZodNullable<z.ZodString>;
1470
+ }, "strip", z.ZodTypeAny, {
1471
+ id: number;
1472
+ first_name: string | null;
1473
+ last_name: string | null;
1474
+ full_name: string | null;
1475
+ email: string | null;
1476
+ company_id: number | null;
1477
+ created_at: string | null;
1478
+ updated_at: string | null;
1479
+ phone: string | null;
1480
+ source: string | null;
1481
+ resume_url: string | null;
1482
+ linkedin_url: string | null;
1483
+ }, {
1484
+ id: number;
1485
+ first_name: string | null;
1486
+ last_name: string | null;
1487
+ full_name: string | null;
1488
+ email: string | null;
1489
+ company_id: number | null;
1490
+ created_at: string | null;
1491
+ updated_at: string | null;
1492
+ phone: string | null;
1493
+ source: string | null;
1494
+ resume_url: string | null;
1495
+ linkedin_url: string | null;
1496
+ }>;
1497
+ export type Candidate = z.infer<typeof CandidateSchema>;
1498
+ /**
1499
+ * Candidate create input schema
1500
+ */
1501
+ export declare const CreateCandidateInputSchema: z.ZodObject<{
1502
+ first_name: z.ZodString;
1503
+ last_name: z.ZodString;
1504
+ email: z.ZodOptional<z.ZodString>;
1505
+ phone: z.ZodOptional<z.ZodString>;
1506
+ source: z.ZodOptional<z.ZodString>;
1507
+ linkedin_url: z.ZodOptional<z.ZodString>;
1508
+ }, "strip", z.ZodTypeAny, {
1509
+ first_name: string;
1510
+ last_name: string;
1511
+ email?: string | undefined;
1512
+ phone?: string | undefined;
1513
+ source?: string | undefined;
1514
+ linkedin_url?: string | undefined;
1515
+ }, {
1516
+ first_name: string;
1517
+ last_name: string;
1518
+ email?: string | undefined;
1519
+ phone?: string | undefined;
1520
+ source?: string | undefined;
1521
+ linkedin_url?: string | undefined;
1522
+ }>;
1523
+ export type CreateCandidateInput = z.infer<typeof CreateCandidateInputSchema>;
1524
+ /**
1525
+ * Candidate update input schema
1526
+ */
1527
+ export declare const UpdateCandidateInputSchema: z.ZodObject<{
1528
+ first_name: z.ZodOptional<z.ZodString>;
1529
+ last_name: z.ZodOptional<z.ZodString>;
1530
+ email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1531
+ phone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1532
+ source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1533
+ linkedin_url: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1534
+ }, "strip", z.ZodTypeAny, {
1535
+ first_name?: string | undefined;
1536
+ last_name?: string | undefined;
1537
+ email?: string | undefined;
1538
+ phone?: string | undefined;
1539
+ source?: string | undefined;
1540
+ linkedin_url?: string | undefined;
1541
+ }, {
1542
+ first_name?: string | undefined;
1543
+ last_name?: string | undefined;
1544
+ email?: string | undefined;
1545
+ phone?: string | undefined;
1546
+ source?: string | undefined;
1547
+ linkedin_url?: string | undefined;
1548
+ }>;
1549
+ export type UpdateCandidateInput = z.infer<typeof UpdateCandidateInputSchema>;
1550
+ /**
1551
+ * Application schema
1552
+ */
1553
+ export declare const ApplicationSchema: z.ZodObject<{
1554
+ id: z.ZodNumber;
1555
+ job_posting_id: z.ZodNumber;
1556
+ candidate_id: z.ZodNumber;
1557
+ hiring_stage_id: z.ZodNullable<z.ZodNumber>;
1558
+ ats_application_phase_id: z.ZodNullable<z.ZodNumber>;
1559
+ status: z.ZodNullable<z.ZodString>;
1560
+ rating: z.ZodNullable<z.ZodNumber>;
1561
+ notes: z.ZodNullable<z.ZodString>;
1562
+ applied_at: z.ZodNullable<z.ZodString>;
1563
+ rejected_at: z.ZodNullable<z.ZodString>;
1564
+ hired_at: z.ZodNullable<z.ZodString>;
1565
+ created_at: z.ZodNullable<z.ZodString>;
1566
+ updated_at: z.ZodNullable<z.ZodString>;
1567
+ }, "strip", z.ZodTypeAny, {
1568
+ id: number;
1569
+ status: string | null;
1570
+ created_at: string | null;
1571
+ updated_at: string | null;
1572
+ notes: string | null;
1573
+ job_posting_id: number;
1574
+ candidate_id: number;
1575
+ hiring_stage_id: number | null;
1576
+ ats_application_phase_id: number | null;
1577
+ rating: number | null;
1578
+ applied_at: string | null;
1579
+ rejected_at: string | null;
1580
+ hired_at: string | null;
1581
+ }, {
1582
+ id: number;
1583
+ status: string | null;
1584
+ created_at: string | null;
1585
+ updated_at: string | null;
1586
+ notes: string | null;
1587
+ job_posting_id: number;
1588
+ candidate_id: number;
1589
+ hiring_stage_id: number | null;
1590
+ ats_application_phase_id: number | null;
1591
+ rating: number | null;
1592
+ applied_at: string | null;
1593
+ rejected_at: string | null;
1594
+ hired_at: string | null;
1595
+ }>;
1596
+ export type Application = z.infer<typeof ApplicationSchema>;
1597
+ /**
1598
+ * Application create input schema
1599
+ */
1600
+ export declare const CreateApplicationInputSchema: z.ZodObject<{
1601
+ job_posting_id: z.ZodNumber;
1602
+ candidate_id: z.ZodNumber;
1603
+ notes: z.ZodOptional<z.ZodString>;
1604
+ }, "strip", z.ZodTypeAny, {
1605
+ job_posting_id: number;
1606
+ candidate_id: number;
1607
+ notes?: string | undefined;
1608
+ }, {
1609
+ job_posting_id: number;
1610
+ candidate_id: number;
1611
+ notes?: string | undefined;
1612
+ }>;
1613
+ export type CreateApplicationInput = z.infer<typeof CreateApplicationInputSchema>;
1614
+ /**
1615
+ * Application update input schema
1616
+ */
1617
+ export declare const UpdateApplicationInputSchema: z.ZodObject<{
1618
+ hiring_stage_id: z.ZodOptional<z.ZodNumber>;
1619
+ rating: z.ZodOptional<z.ZodNumber>;
1620
+ notes: z.ZodOptional<z.ZodString>;
1621
+ }, "strip", z.ZodTypeAny, {
1622
+ notes?: string | undefined;
1623
+ hiring_stage_id?: number | undefined;
1624
+ rating?: number | undefined;
1625
+ }, {
1626
+ notes?: string | undefined;
1627
+ hiring_stage_id?: number | undefined;
1628
+ rating?: number | undefined;
1629
+ }>;
1630
+ export type UpdateApplicationInput = z.infer<typeof UpdateApplicationInputSchema>;
1631
+ /**
1632
+ * Hiring Stage schema
1633
+ */
1634
+ export declare const HiringStageSchema: z.ZodObject<{
1635
+ id: z.ZodNumber;
1636
+ name: z.ZodString;
1637
+ label: z.ZodNullable<z.ZodString>;
1638
+ ats_application_phase_id: z.ZodNullable<z.ZodNumber>;
1639
+ position: z.ZodNullable<z.ZodNumber>;
1640
+ company_id: z.ZodNullable<z.ZodNumber>;
1641
+ created_at: z.ZodNullable<z.ZodString>;
1642
+ updated_at: z.ZodNullable<z.ZodString>;
1643
+ }, "strip", z.ZodTypeAny, {
1644
+ id: number;
1645
+ company_id: number | null;
1646
+ created_at: string | null;
1647
+ updated_at: string | null;
1648
+ name: string;
1649
+ ats_application_phase_id: number | null;
1650
+ label: string | null;
1651
+ position: number | null;
1652
+ }, {
1653
+ id: number;
1654
+ company_id: number | null;
1655
+ created_at: string | null;
1656
+ updated_at: string | null;
1657
+ name: string;
1658
+ ats_application_phase_id: number | null;
1659
+ label: string | null;
1660
+ position: number | null;
1661
+ }>;
1662
+ export type HiringStage = z.infer<typeof HiringStageSchema>;
1663
+ /**
1664
+ * Payroll Supplement schema
1665
+ */
1666
+ export declare const PayrollSupplementSchema: z.ZodObject<{
1667
+ id: z.ZodNumber;
1668
+ employee_id: z.ZodNumber;
1669
+ supplement_type_id: z.ZodNullable<z.ZodNumber>;
1670
+ name: z.ZodNullable<z.ZodString>;
1671
+ amount_cents: z.ZodNullable<z.ZodNumber>;
1672
+ effective_on: z.ZodNullable<z.ZodString>;
1673
+ company_id: z.ZodNullable<z.ZodNumber>;
1674
+ created_at: z.ZodNullable<z.ZodString>;
1675
+ updated_at: z.ZodNullable<z.ZodString>;
1676
+ }, "strip", z.ZodTypeAny, {
1677
+ id: number;
1678
+ company_id: number | null;
1679
+ created_at: string | null;
1680
+ updated_at: string | null;
1681
+ name: string | null;
1682
+ employee_id: number;
1683
+ effective_on: string | null;
1684
+ supplement_type_id: number | null;
1685
+ amount_cents: number | null;
1686
+ }, {
1687
+ id: number;
1688
+ company_id: number | null;
1689
+ created_at: string | null;
1690
+ updated_at: string | null;
1691
+ name: string | null;
1692
+ employee_id: number;
1693
+ effective_on: string | null;
1694
+ supplement_type_id: number | null;
1695
+ amount_cents: number | null;
1696
+ }>;
1697
+ export type PayrollSupplement = z.infer<typeof PayrollSupplementSchema>;
1698
+ /**
1699
+ * Tax Identifier schema
1700
+ */
1701
+ export declare const TaxIdentifierSchema: z.ZodObject<{
1702
+ id: z.ZodNumber;
1703
+ employee_id: z.ZodNumber;
1704
+ identifier_type: z.ZodNullable<z.ZodString>;
1705
+ identifier_value: z.ZodNullable<z.ZodString>;
1706
+ country: z.ZodNullable<z.ZodString>;
1707
+ created_at: z.ZodNullable<z.ZodString>;
1708
+ updated_at: z.ZodNullable<z.ZodString>;
1709
+ }, "strip", z.ZodTypeAny, {
1710
+ id: number;
1711
+ created_at: string | null;
1712
+ updated_at: string | null;
1713
+ country: string | null;
1714
+ employee_id: number;
1715
+ identifier_type: string | null;
1716
+ identifier_value: string | null;
1717
+ }, {
1718
+ id: number;
1719
+ created_at: string | null;
1720
+ updated_at: string | null;
1721
+ country: string | null;
1722
+ employee_id: number;
1723
+ identifier_type: string | null;
1724
+ identifier_value: string | null;
1725
+ }>;
1726
+ export type TaxIdentifier = z.infer<typeof TaxIdentifierSchema>;
1727
+ /**
1728
+ * Family Situation schema
1729
+ */
1730
+ export declare const FamilySituationSchema: z.ZodObject<{
1731
+ id: z.ZodNumber;
1732
+ employee_id: z.ZodNumber;
1733
+ marital_status: z.ZodNullable<z.ZodString>;
1734
+ number_of_dependents: z.ZodNullable<z.ZodNumber>;
1735
+ effective_on: z.ZodNullable<z.ZodString>;
1736
+ created_at: z.ZodNullable<z.ZodString>;
1737
+ updated_at: z.ZodNullable<z.ZodString>;
1738
+ }, "strip", z.ZodTypeAny, {
1739
+ id: number;
1740
+ created_at: string | null;
1741
+ updated_at: string | null;
1742
+ employee_id: number;
1743
+ effective_on: string | null;
1744
+ marital_status: string | null;
1745
+ number_of_dependents: number | null;
1746
+ }, {
1747
+ id: number;
1748
+ created_at: string | null;
1749
+ updated_at: string | null;
1750
+ employee_id: number;
1751
+ effective_on: string | null;
1752
+ marital_status: string | null;
1753
+ number_of_dependents: number | null;
1754
+ }>;
1755
+ export type FamilySituation = z.infer<typeof FamilySituationSchema>;
469
1756
  /**
470
1757
  * API response wrapper schema
471
1758
  */