wcz-layout 9.7.0 → 10.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.
Files changed (93) hide show
  1. package/dist/AggregatedCell-BtKC5-m6.mjs +497 -0
  2. package/dist/AggregatedCell-BtKC5-m6.mjs.map +1 -0
  3. package/dist/Approval-C-hF4jbT.mjs.map +1 -1
  4. package/dist/DialogsContext-DLqA8RJ_.mjs.map +1 -1
  5. package/dist/Email-BzQQkbe9.mjs.map +1 -1
  6. package/dist/FileMeta-DDqUju1Y.mjs.map +1 -1
  7. package/dist/LayoutTable-4DLs-NI-.d.mts +752 -0
  8. package/dist/{QueryClientParam-Cbb0MIKg.d.mts → QueryClientParam-JcH0mJWl.d.mts} +2 -2
  9. package/dist/RouterListItemButton-ULMlaQh6.mjs.map +1 -1
  10. package/dist/{User-1gKoYJvW.d.mts → User-D4__w1I1.d.mts} +4 -2
  11. package/dist/approval-DFExxyAJ.mjs +84 -0
  12. package/dist/approval-DFExxyAJ.mjs.map +1 -0
  13. package/dist/auth.d.mts +21 -11
  14. package/dist/auth.mjs +43 -26
  15. package/dist/auth.mjs.map +1 -1
  16. package/dist/components.d.mts +22 -30
  17. package/dist/components.mjs +786 -139
  18. package/dist/components.mjs.map +1 -1
  19. package/dist/createApi-CLYWCzR2.mjs +27 -0
  20. package/dist/createApi-CLYWCzR2.mjs.map +1 -0
  21. package/dist/data/client.d.mts +702 -1152
  22. package/dist/data/client.mjs +4 -3
  23. package/dist/data/client.mjs.map +1 -1
  24. package/dist/data/server.d.mts +3 -3
  25. package/dist/data/server.mjs +4 -2
  26. package/dist/data/server.mjs.map +1 -1
  27. package/dist/{file-BWcNzq55.mjs → file-CZwQfvTU.mjs} +5 -24
  28. package/dist/file-CZwQfvTU.mjs.map +1 -0
  29. package/dist/{file-DimNsRly.mjs → file-aSQto2rw.mjs} +6 -7
  30. package/dist/file-aSQto2rw.mjs.map +1 -0
  31. package/dist/hooks.d.mts +7 -46
  32. package/dist/hooks.mjs +2578 -239
  33. package/dist/hooks.mjs.map +1 -1
  34. package/dist/index.d.mts +28 -9
  35. package/dist/index.mjs +1248 -500
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/middleware.d.mts +20 -19
  38. package/dist/middleware.mjs +47 -2
  39. package/dist/middleware.mjs.map +1 -1
  40. package/dist/models.d.mts +17 -10
  41. package/dist/models.mjs.map +1 -1
  42. package/dist/{peoplesoft-CskGsqd6.d.mts → peoplesoft-BY_75WTS.d.mts} +2 -2
  43. package/dist/{peoplesoft-DTPGpN2h.mjs → peoplesoft-CQnc01Hc.mjs} +24 -81
  44. package/dist/peoplesoft-CQnc01Hc.mjs.map +1 -0
  45. package/dist/providers-Dbl95AxR.mjs +74 -0
  46. package/dist/providers-Dbl95AxR.mjs.map +1 -0
  47. package/dist/tokens-D8CVIFTb.mjs +143 -0
  48. package/dist/tokens-D8CVIFTb.mjs.map +1 -0
  49. package/dist/{utils-5x4uNxsX.d.mts → utils-Bhi0KiBx.d.mts} +18 -6
  50. package/dist/{utils-DjdexspV.mjs → utils-KaM5VMTJ.mjs} +64 -42
  51. package/dist/utils-KaM5VMTJ.mjs.map +1 -0
  52. package/dist/utils.d.mts +2 -2
  53. package/dist/utils.mjs +2 -2
  54. package/dist/vite.d.mts +1 -2
  55. package/dist/vite.mjs +3 -3
  56. package/dist/vite.mjs.map +1 -1
  57. package/package.json +23 -23
  58. package/skills/client-db/SKILL.md +104 -96
  59. package/skills/db-schema/SKILL.md +46 -33
  60. package/skills/dialogs/SKILL.md +21 -27
  61. package/skills/forms/SKILL.md +60 -39
  62. package/skills/general/SKILL.md +56 -25
  63. package/skills/general/references/exports.md +106 -0
  64. package/skills/migrations/SKILL.md +53 -2
  65. package/skills/migrations/versions/migrate-v9-to-v10.md +581 -0
  66. package/skills/routing/SKILL.md +50 -60
  67. package/skills/server-functions/SKILL.md +36 -56
  68. package/skills/services/SKILL.md +7 -4
  69. package/skills/services/docs/approval.md +2 -2
  70. package/skills/services/docs/peoplesoft.md +1 -1
  71. package/skills/start/SKILL.md +9 -5
  72. package/skills/start/steps/05-database-setup.md +52 -52
  73. package/skills/start/steps/06-entra-setup.md +1 -1
  74. package/skills/start/steps/07-vault-setup.md +5 -12
  75. package/skills/table/SKILL.md +275 -0
  76. package/skills/unslop/SKILL.md +80 -0
  77. package/dist/NotificationContext-CgwUOeW0.mjs +0 -7
  78. package/dist/NotificationContext-CgwUOeW0.mjs.map +0 -1
  79. package/dist/authMiddleware-DPly0b_T.mjs +0 -48
  80. package/dist/authMiddleware-DPly0b_T.mjs.map +0 -1
  81. package/dist/entra-CJSyeQsx.mjs +0 -109
  82. package/dist/entra-CJSyeQsx.mjs.map +0 -1
  83. package/dist/file-BWcNzq55.mjs.map +0 -1
  84. package/dist/file-DimNsRly.mjs.map +0 -1
  85. package/dist/msalServer-DLwA7_ta.mjs +0 -30
  86. package/dist/msalServer-DLwA7_ta.mjs.map +0 -1
  87. package/dist/peoplesoft-DTPGpN2h.mjs.map +0 -1
  88. package/dist/useDialogs-BUzVrTSP.mjs +0 -248
  89. package/dist/useDialogs-BUzVrTSP.mjs.map +0 -1
  90. package/dist/user-Dzv0N9fj.d.mts +0 -16
  91. package/dist/utils-DjdexspV.mjs.map +0 -1
  92. package/skills/data-grid/SKILL.md +0 -142
  93. package/skills/migrations/versions/migrate-v9-to-v10.tsx +0 -9
@@ -1,8 +1,8 @@
1
- import { t as QueryClientParam } from "../QueryClientParam-Cbb0MIKg.mjs";
2
- import { M as UploadFileResult, O as FileSchema, b as GetApprovalsSchema, i as SearchEmployeesSchema, k as GetFileMetasSchema, n as DepartmentIdSchema, r as EmployeeIdSchema, t as CompanyCodeSchema, y as GetApprovalSchema } from "../peoplesoft-CskGsqd6.mjs";
1
+ import { M as UploadFileResult, O as FileSchema, b as GetApprovalsSchema, i as SearchEmployeesSchema, k as GetFileMetasSchema, n as DepartmentIdSchema, r as EmployeeIdSchema, t as CompanyCodeSchema, y as GetApprovalSchema } from "../peoplesoft-BY_75WTS.mjs";
2
+ import { t as QueryClientParam } from "../QueryClientParam-JcH0mJWl.mjs";
3
3
  import z, { z as z$1 } from "zod";
4
4
  //#region src/data/client/file.d.ts
5
- declare const fileMetasQueryOptions: (params: z$1.input<typeof GetFileMetasSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
5
+ export declare const fileMetasQueryOptions: (params: z$1.input<typeof GetFileMetasSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
6
6
  id: string;
7
7
  subId: string;
8
8
  appName: string;
@@ -40,48 +40,33 @@ declare const fileMetasQueryOptions: (params: z$1.input<typeof GetFileMetasSchem
40
40
  createdBy: string;
41
41
  createdDate: Date;
42
42
  }[], string[], never> | undefined;
43
- } & {
44
- queryKey: string[] & {
45
- [dataTagSymbol]: {
46
- id: string;
47
- subId: string;
48
- appName: string;
49
- fileName: string;
50
- fileExtension: string;
51
- fileSize: number;
52
- mediaSubType: string;
53
- mediaType: string;
54
- mimeType: string;
55
- createdBy: string;
56
- createdDate: Date;
57
- }[];
58
- [dataTagErrorSymbol]: Error;
59
- };
60
- };
61
- declare const fileThumbnailQueryOptions: (params: z$1.input<typeof FileSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<string, Error, string, string[]>, "queryFn"> & {
43
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
44
+ id: string;
45
+ subId: string;
46
+ appName: string;
47
+ fileName: string;
48
+ fileExtension: string;
49
+ fileSize: number;
50
+ mediaSubType: string;
51
+ mediaType: string;
52
+ mimeType: string;
53
+ createdBy: string;
54
+ createdDate: Date;
55
+ }[], Error>;
56
+ export declare const fileThumbnailQueryOptions: (params: z$1.input<typeof FileSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<string, Error, string, string[]>, "queryFn"> & {
62
57
  queryFn?: import("@tanstack/query-core").QueryFunction<string, string[], never> | undefined;
63
- } & {
64
- queryKey: string[] & {
65
- [dataTagSymbol]: string;
66
- [dataTagErrorSymbol]: Error;
67
- };
68
- };
69
- declare const fileQueryOptions: (params: z$1.input<typeof FileSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<string, Error, string, string[]>, "queryFn"> & {
58
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<string[], string, Error>;
59
+ export declare const fileQueryOptions: (params: z$1.input<typeof FileSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<string, Error, string, string[]>, "queryFn"> & {
70
60
  queryFn?: import("@tanstack/query-core").QueryFunction<string, string[], never> | undefined;
71
- } & {
72
- queryKey: string[] & {
73
- [dataTagSymbol]: string;
74
- [dataTagErrorSymbol]: Error;
75
- };
76
- };
77
- declare const downloadFileMutationOptions: () => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
61
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<string[], string, Error>;
62
+ export declare const downloadFileMutationOptions: () => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
78
63
  appName: string;
79
64
  id: string;
80
65
  } & {
81
66
  fileName: string;
82
67
  fileExtension: string;
83
68
  }, unknown>, "mutationKey">;
84
- declare const openFileMutationOptions: ({ target }: {
69
+ export declare const openFileMutationOptions: ({ target }: {
85
70
  target: {
86
71
  current: Window | null;
87
72
  };
@@ -89,7 +74,7 @@ declare const openFileMutationOptions: ({ target }: {
89
74
  appName: string;
90
75
  id: string;
91
76
  }, unknown>, "mutationKey">;
92
- declare const updateFileMetaMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
77
+ export declare const updateFileMetaMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
93
78
  id: string;
94
79
  subId: string;
95
80
  appName: string;
@@ -102,15 +87,15 @@ declare const updateFileMetaMutationOptions: ({ queryClient }: QueryClientParam)
102
87
  createdDate: Date;
103
88
  fileName: string;
104
89
  }, unknown>, "mutationKey">;
105
- declare const deleteFileMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
90
+ export declare const deleteFileMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
106
91
  appName: string;
107
92
  id: string;
108
93
  }, unknown>, "mutationKey">;
109
- declare const batchDeleteFilesMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
94
+ export declare const batchDeleteFilesMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
110
95
  appName: string;
111
96
  subId: string;
112
97
  }, unknown>, "mutationKey">;
113
- declare const uploadFileMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<UploadFileResult, Error, {
98
+ export declare const uploadFileMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<UploadFileResult, Error, {
114
99
  id?: string | undefined;
115
100
  appName: string;
116
101
  subId: string;
@@ -120,7 +105,7 @@ declare const uploadFileMutationOptions: ({ queryClient }: QueryClientParam) =>
120
105
  }, unknown>, "mutationKey">;
121
106
  //#endregion
122
107
  //#region src/data/client/approval.d.ts
123
- declare const approvalsQueryOptions: (params: z$1.input<typeof GetApprovalsSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
108
+ export declare const approvalsQueryOptions: (params: z$1.input<typeof GetApprovalsSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
124
109
  id: string;
125
110
  number?: string | undefined;
126
111
  applicationName: string;
@@ -324,82 +309,77 @@ declare const approvalsQueryOptions: (params: z$1.input<typeof GetApprovalsSchem
324
309
  approverEmployeeId?: string | undefined;
325
310
  stepResult?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
326
311
  })[], never> | undefined;
327
- } & {
328
- queryKey: (string | {
329
- appName: string;
330
- status?: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn" | undefined;
331
- approverEmployeeId?: string | undefined;
332
- stepResult?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
333
- })[] & {
334
- [dataTagSymbol]: {
312
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
313
+ appName: string;
314
+ status?: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn" | undefined;
315
+ approverEmployeeId?: string | undefined;
316
+ stepResult?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
317
+ })[], {
318
+ id: string;
319
+ number?: string | undefined;
320
+ applicationName: string;
321
+ type?: "Batch" | "Single" | undefined;
322
+ status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
323
+ created: Date;
324
+ createdBy: {
325
+ employeeId: string;
326
+ name: string;
327
+ email: string;
328
+ };
329
+ updated?: Date | undefined;
330
+ updatedBy?: {
331
+ employeeId: string;
332
+ name: string;
333
+ email: string;
334
+ } | undefined;
335
+ approvalFlows: {
336
+ id: string;
337
+ approvalStage: number;
338
+ batchSequence?: number | undefined;
339
+ approvalSequence: number;
340
+ stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
341
+ steps: {
335
342
  id: string;
336
- number?: string | undefined;
337
- applicationName: string;
338
- type?: "Batch" | "Single" | undefined;
339
- status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
340
- created: Date;
341
- createdBy: {
343
+ order: number;
344
+ approverRole?: string | undefined;
345
+ approver: {
342
346
  employeeId: string;
343
347
  name: string;
344
348
  email: string;
345
349
  };
346
- updated?: Date | undefined;
347
- updatedBy?: {
350
+ actualApprover?: {
348
351
  employeeId: string;
349
352
  name: string;
350
353
  email: string;
351
354
  } | undefined;
352
- approvalFlows: {
353
- id: string;
354
- approvalStage: number;
355
- batchSequence?: number | undefined;
356
- approvalSequence: number;
357
- stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
358
- steps: {
359
- id: string;
360
- order: number;
361
- approverRole?: string | undefined;
362
- approver: {
363
- employeeId: string;
364
- name: string;
365
- email: string;
366
- };
367
- actualApprover?: {
368
- employeeId: string;
369
- name: string;
370
- email: string;
371
- } | undefined;
372
- result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
373
- resultDate?: Date | undefined;
374
- resultComment?: string | undefined;
375
- }[];
376
- isActive?: boolean | undefined;
377
- }[];
378
- currentApprovers: {
379
- employeeId: string;
380
- name: string;
381
- email: string;
382
- }[];
383
- coRequestors?: {
384
- id: string;
385
- principal: {
386
- role: string;
387
- email: string;
388
- } | {
389
- employeeId: string;
390
- name: string;
391
- email: string;
392
- };
393
- permissions: {
394
- withdraw?: boolean | undefined;
395
- cancel?: boolean | undefined;
396
- };
397
- }[] | undefined;
355
+ result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
356
+ resultDate?: Date | undefined;
357
+ resultComment?: string | undefined;
398
358
  }[];
399
- [dataTagErrorSymbol]: Error;
400
- };
401
- };
402
- declare const approvalQueryOptions: (params: z$1.input<typeof GetApprovalSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
359
+ isActive?: boolean | undefined;
360
+ }[];
361
+ currentApprovers: {
362
+ employeeId: string;
363
+ name: string;
364
+ email: string;
365
+ }[];
366
+ coRequestors?: {
367
+ id: string;
368
+ principal: {
369
+ role: string;
370
+ email: string;
371
+ } | {
372
+ employeeId: string;
373
+ name: string;
374
+ email: string;
375
+ };
376
+ permissions: {
377
+ withdraw?: boolean | undefined;
378
+ cancel?: boolean | undefined;
379
+ };
380
+ }[] | undefined;
381
+ }[], Error>;
382
+ export declare const approvalQueryOptions: (params: z$1.input<typeof GetApprovalSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
403
383
  id: string;
404
384
  number?: string | undefined;
405
385
  applicationName: string;
@@ -597,79 +577,74 @@ declare const approvalQueryOptions: (params: z$1.input<typeof GetApprovalSchema>
597
577
  }, (string | {
598
578
  id: string;
599
579
  })[], never> | undefined;
600
- } & {
601
- queryKey: (string | {
580
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
581
+ id: string;
582
+ })[], {
583
+ id: string;
584
+ number?: string | undefined;
585
+ applicationName: string;
586
+ type?: "Batch" | "Single" | undefined;
587
+ status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
588
+ created: Date;
589
+ createdBy: {
590
+ employeeId: string;
591
+ name: string;
592
+ email: string;
593
+ };
594
+ updated?: Date | undefined;
595
+ updatedBy?: {
596
+ employeeId: string;
597
+ name: string;
598
+ email: string;
599
+ } | undefined;
600
+ approvalFlows: {
602
601
  id: string;
603
- })[] & {
604
- [dataTagSymbol]: {
602
+ approvalStage: number;
603
+ batchSequence?: number | undefined;
604
+ approvalSequence: number;
605
+ stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
606
+ steps: {
605
607
  id: string;
606
- number?: string | undefined;
607
- applicationName: string;
608
- type?: "Batch" | "Single" | undefined;
609
- status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
610
- created: Date;
611
- createdBy: {
608
+ order: number;
609
+ approverRole?: string | undefined;
610
+ approver: {
612
611
  employeeId: string;
613
612
  name: string;
614
613
  email: string;
615
614
  };
616
- updated?: Date | undefined;
617
- updatedBy?: {
615
+ actualApprover?: {
618
616
  employeeId: string;
619
617
  name: string;
620
618
  email: string;
621
619
  } | undefined;
622
- approvalFlows: {
623
- id: string;
624
- approvalStage: number;
625
- batchSequence?: number | undefined;
626
- approvalSequence: number;
627
- stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
628
- steps: {
629
- id: string;
630
- order: number;
631
- approverRole?: string | undefined;
632
- approver: {
633
- employeeId: string;
634
- name: string;
635
- email: string;
636
- };
637
- actualApprover?: {
638
- employeeId: string;
639
- name: string;
640
- email: string;
641
- } | undefined;
642
- result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
643
- resultDate?: Date | undefined;
644
- resultComment?: string | undefined;
645
- }[];
646
- isActive?: boolean | undefined;
647
- }[];
648
- currentApprovers: {
649
- employeeId: string;
650
- name: string;
651
- email: string;
652
- }[];
653
- coRequestors?: {
654
- id: string;
655
- principal: {
656
- role: string;
657
- email: string;
658
- } | {
659
- employeeId: string;
660
- name: string;
661
- email: string;
662
- };
663
- permissions: {
664
- withdraw?: boolean | undefined;
665
- cancel?: boolean | undefined;
666
- };
667
- }[] | undefined;
620
+ result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
621
+ resultDate?: Date | undefined;
622
+ resultComment?: string | undefined;
623
+ }[];
624
+ isActive?: boolean | undefined;
625
+ }[];
626
+ currentApprovers: {
627
+ employeeId: string;
628
+ name: string;
629
+ email: string;
630
+ }[];
631
+ coRequestors?: {
632
+ id: string;
633
+ principal: {
634
+ role: string;
635
+ email: string;
636
+ } | {
637
+ employeeId: string;
638
+ name: string;
639
+ email: string;
668
640
  };
669
- [dataTagErrorSymbol]: Error;
670
- };
671
- };
672
- declare const createApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
641
+ permissions: {
642
+ withdraw?: boolean | undefined;
643
+ cancel?: boolean | undefined;
644
+ };
645
+ }[] | undefined;
646
+ }, Error>;
647
+ export declare const createApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
673
648
  id: string;
674
649
  number?: string | undefined;
675
650
  applicationName: string;
@@ -808,7 +783,7 @@ declare const createApprovalMutationOptions: ({ queryClient }: QueryClientParam)
808
783
  };
809
784
  }[] | undefined;
810
785
  }, unknown>, "mutationKey">;
811
- declare const approveApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
786
+ export declare const approveApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
812
787
  id: string;
813
788
  number?: string | undefined;
814
789
  applicationName: string;
@@ -878,7 +853,7 @@ declare const approveApprovalMutationOptions: ({ queryClient }: QueryClientParam
878
853
  resultComment?: string | undefined;
879
854
  emailBody: string;
880
855
  }, unknown>, "mutationKey">;
881
- declare const resubmitApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
856
+ export declare const resubmitApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
882
857
  id: string;
883
858
  number?: string | undefined;
884
859
  applicationName: string;
@@ -958,19 +933,19 @@ declare const resubmitApprovalMutationOptions: ({ queryClient }: QueryClientPara
958
933
  }[];
959
934
  }[];
960
935
  }, unknown>, "mutationKey">;
961
- declare const withdrawApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
936
+ export declare const withdrawApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
962
937
  id: string;
963
938
  comment: string;
964
939
  emailBody: string;
965
940
  }, unknown>, "mutationKey">;
966
- declare const cancelApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
941
+ export declare const cancelApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
967
942
  id: string;
968
943
  comment: string;
969
944
  emailBody: string;
970
945
  }, unknown>, "mutationKey">;
971
946
  //#endregion
972
947
  //#region src/data/client/peoplesoft.d.ts
973
- declare const searchEmployees: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
948
+ export declare const searchEmployees: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
974
949
  searchTerm: z.ZodString;
975
950
  }, z.core.$strip>, Promise<{
976
951
  badgeId: string;
@@ -1008,7 +983,7 @@ declare const searchEmployees: import("@tanstack/start-client-core").RequiredFet
1008
983
  terminationReason: string | null;
1009
984
  supervisorRecordNumber: number;
1010
985
  }[]>>;
1011
- declare const getEmployees: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
986
+ export declare const getEmployees: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
1012
987
  badgeId: string;
1013
988
  category: string;
1014
989
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1044,7 +1019,7 @@ declare const getEmployees: import("@tanstack/start-client-core").OptionalFetche
1044
1019
  terminationReason: string | null;
1045
1020
  supervisorRecordNumber: number;
1046
1021
  }[]>>;
1047
- declare const getActiveEmployees: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
1022
+ export declare const getActiveEmployees: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
1048
1023
  badgeId: string;
1049
1024
  category: string;
1050
1025
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1080,9 +1055,7 @@ declare const getActiveEmployees: import("@tanstack/start-client-core").Optional
1080
1055
  terminationReason: string | null;
1081
1056
  supervisorRecordNumber: number;
1082
1057
  }[]>>;
1083
- declare const getEmployeeByEmployeeId: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1084
- employeeId: z.ZodString;
1085
- }, z.core.$strip>, Promise<{
1058
+ export declare const getPreviousEmployeeIds: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
1086
1059
  badgeId: string;
1087
1060
  category: string;
1088
1061
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1117,46 +1090,56 @@ declare const getEmployeeByEmployeeId: import("@tanstack/start-client-core").Req
1117
1090
  jobDescription: string;
1118
1091
  terminationReason: string | null;
1119
1092
  supervisorRecordNumber: number;
1120
- }>>;
1121
- declare const getPreviousEmployeeIds: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
1122
- badgeId: string;
1123
- category: string;
1124
- categoryGroup: "FD" | "FI" | "IDL";
1125
- companyCode: string;
1126
- contactPhone: string;
1093
+ }[]>>;
1094
+ export declare const getDepartments: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
1127
1095
  departmentId: string;
1128
- departmentDescription: string;
1129
- emailString: string | null;
1130
- employeeId: string;
1131
- extensionNumber: string;
1132
- firstName: string;
1133
- gender: string;
1134
- hiredDate: Date;
1135
- lastName: string;
1096
+ description: string;
1136
1097
  managerId: string;
1137
- middleName: string;
1138
- name: string;
1139
- nameTitleCase: string;
1140
- nfcSn: string;
1141
- plantId: string;
1142
- position: string;
1143
- previousEmployeeIds: string | null;
1144
- reHiredDate: Date | null;
1145
- recordNumber: number;
1146
- status: "Active" | "Leave of Absence" | "Terminated";
1147
- supervisorId: string;
1148
- terminationDate: Date | null;
1149
- terminationFutureDate: Date | null;
1150
- type: string;
1098
+ managerRecordNumber: string;
1099
+ treeLevel: number;
1151
1100
  upperDepartmentId: string;
1152
- jobCode: string;
1153
- jobDescription: string;
1154
- terminationReason: string | null;
1155
- supervisorRecordNumber: number;
1101
+ companyCode: string;
1102
+ location: string;
1103
+ salLocation: string;
1104
+ plantId: string;
1105
+ manager: {
1106
+ badgeId: string;
1107
+ category: string;
1108
+ categoryGroup: "FD" | "FI" | "IDL";
1109
+ companyCode: string;
1110
+ contactPhone: string;
1111
+ departmentId: string;
1112
+ departmentDescription: string;
1113
+ emailString: string | null;
1114
+ employeeId: string;
1115
+ extensionNumber: string;
1116
+ firstName: string;
1117
+ gender: string;
1118
+ hiredDate: Date;
1119
+ lastName: string;
1120
+ managerId: string;
1121
+ middleName: string;
1122
+ name: string;
1123
+ nameTitleCase: string;
1124
+ nfcSn: string;
1125
+ plantId: string;
1126
+ position: string;
1127
+ previousEmployeeIds: string | null;
1128
+ reHiredDate: Date | null;
1129
+ recordNumber: number;
1130
+ status: "Active" | "Leave of Absence" | "Terminated";
1131
+ supervisorId: string;
1132
+ terminationDate: Date | null;
1133
+ terminationFutureDate: Date | null;
1134
+ type: string;
1135
+ upperDepartmentId: string;
1136
+ jobCode: string;
1137
+ jobDescription: string;
1138
+ terminationReason: string | null;
1139
+ supervisorRecordNumber: number;
1140
+ };
1156
1141
  }[]>>;
1157
- declare const getEmployeeSupervisor: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1158
- employeeId: z.ZodString;
1159
- }, z.core.$strip>, Promise<{
1142
+ export declare const searchEmployeesQueryOptions: (params: z.infer<typeof SearchEmployeesSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1160
1143
  badgeId: string;
1161
1144
  category: string;
1162
1145
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1191,10 +1174,7 @@ declare const getEmployeeSupervisor: import("@tanstack/start-client-core").Requi
1191
1174
  jobDescription: string;
1192
1175
  terminationReason: string | null;
1193
1176
  supervisorRecordNumber: number;
1194
- }>>;
1195
- declare const getEmployeeSubordinates: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1196
- employeeId: z.ZodString;
1197
- }, z.core.$strip>, Promise<{
1177
+ }[], Error, {
1198
1178
  badgeId: string;
1199
1179
  category: string;
1200
1180
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1229,145 +1209,10 @@ declare const getEmployeeSubordinates: import("@tanstack/start-client-core").Req
1229
1209
  jobDescription: string;
1230
1210
  terminationReason: string | null;
1231
1211
  supervisorRecordNumber: number;
1232
- }[]>>;
1233
- declare const getEmployeeManager: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1234
- employeeId: z.ZodString;
1235
- }, z.core.$strip>, Promise<{
1236
- badgeId: string;
1237
- category: string;
1238
- categoryGroup: "FD" | "FI" | "IDL";
1239
- companyCode: string;
1240
- contactPhone: string;
1241
- departmentId: string;
1242
- departmentDescription: string;
1243
- emailString: string | null;
1244
- employeeId: string;
1245
- extensionNumber: string;
1246
- firstName: string;
1247
- gender: string;
1248
- hiredDate: Date;
1249
- lastName: string;
1250
- managerId: string;
1251
- middleName: string;
1252
- name: string;
1253
- nameTitleCase: string;
1254
- nfcSn: string;
1255
- plantId: string;
1256
- position: string;
1257
- previousEmployeeIds: string | null;
1258
- reHiredDate: Date | null;
1259
- recordNumber: number;
1260
- status: "Active" | "Leave of Absence" | "Terminated";
1261
- supervisorId: string;
1262
- terminationDate: Date | null;
1263
- terminationFutureDate: Date | null;
1264
- type: string;
1265
- upperDepartmentId: string;
1266
- jobCode: string;
1267
- jobDescription: string;
1268
- terminationReason: string | null;
1269
- supervisorRecordNumber: number;
1270
- }>>;
1271
- declare const getEmployeeGeneralManager: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1272
- employeeId: z.ZodString;
1273
- }, z.core.$strip>, Promise<{
1274
- badgeId: string;
1275
- category: string;
1276
- categoryGroup: "FD" | "FI" | "IDL";
1277
- companyCode: string;
1278
- contactPhone: string;
1279
- departmentId: string;
1280
- departmentDescription: string;
1281
- emailString: string | null;
1282
- employeeId: string;
1283
- extensionNumber: string;
1284
- firstName: string;
1285
- gender: string;
1286
- hiredDate: Date;
1287
- lastName: string;
1288
- managerId: string;
1289
- middleName: string;
1290
- name: string;
1291
- nameTitleCase: string;
1292
- nfcSn: string;
1293
- plantId: string;
1294
- position: string;
1295
- previousEmployeeIds: string | null;
1296
- reHiredDate: Date | null;
1297
- recordNumber: number;
1298
- status: "Active" | "Leave of Absence" | "Terminated";
1299
- supervisorId: string;
1300
- terminationDate: Date | null;
1301
- terminationFutureDate: Date | null;
1302
- type: string;
1303
- upperDepartmentId: string;
1304
- jobCode: string;
1305
- jobDescription: string;
1306
- terminationReason: string | null;
1307
- supervisorRecordNumber: number;
1308
- }>>;
1309
- declare const getDepartments: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
1310
- departmentId: string;
1311
- description: string;
1312
- managerId: string;
1313
- managerRecordNumber: string;
1314
- treeLevel: number;
1315
- upperDepartmentId: string;
1316
- companyCode: string;
1317
- location: string;
1318
- salLocation: string;
1319
- plantId: string;
1320
- manager: {
1321
- badgeId: string;
1322
- category: string;
1323
- categoryGroup: "FD" | "FI" | "IDL";
1324
- companyCode: string;
1325
- contactPhone: string;
1326
- departmentId: string;
1327
- departmentDescription: string;
1328
- emailString: string | null;
1329
- employeeId: string;
1330
- extensionNumber: string;
1331
- firstName: string;
1332
- gender: string;
1333
- hiredDate: Date;
1334
- lastName: string;
1335
- managerId: string;
1336
- middleName: string;
1337
- name: string;
1338
- nameTitleCase: string;
1339
- nfcSn: string;
1340
- plantId: string;
1341
- position: string;
1342
- previousEmployeeIds: string | null;
1343
- reHiredDate: Date | null;
1344
- recordNumber: number;
1345
- status: "Active" | "Leave of Absence" | "Terminated";
1346
- supervisorId: string;
1347
- terminationDate: Date | null;
1348
- terminationFutureDate: Date | null;
1349
- type: string;
1350
- upperDepartmentId: string;
1351
- jobCode: string;
1352
- jobDescription: string;
1353
- terminationReason: string | null;
1354
- supervisorRecordNumber: number;
1355
- };
1356
- }[]>>;
1357
- declare const getDepartmentById: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1358
- departmentId: z.ZodString;
1359
- }, z.core.$strip>, Promise<{
1360
- departmentId: string;
1361
- description: string;
1362
- managerId: string;
1363
- managerRecordNumber: string;
1364
- treeLevel: number;
1365
- upperDepartmentId: string;
1366
- companyCode: string;
1367
- location: string;
1368
- salLocation: string;
1369
- plantId: string;
1370
- manager: {
1212
+ }[], (string | {
1213
+ searchTerm: string;
1214
+ })[]>, "queryFn"> & {
1215
+ queryFn?: import("@tanstack/query-core").QueryFunction<{
1371
1216
  badgeId: string;
1372
1217
  category: string;
1373
1218
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1402,87 +1247,12 @@ declare const getDepartmentById: import("@tanstack/start-client-core").RequiredF
1402
1247
  jobDescription: string;
1403
1248
  terminationReason: string | null;
1404
1249
  supervisorRecordNumber: number;
1405
- };
1406
- }>>;
1407
- declare const getDepartmentManager: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1408
- departmentId: z.ZodString;
1409
- }, z.core.$strip>, Promise<{
1410
- badgeId: string;
1411
- category: string;
1412
- categoryGroup: "FD" | "FI" | "IDL";
1413
- companyCode: string;
1414
- contactPhone: string;
1415
- departmentId: string;
1416
- departmentDescription: string;
1417
- emailString: string | null;
1418
- employeeId: string;
1419
- extensionNumber: string;
1420
- firstName: string;
1421
- gender: string;
1422
- hiredDate: Date;
1423
- lastName: string;
1424
- managerId: string;
1425
- middleName: string;
1426
- name: string;
1427
- nameTitleCase: string;
1428
- nfcSn: string;
1429
- plantId: string;
1430
- position: string;
1431
- previousEmployeeIds: string | null;
1432
- reHiredDate: Date | null;
1433
- recordNumber: number;
1434
- status: "Active" | "Leave of Absence" | "Terminated";
1435
- supervisorId: string;
1436
- terminationDate: Date | null;
1437
- terminationFutureDate: Date | null;
1438
- type: string;
1439
- upperDepartmentId: string;
1440
- jobCode: string;
1441
- jobDescription: string;
1442
- terminationReason: string | null;
1443
- supervisorRecordNumber: number;
1444
- }>>;
1445
- declare const getDepartmentEmployees: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1446
- departmentId: z.ZodString;
1447
- }, z.core.$strip>, Promise<{
1448
- badgeId: string;
1449
- category: string;
1450
- categoryGroup: "FD" | "FI" | "IDL";
1451
- companyCode: string;
1452
- contactPhone: string;
1453
- departmentId: string;
1454
- departmentDescription: string;
1455
- emailString: string | null;
1456
- employeeId: string;
1457
- extensionNumber: string;
1458
- firstName: string;
1459
- gender: string;
1460
- hiredDate: Date;
1461
- lastName: string;
1462
- managerId: string;
1463
- middleName: string;
1464
- name: string;
1465
- nameTitleCase: string;
1466
- nfcSn: string;
1467
- plantId: string;
1468
- position: string;
1469
- previousEmployeeIds: string | null;
1470
- reHiredDate: Date | null;
1471
- recordNumber: number;
1472
- status: "Active" | "Leave of Absence" | "Terminated";
1473
- supervisorId: string;
1474
- terminationDate: Date | null;
1475
- terminationFutureDate: Date | null;
1476
- type: string;
1477
- upperDepartmentId: string;
1478
- jobCode: string;
1479
- jobDescription: string;
1480
- terminationReason: string | null;
1481
- supervisorRecordNumber: number;
1482
- }[]>>;
1483
- declare const getCompanyGeneralManager: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1484
- companyCode: z.ZodString;
1485
- }, z.core.$strip>, Promise<{
1250
+ }[], (string | {
1251
+ searchTerm: string;
1252
+ })[], never> | undefined;
1253
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
1254
+ searchTerm: string;
1255
+ })[], {
1486
1256
  badgeId: string;
1487
1257
  category: string;
1488
1258
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1517,8 +1287,8 @@ declare const getCompanyGeneralManager: import("@tanstack/start-client-core").Re
1517
1287
  jobDescription: string;
1518
1288
  terminationReason: string | null;
1519
1289
  supervisorRecordNumber: number;
1520
- }>>;
1521
- declare const searchEmployeesQueryOptions: (params: z.infer<typeof SearchEmployeesSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1290
+ }[], Error>;
1291
+ export declare const employeesQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1522
1292
  badgeId: string;
1523
1293
  category: string;
1524
1294
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1588,9 +1358,7 @@ declare const searchEmployeesQueryOptions: (params: z.infer<typeof SearchEmploye
1588
1358
  jobDescription: string;
1589
1359
  terminationReason: string | null;
1590
1360
  supervisorRecordNumber: number;
1591
- }[], (string | {
1592
- searchTerm: string;
1593
- })[]>, "queryFn"> & {
1361
+ }[], string[]>, "queryFn"> & {
1594
1362
  queryFn?: import("@tanstack/query-core").QueryFunction<{
1595
1363
  badgeId: string;
1596
1364
  category: string;
@@ -1626,88 +1394,8 @@ declare const searchEmployeesQueryOptions: (params: z.infer<typeof SearchEmploye
1626
1394
  jobDescription: string;
1627
1395
  terminationReason: string | null;
1628
1396
  supervisorRecordNumber: number;
1629
- }[], (string | {
1630
- searchTerm: string;
1631
- })[], never> | undefined;
1632
- } & {
1633
- queryKey: (string | {
1634
- searchTerm: string;
1635
- })[] & {
1636
- [dataTagSymbol]: {
1637
- badgeId: string;
1638
- category: string;
1639
- categoryGroup: "FD" | "FI" | "IDL";
1640
- companyCode: string;
1641
- contactPhone: string;
1642
- departmentId: string;
1643
- departmentDescription: string;
1644
- emailString: string | null;
1645
- employeeId: string;
1646
- extensionNumber: string;
1647
- firstName: string;
1648
- gender: string;
1649
- hiredDate: Date;
1650
- lastName: string;
1651
- managerId: string;
1652
- middleName: string;
1653
- name: string;
1654
- nameTitleCase: string;
1655
- nfcSn: string;
1656
- plantId: string;
1657
- position: string;
1658
- previousEmployeeIds: string | null;
1659
- reHiredDate: Date | null;
1660
- recordNumber: number;
1661
- status: "Active" | "Leave of Absence" | "Terminated";
1662
- supervisorId: string;
1663
- terminationDate: Date | null;
1664
- terminationFutureDate: Date | null;
1665
- type: string;
1666
- upperDepartmentId: string;
1667
- jobCode: string;
1668
- jobDescription: string;
1669
- terminationReason: string | null;
1670
- supervisorRecordNumber: number;
1671
- }[];
1672
- [dataTagErrorSymbol]: Error;
1673
- };
1674
- };
1675
- declare const employeesQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1676
- badgeId: string;
1677
- category: string;
1678
- categoryGroup: "FD" | "FI" | "IDL";
1679
- companyCode: string;
1680
- contactPhone: string;
1681
- departmentId: string;
1682
- departmentDescription: string;
1683
- emailString: string | null;
1684
- employeeId: string;
1685
- extensionNumber: string;
1686
- firstName: string;
1687
- gender: string;
1688
- hiredDate: Date;
1689
- lastName: string;
1690
- managerId: string;
1691
- middleName: string;
1692
- name: string;
1693
- nameTitleCase: string;
1694
- nfcSn: string;
1695
- plantId: string;
1696
- position: string;
1697
- previousEmployeeIds: string | null;
1698
- reHiredDate: Date | null;
1699
- recordNumber: number;
1700
- status: "Active" | "Leave of Absence" | "Terminated";
1701
- supervisorId: string;
1702
- terminationDate: Date | null;
1703
- terminationFutureDate: Date | null;
1704
- type: string;
1705
- upperDepartmentId: string;
1706
- jobCode: string;
1707
- jobDescription: string;
1708
- terminationReason: string | null;
1709
- supervisorRecordNumber: number;
1710
- }[], Error, {
1397
+ }[], string[], never> | undefined;
1398
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
1711
1399
  badgeId: string;
1712
1400
  category: string;
1713
1401
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1742,85 +1430,8 @@ declare const employeesQueryOptions: () => import("@tanstack/query-core").OmitKe
1742
1430
  jobDescription: string;
1743
1431
  terminationReason: string | null;
1744
1432
  supervisorRecordNumber: number;
1745
- }[], string[]>, "queryFn"> & {
1746
- queryFn?: import("@tanstack/query-core").QueryFunction<{
1747
- badgeId: string;
1748
- category: string;
1749
- categoryGroup: "FD" | "FI" | "IDL";
1750
- companyCode: string;
1751
- contactPhone: string;
1752
- departmentId: string;
1753
- departmentDescription: string;
1754
- emailString: string | null;
1755
- employeeId: string;
1756
- extensionNumber: string;
1757
- firstName: string;
1758
- gender: string;
1759
- hiredDate: Date;
1760
- lastName: string;
1761
- managerId: string;
1762
- middleName: string;
1763
- name: string;
1764
- nameTitleCase: string;
1765
- nfcSn: string;
1766
- plantId: string;
1767
- position: string;
1768
- previousEmployeeIds: string | null;
1769
- reHiredDate: Date | null;
1770
- recordNumber: number;
1771
- status: "Active" | "Leave of Absence" | "Terminated";
1772
- supervisorId: string;
1773
- terminationDate: Date | null;
1774
- terminationFutureDate: Date | null;
1775
- type: string;
1776
- upperDepartmentId: string;
1777
- jobCode: string;
1778
- jobDescription: string;
1779
- terminationReason: string | null;
1780
- supervisorRecordNumber: number;
1781
- }[], string[], never> | undefined;
1782
- } & {
1783
- queryKey: string[] & {
1784
- [dataTagSymbol]: {
1785
- badgeId: string;
1786
- category: string;
1787
- categoryGroup: "FD" | "FI" | "IDL";
1788
- companyCode: string;
1789
- contactPhone: string;
1790
- departmentId: string;
1791
- departmentDescription: string;
1792
- emailString: string | null;
1793
- employeeId: string;
1794
- extensionNumber: string;
1795
- firstName: string;
1796
- gender: string;
1797
- hiredDate: Date;
1798
- lastName: string;
1799
- managerId: string;
1800
- middleName: string;
1801
- name: string;
1802
- nameTitleCase: string;
1803
- nfcSn: string;
1804
- plantId: string;
1805
- position: string;
1806
- previousEmployeeIds: string | null;
1807
- reHiredDate: Date | null;
1808
- recordNumber: number;
1809
- status: "Active" | "Leave of Absence" | "Terminated";
1810
- supervisorId: string;
1811
- terminationDate: Date | null;
1812
- terminationFutureDate: Date | null;
1813
- type: string;
1814
- upperDepartmentId: string;
1815
- jobCode: string;
1816
- jobDescription: string;
1817
- terminationReason: string | null;
1818
- supervisorRecordNumber: number;
1819
- }[];
1820
- [dataTagErrorSymbol]: Error;
1821
- };
1822
- };
1823
- declare const activeEmployeesQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1433
+ }[], Error>;
1434
+ export declare const activeEmployeesQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1824
1435
  badgeId: string;
1825
1436
  category: string;
1826
1437
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1927,48 +1538,43 @@ declare const activeEmployeesQueryOptions: () => import("@tanstack/query-core").
1927
1538
  terminationReason: string | null;
1928
1539
  supervisorRecordNumber: number;
1929
1540
  }[], string[], never> | undefined;
1930
- } & {
1931
- queryKey: string[] & {
1932
- [dataTagSymbol]: {
1933
- badgeId: string;
1934
- category: string;
1935
- categoryGroup: "FD" | "FI" | "IDL";
1936
- companyCode: string;
1937
- contactPhone: string;
1938
- departmentId: string;
1939
- departmentDescription: string;
1940
- emailString: string | null;
1941
- employeeId: string;
1942
- extensionNumber: string;
1943
- firstName: string;
1944
- gender: string;
1945
- hiredDate: Date;
1946
- lastName: string;
1947
- managerId: string;
1948
- middleName: string;
1949
- name: string;
1950
- nameTitleCase: string;
1951
- nfcSn: string;
1952
- plantId: string;
1953
- position: string;
1954
- previousEmployeeIds: string | null;
1955
- reHiredDate: Date | null;
1956
- recordNumber: number;
1957
- status: "Active" | "Leave of Absence" | "Terminated";
1958
- supervisorId: string;
1959
- terminationDate: Date | null;
1960
- terminationFutureDate: Date | null;
1961
- type: string;
1962
- upperDepartmentId: string;
1963
- jobCode: string;
1964
- jobDescription: string;
1965
- terminationReason: string | null;
1966
- supervisorRecordNumber: number;
1967
- }[];
1968
- [dataTagErrorSymbol]: Error;
1969
- };
1970
- };
1971
- declare const employeeByEmployeeIdQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1541
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
1542
+ badgeId: string;
1543
+ category: string;
1544
+ categoryGroup: "FD" | "FI" | "IDL";
1545
+ companyCode: string;
1546
+ contactPhone: string;
1547
+ departmentId: string;
1548
+ departmentDescription: string;
1549
+ emailString: string | null;
1550
+ employeeId: string;
1551
+ extensionNumber: string;
1552
+ firstName: string;
1553
+ gender: string;
1554
+ hiredDate: Date;
1555
+ lastName: string;
1556
+ managerId: string;
1557
+ middleName: string;
1558
+ name: string;
1559
+ nameTitleCase: string;
1560
+ nfcSn: string;
1561
+ plantId: string;
1562
+ position: string;
1563
+ previousEmployeeIds: string | null;
1564
+ reHiredDate: Date | null;
1565
+ recordNumber: number;
1566
+ status: "Active" | "Leave of Absence" | "Terminated";
1567
+ supervisorId: string;
1568
+ terminationDate: Date | null;
1569
+ terminationFutureDate: Date | null;
1570
+ type: string;
1571
+ upperDepartmentId: string;
1572
+ jobCode: string;
1573
+ jobDescription: string;
1574
+ terminationReason: string | null;
1575
+ supervisorRecordNumber: number;
1576
+ }[], Error>;
1577
+ export declare const employeeByEmployeeIdQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1972
1578
  badgeId: string;
1973
1579
  category: string;
1974
1580
  categoryGroup: "FD" | "FI" | "IDL";
@@ -2078,51 +1684,46 @@ declare const employeeByEmployeeIdQueryOptions: (params: z.infer<typeof Employee
2078
1684
  supervisorRecordNumber: number;
2079
1685
  }, (string | {
2080
1686
  employeeId: string;
2081
- })[], never> | undefined;
2082
- } & {
2083
- queryKey: (string | {
2084
- employeeId: string;
2085
- })[] & {
2086
- [dataTagSymbol]: {
2087
- badgeId: string;
2088
- category: string;
2089
- categoryGroup: "FD" | "FI" | "IDL";
2090
- companyCode: string;
2091
- contactPhone: string;
2092
- departmentId: string;
2093
- departmentDescription: string;
2094
- emailString: string | null;
2095
- employeeId: string;
2096
- extensionNumber: string;
2097
- firstName: string;
2098
- gender: string;
2099
- hiredDate: Date;
2100
- lastName: string;
2101
- managerId: string;
2102
- middleName: string;
2103
- name: string;
2104
- nameTitleCase: string;
2105
- nfcSn: string;
2106
- plantId: string;
2107
- position: string;
2108
- previousEmployeeIds: string | null;
2109
- reHiredDate: Date | null;
2110
- recordNumber: number;
2111
- status: "Active" | "Leave of Absence" | "Terminated";
2112
- supervisorId: string;
2113
- terminationDate: Date | null;
2114
- terminationFutureDate: Date | null;
2115
- type: string;
2116
- upperDepartmentId: string;
2117
- jobCode: string;
2118
- jobDescription: string;
2119
- terminationReason: string | null;
2120
- supervisorRecordNumber: number;
2121
- };
2122
- [dataTagErrorSymbol]: Error;
2123
- };
2124
- };
2125
- declare const previousEmployeeIdsQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1687
+ })[], never> | undefined;
1688
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
1689
+ employeeId: string;
1690
+ })[], {
1691
+ badgeId: string;
1692
+ category: string;
1693
+ categoryGroup: "FD" | "FI" | "IDL";
1694
+ companyCode: string;
1695
+ contactPhone: string;
1696
+ departmentId: string;
1697
+ departmentDescription: string;
1698
+ emailString: string | null;
1699
+ employeeId: string;
1700
+ extensionNumber: string;
1701
+ firstName: string;
1702
+ gender: string;
1703
+ hiredDate: Date;
1704
+ lastName: string;
1705
+ managerId: string;
1706
+ middleName: string;
1707
+ name: string;
1708
+ nameTitleCase: string;
1709
+ nfcSn: string;
1710
+ plantId: string;
1711
+ position: string;
1712
+ previousEmployeeIds: string | null;
1713
+ reHiredDate: Date | null;
1714
+ recordNumber: number;
1715
+ status: "Active" | "Leave of Absence" | "Terminated";
1716
+ supervisorId: string;
1717
+ terminationDate: Date | null;
1718
+ terminationFutureDate: Date | null;
1719
+ type: string;
1720
+ upperDepartmentId: string;
1721
+ jobCode: string;
1722
+ jobDescription: string;
1723
+ terminationReason: string | null;
1724
+ supervisorRecordNumber: number;
1725
+ }, Error>;
1726
+ export declare const previousEmployeeIdsQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2126
1727
  badgeId: string;
2127
1728
  category: string;
2128
1729
  categoryGroup: "FD" | "FI" | "IDL";
@@ -2229,48 +1830,43 @@ declare const previousEmployeeIdsQueryOptions: () => import("@tanstack/query-cor
2229
1830
  terminationReason: string | null;
2230
1831
  supervisorRecordNumber: number;
2231
1832
  }[], string[], never> | undefined;
2232
- } & {
2233
- queryKey: string[] & {
2234
- [dataTagSymbol]: {
2235
- badgeId: string;
2236
- category: string;
2237
- categoryGroup: "FD" | "FI" | "IDL";
2238
- companyCode: string;
2239
- contactPhone: string;
2240
- departmentId: string;
2241
- departmentDescription: string;
2242
- emailString: string | null;
2243
- employeeId: string;
2244
- extensionNumber: string;
2245
- firstName: string;
2246
- gender: string;
2247
- hiredDate: Date;
2248
- lastName: string;
2249
- managerId: string;
2250
- middleName: string;
2251
- name: string;
2252
- nameTitleCase: string;
2253
- nfcSn: string;
2254
- plantId: string;
2255
- position: string;
2256
- previousEmployeeIds: string | null;
2257
- reHiredDate: Date | null;
2258
- recordNumber: number;
2259
- status: "Active" | "Leave of Absence" | "Terminated";
2260
- supervisorId: string;
2261
- terminationDate: Date | null;
2262
- terminationFutureDate: Date | null;
2263
- type: string;
2264
- upperDepartmentId: string;
2265
- jobCode: string;
2266
- jobDescription: string;
2267
- terminationReason: string | null;
2268
- supervisorRecordNumber: number;
2269
- }[];
2270
- [dataTagErrorSymbol]: Error;
2271
- };
2272
- };
2273
- declare const employeeSupervisorQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1833
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
1834
+ badgeId: string;
1835
+ category: string;
1836
+ categoryGroup: "FD" | "FI" | "IDL";
1837
+ companyCode: string;
1838
+ contactPhone: string;
1839
+ departmentId: string;
1840
+ departmentDescription: string;
1841
+ emailString: string | null;
1842
+ employeeId: string;
1843
+ extensionNumber: string;
1844
+ firstName: string;
1845
+ gender: string;
1846
+ hiredDate: Date;
1847
+ lastName: string;
1848
+ managerId: string;
1849
+ middleName: string;
1850
+ name: string;
1851
+ nameTitleCase: string;
1852
+ nfcSn: string;
1853
+ plantId: string;
1854
+ position: string;
1855
+ previousEmployeeIds: string | null;
1856
+ reHiredDate: Date | null;
1857
+ recordNumber: number;
1858
+ status: "Active" | "Leave of Absence" | "Terminated";
1859
+ supervisorId: string;
1860
+ terminationDate: Date | null;
1861
+ terminationFutureDate: Date | null;
1862
+ type: string;
1863
+ upperDepartmentId: string;
1864
+ jobCode: string;
1865
+ jobDescription: string;
1866
+ terminationReason: string | null;
1867
+ supervisorRecordNumber: number;
1868
+ }[], Error>;
1869
+ export declare const employeeSupervisorQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2274
1870
  badgeId: string;
2275
1871
  category: string;
2276
1872
  categoryGroup: "FD" | "FI" | "IDL";
@@ -2381,50 +1977,45 @@ declare const employeeSupervisorQueryOptions: (params: z.infer<typeof EmployeeId
2381
1977
  }, (string | {
2382
1978
  employeeId: string;
2383
1979
  })[], never> | undefined;
2384
- } & {
2385
- queryKey: (string | {
2386
- employeeId: string;
2387
- })[] & {
2388
- [dataTagSymbol]: {
2389
- badgeId: string;
2390
- category: string;
2391
- categoryGroup: "FD" | "FI" | "IDL";
2392
- companyCode: string;
2393
- contactPhone: string;
2394
- departmentId: string;
2395
- departmentDescription: string;
2396
- emailString: string | null;
2397
- employeeId: string;
2398
- extensionNumber: string;
2399
- firstName: string;
2400
- gender: string;
2401
- hiredDate: Date;
2402
- lastName: string;
2403
- managerId: string;
2404
- middleName: string;
2405
- name: string;
2406
- nameTitleCase: string;
2407
- nfcSn: string;
2408
- plantId: string;
2409
- position: string;
2410
- previousEmployeeIds: string | null;
2411
- reHiredDate: Date | null;
2412
- recordNumber: number;
2413
- status: "Active" | "Leave of Absence" | "Terminated";
2414
- supervisorId: string;
2415
- terminationDate: Date | null;
2416
- terminationFutureDate: Date | null;
2417
- type: string;
2418
- upperDepartmentId: string;
2419
- jobCode: string;
2420
- jobDescription: string;
2421
- terminationReason: string | null;
2422
- supervisorRecordNumber: number;
2423
- };
2424
- [dataTagErrorSymbol]: Error;
2425
- };
2426
- };
2427
- declare const employeeSubordinatesQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1980
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
1981
+ employeeId: string;
1982
+ })[], {
1983
+ badgeId: string;
1984
+ category: string;
1985
+ categoryGroup: "FD" | "FI" | "IDL";
1986
+ companyCode: string;
1987
+ contactPhone: string;
1988
+ departmentId: string;
1989
+ departmentDescription: string;
1990
+ emailString: string | null;
1991
+ employeeId: string;
1992
+ extensionNumber: string;
1993
+ firstName: string;
1994
+ gender: string;
1995
+ hiredDate: Date;
1996
+ lastName: string;
1997
+ managerId: string;
1998
+ middleName: string;
1999
+ name: string;
2000
+ nameTitleCase: string;
2001
+ nfcSn: string;
2002
+ plantId: string;
2003
+ position: string;
2004
+ previousEmployeeIds: string | null;
2005
+ reHiredDate: Date | null;
2006
+ recordNumber: number;
2007
+ status: "Active" | "Leave of Absence" | "Terminated";
2008
+ supervisorId: string;
2009
+ terminationDate: Date | null;
2010
+ terminationFutureDate: Date | null;
2011
+ type: string;
2012
+ upperDepartmentId: string;
2013
+ jobCode: string;
2014
+ jobDescription: string;
2015
+ terminationReason: string | null;
2016
+ supervisorRecordNumber: number;
2017
+ }, Error>;
2018
+ export declare const employeeSubordinatesQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2428
2019
  badgeId: string;
2429
2020
  category: string;
2430
2021
  categoryGroup: "FD" | "FI" | "IDL";
@@ -2533,52 +2124,47 @@ declare const employeeSubordinatesQueryOptions: (params: z.infer<typeof Employee
2533
2124
  terminationReason: string | null;
2534
2125
  supervisorRecordNumber: number;
2535
2126
  }[], (string | {
2536
- employeeId: string;
2537
- })[], never> | undefined;
2538
- } & {
2539
- queryKey: (string | {
2540
- employeeId: string;
2541
- })[] & {
2542
- [dataTagSymbol]: {
2543
- badgeId: string;
2544
- category: string;
2545
- categoryGroup: "FD" | "FI" | "IDL";
2546
- companyCode: string;
2547
- contactPhone: string;
2548
- departmentId: string;
2549
- departmentDescription: string;
2550
- emailString: string | null;
2551
- employeeId: string;
2552
- extensionNumber: string;
2553
- firstName: string;
2554
- gender: string;
2555
- hiredDate: Date;
2556
- lastName: string;
2557
- managerId: string;
2558
- middleName: string;
2559
- name: string;
2560
- nameTitleCase: string;
2561
- nfcSn: string;
2562
- plantId: string;
2563
- position: string;
2564
- previousEmployeeIds: string | null;
2565
- reHiredDate: Date | null;
2566
- recordNumber: number;
2567
- status: "Active" | "Leave of Absence" | "Terminated";
2568
- supervisorId: string;
2569
- terminationDate: Date | null;
2570
- terminationFutureDate: Date | null;
2571
- type: string;
2572
- upperDepartmentId: string;
2573
- jobCode: string;
2574
- jobDescription: string;
2575
- terminationReason: string | null;
2576
- supervisorRecordNumber: number;
2577
- }[];
2578
- [dataTagErrorSymbol]: Error;
2579
- };
2580
- };
2581
- declare const employeeManagerQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2127
+ employeeId: string;
2128
+ })[], never> | undefined;
2129
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
2130
+ employeeId: string;
2131
+ })[], {
2132
+ badgeId: string;
2133
+ category: string;
2134
+ categoryGroup: "FD" | "FI" | "IDL";
2135
+ companyCode: string;
2136
+ contactPhone: string;
2137
+ departmentId: string;
2138
+ departmentDescription: string;
2139
+ emailString: string | null;
2140
+ employeeId: string;
2141
+ extensionNumber: string;
2142
+ firstName: string;
2143
+ gender: string;
2144
+ hiredDate: Date;
2145
+ lastName: string;
2146
+ managerId: string;
2147
+ middleName: string;
2148
+ name: string;
2149
+ nameTitleCase: string;
2150
+ nfcSn: string;
2151
+ plantId: string;
2152
+ position: string;
2153
+ previousEmployeeIds: string | null;
2154
+ reHiredDate: Date | null;
2155
+ recordNumber: number;
2156
+ status: "Active" | "Leave of Absence" | "Terminated";
2157
+ supervisorId: string;
2158
+ terminationDate: Date | null;
2159
+ terminationFutureDate: Date | null;
2160
+ type: string;
2161
+ upperDepartmentId: string;
2162
+ jobCode: string;
2163
+ jobDescription: string;
2164
+ terminationReason: string | null;
2165
+ supervisorRecordNumber: number;
2166
+ }[], Error>;
2167
+ export declare const employeeManagerQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2582
2168
  badgeId: string;
2583
2169
  category: string;
2584
2170
  categoryGroup: "FD" | "FI" | "IDL";
@@ -2689,50 +2275,45 @@ declare const employeeManagerQueryOptions: (params: z.infer<typeof EmployeeIdSch
2689
2275
  }, (string | {
2690
2276
  employeeId: string;
2691
2277
  })[], never> | undefined;
2692
- } & {
2693
- queryKey: (string | {
2694
- employeeId: string;
2695
- })[] & {
2696
- [dataTagSymbol]: {
2697
- badgeId: string;
2698
- category: string;
2699
- categoryGroup: "FD" | "FI" | "IDL";
2700
- companyCode: string;
2701
- contactPhone: string;
2702
- departmentId: string;
2703
- departmentDescription: string;
2704
- emailString: string | null;
2705
- employeeId: string;
2706
- extensionNumber: string;
2707
- firstName: string;
2708
- gender: string;
2709
- hiredDate: Date;
2710
- lastName: string;
2711
- managerId: string;
2712
- middleName: string;
2713
- name: string;
2714
- nameTitleCase: string;
2715
- nfcSn: string;
2716
- plantId: string;
2717
- position: string;
2718
- previousEmployeeIds: string | null;
2719
- reHiredDate: Date | null;
2720
- recordNumber: number;
2721
- status: "Active" | "Leave of Absence" | "Terminated";
2722
- supervisorId: string;
2723
- terminationDate: Date | null;
2724
- terminationFutureDate: Date | null;
2725
- type: string;
2726
- upperDepartmentId: string;
2727
- jobCode: string;
2728
- jobDescription: string;
2729
- terminationReason: string | null;
2730
- supervisorRecordNumber: number;
2731
- };
2732
- [dataTagErrorSymbol]: Error;
2733
- };
2734
- };
2735
- declare const employeeGeneralManagerQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2278
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
2279
+ employeeId: string;
2280
+ })[], {
2281
+ badgeId: string;
2282
+ category: string;
2283
+ categoryGroup: "FD" | "FI" | "IDL";
2284
+ companyCode: string;
2285
+ contactPhone: string;
2286
+ departmentId: string;
2287
+ departmentDescription: string;
2288
+ emailString: string | null;
2289
+ employeeId: string;
2290
+ extensionNumber: string;
2291
+ firstName: string;
2292
+ gender: string;
2293
+ hiredDate: Date;
2294
+ lastName: string;
2295
+ managerId: string;
2296
+ middleName: string;
2297
+ name: string;
2298
+ nameTitleCase: string;
2299
+ nfcSn: string;
2300
+ plantId: string;
2301
+ position: string;
2302
+ previousEmployeeIds: string | null;
2303
+ reHiredDate: Date | null;
2304
+ recordNumber: number;
2305
+ status: "Active" | "Leave of Absence" | "Terminated";
2306
+ supervisorId: string;
2307
+ terminationDate: Date | null;
2308
+ terminationFutureDate: Date | null;
2309
+ type: string;
2310
+ upperDepartmentId: string;
2311
+ jobCode: string;
2312
+ jobDescription: string;
2313
+ terminationReason: string | null;
2314
+ supervisorRecordNumber: number;
2315
+ }, Error>;
2316
+ export declare const employeeGeneralManagerQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2736
2317
  badgeId: string;
2737
2318
  category: string;
2738
2319
  categoryGroup: "FD" | "FI" | "IDL";
@@ -2843,50 +2424,45 @@ declare const employeeGeneralManagerQueryOptions: (params: z.infer<typeof Employ
2843
2424
  }, (string | {
2844
2425
  employeeId: string;
2845
2426
  })[], never> | undefined;
2846
- } & {
2847
- queryKey: (string | {
2848
- employeeId: string;
2849
- })[] & {
2850
- [dataTagSymbol]: {
2851
- badgeId: string;
2852
- category: string;
2853
- categoryGroup: "FD" | "FI" | "IDL";
2854
- companyCode: string;
2855
- contactPhone: string;
2856
- departmentId: string;
2857
- departmentDescription: string;
2858
- emailString: string | null;
2859
- employeeId: string;
2860
- extensionNumber: string;
2861
- firstName: string;
2862
- gender: string;
2863
- hiredDate: Date;
2864
- lastName: string;
2865
- managerId: string;
2866
- middleName: string;
2867
- name: string;
2868
- nameTitleCase: string;
2869
- nfcSn: string;
2870
- plantId: string;
2871
- position: string;
2872
- previousEmployeeIds: string | null;
2873
- reHiredDate: Date | null;
2874
- recordNumber: number;
2875
- status: "Active" | "Leave of Absence" | "Terminated";
2876
- supervisorId: string;
2877
- terminationDate: Date | null;
2878
- terminationFutureDate: Date | null;
2879
- type: string;
2880
- upperDepartmentId: string;
2881
- jobCode: string;
2882
- jobDescription: string;
2883
- terminationReason: string | null;
2884
- supervisorRecordNumber: number;
2885
- };
2886
- [dataTagErrorSymbol]: Error;
2887
- };
2888
- };
2889
- declare const departmentsQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2427
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
2428
+ employeeId: string;
2429
+ })[], {
2430
+ badgeId: string;
2431
+ category: string;
2432
+ categoryGroup: "FD" | "FI" | "IDL";
2433
+ companyCode: string;
2434
+ contactPhone: string;
2435
+ departmentId: string;
2436
+ departmentDescription: string;
2437
+ emailString: string | null;
2438
+ employeeId: string;
2439
+ extensionNumber: string;
2440
+ firstName: string;
2441
+ gender: string;
2442
+ hiredDate: Date;
2443
+ lastName: string;
2444
+ managerId: string;
2445
+ middleName: string;
2446
+ name: string;
2447
+ nameTitleCase: string;
2448
+ nfcSn: string;
2449
+ plantId: string;
2450
+ position: string;
2451
+ previousEmployeeIds: string | null;
2452
+ reHiredDate: Date | null;
2453
+ recordNumber: number;
2454
+ status: "Active" | "Leave of Absence" | "Terminated";
2455
+ supervisorId: string;
2456
+ terminationDate: Date | null;
2457
+ terminationFutureDate: Date | null;
2458
+ type: string;
2459
+ upperDepartmentId: string;
2460
+ jobCode: string;
2461
+ jobDescription: string;
2462
+ terminationReason: string | null;
2463
+ supervisorRecordNumber: number;
2464
+ }, Error>;
2465
+ export declare const departmentsQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2890
2466
  departmentId: string;
2891
2467
  description: string;
2892
2468
  managerId: string;
@@ -3029,60 +2605,55 @@ declare const departmentsQueryOptions: () => import("@tanstack/query-core").Omit
3029
2605
  supervisorRecordNumber: number;
3030
2606
  };
3031
2607
  }[], string[], never> | undefined;
3032
- } & {
3033
- queryKey: string[] & {
3034
- [dataTagSymbol]: {
3035
- departmentId: string;
3036
- description: string;
3037
- managerId: string;
3038
- managerRecordNumber: string;
3039
- treeLevel: number;
3040
- upperDepartmentId: string;
3041
- companyCode: string;
3042
- location: string;
3043
- salLocation: string;
3044
- plantId: string;
3045
- manager: {
3046
- badgeId: string;
3047
- category: string;
3048
- categoryGroup: "FD" | "FI" | "IDL";
3049
- companyCode: string;
3050
- contactPhone: string;
3051
- departmentId: string;
3052
- departmentDescription: string;
3053
- emailString: string | null;
3054
- employeeId: string;
3055
- extensionNumber: string;
3056
- firstName: string;
3057
- gender: string;
3058
- hiredDate: Date;
3059
- lastName: string;
3060
- managerId: string;
3061
- middleName: string;
3062
- name: string;
3063
- nameTitleCase: string;
3064
- nfcSn: string;
3065
- plantId: string;
3066
- position: string;
3067
- previousEmployeeIds: string | null;
3068
- reHiredDate: Date | null;
3069
- recordNumber: number;
3070
- status: "Active" | "Leave of Absence" | "Terminated";
3071
- supervisorId: string;
3072
- terminationDate: Date | null;
3073
- terminationFutureDate: Date | null;
3074
- type: string;
3075
- upperDepartmentId: string;
3076
- jobCode: string;
3077
- jobDescription: string;
3078
- terminationReason: string | null;
3079
- supervisorRecordNumber: number;
3080
- };
3081
- }[];
3082
- [dataTagErrorSymbol]: Error;
2608
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
2609
+ departmentId: string;
2610
+ description: string;
2611
+ managerId: string;
2612
+ managerRecordNumber: string;
2613
+ treeLevel: number;
2614
+ upperDepartmentId: string;
2615
+ companyCode: string;
2616
+ location: string;
2617
+ salLocation: string;
2618
+ plantId: string;
2619
+ manager: {
2620
+ badgeId: string;
2621
+ category: string;
2622
+ categoryGroup: "FD" | "FI" | "IDL";
2623
+ companyCode: string;
2624
+ contactPhone: string;
2625
+ departmentId: string;
2626
+ departmentDescription: string;
2627
+ emailString: string | null;
2628
+ employeeId: string;
2629
+ extensionNumber: string;
2630
+ firstName: string;
2631
+ gender: string;
2632
+ hiredDate: Date;
2633
+ lastName: string;
2634
+ managerId: string;
2635
+ middleName: string;
2636
+ name: string;
2637
+ nameTitleCase: string;
2638
+ nfcSn: string;
2639
+ plantId: string;
2640
+ position: string;
2641
+ previousEmployeeIds: string | null;
2642
+ reHiredDate: Date | null;
2643
+ recordNumber: number;
2644
+ status: "Active" | "Leave of Absence" | "Terminated";
2645
+ supervisorId: string;
2646
+ terminationDate: Date | null;
2647
+ terminationFutureDate: Date | null;
2648
+ type: string;
2649
+ upperDepartmentId: string;
2650
+ jobCode: string;
2651
+ jobDescription: string;
2652
+ terminationReason: string | null;
2653
+ supervisorRecordNumber: number;
3083
2654
  };
3084
- };
3085
- declare const departmentByIdQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2655
+ }[], Error>;
2656
+ export declare const departmentByIdQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
3086
2657
  departmentId: string;
3087
2658
  description: string;
3088
2659
  managerId: string;
@@ -3229,62 +2800,57 @@ declare const departmentByIdQueryOptions: (params: z.infer<typeof DepartmentIdSc
3229
2800
  }, (string | {
3230
2801
  departmentId: string;
3231
2802
  })[], never> | undefined;
3232
- } & {
3233
- queryKey: (string | {
2803
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
2804
+ departmentId: string;
2805
+ })[], {
2806
+ departmentId: string;
2807
+ description: string;
2808
+ managerId: string;
2809
+ managerRecordNumber: string;
2810
+ treeLevel: number;
2811
+ upperDepartmentId: string;
2812
+ companyCode: string;
2813
+ location: string;
2814
+ salLocation: string;
2815
+ plantId: string;
2816
+ manager: {
2817
+ badgeId: string;
2818
+ category: string;
2819
+ categoryGroup: "FD" | "FI" | "IDL";
2820
+ companyCode: string;
2821
+ contactPhone: string;
3234
2822
  departmentId: string;
3235
- })[] & {
3236
- [dataTagSymbol]: {
3237
- departmentId: string;
3238
- description: string;
3239
- managerId: string;
3240
- managerRecordNumber: string;
3241
- treeLevel: number;
3242
- upperDepartmentId: string;
3243
- companyCode: string;
3244
- location: string;
3245
- salLocation: string;
3246
- plantId: string;
3247
- manager: {
3248
- badgeId: string;
3249
- category: string;
3250
- categoryGroup: "FD" | "FI" | "IDL";
3251
- companyCode: string;
3252
- contactPhone: string;
3253
- departmentId: string;
3254
- departmentDescription: string;
3255
- emailString: string | null;
3256
- employeeId: string;
3257
- extensionNumber: string;
3258
- firstName: string;
3259
- gender: string;
3260
- hiredDate: Date;
3261
- lastName: string;
3262
- managerId: string;
3263
- middleName: string;
3264
- name: string;
3265
- nameTitleCase: string;
3266
- nfcSn: string;
3267
- plantId: string;
3268
- position: string;
3269
- previousEmployeeIds: string | null;
3270
- reHiredDate: Date | null;
3271
- recordNumber: number;
3272
- status: "Active" | "Leave of Absence" | "Terminated";
3273
- supervisorId: string;
3274
- terminationDate: Date | null;
3275
- terminationFutureDate: Date | null;
3276
- type: string;
3277
- upperDepartmentId: string;
3278
- jobCode: string;
3279
- jobDescription: string;
3280
- terminationReason: string | null;
3281
- supervisorRecordNumber: number;
3282
- };
3283
- };
3284
- [dataTagErrorSymbol]: Error;
2823
+ departmentDescription: string;
2824
+ emailString: string | null;
2825
+ employeeId: string;
2826
+ extensionNumber: string;
2827
+ firstName: string;
2828
+ gender: string;
2829
+ hiredDate: Date;
2830
+ lastName: string;
2831
+ managerId: string;
2832
+ middleName: string;
2833
+ name: string;
2834
+ nameTitleCase: string;
2835
+ nfcSn: string;
2836
+ plantId: string;
2837
+ position: string;
2838
+ previousEmployeeIds: string | null;
2839
+ reHiredDate: Date | null;
2840
+ recordNumber: number;
2841
+ status: "Active" | "Leave of Absence" | "Terminated";
2842
+ supervisorId: string;
2843
+ terminationDate: Date | null;
2844
+ terminationFutureDate: Date | null;
2845
+ type: string;
2846
+ upperDepartmentId: string;
2847
+ jobCode: string;
2848
+ jobDescription: string;
2849
+ terminationReason: string | null;
2850
+ supervisorRecordNumber: number;
3285
2851
  };
3286
- };
3287
- declare const departmentManagerQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2852
+ }, Error>;
2853
+ export declare const departmentManagerQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
3288
2854
  badgeId: string;
3289
2855
  category: string;
3290
2856
  categoryGroup: "FD" | "FI" | "IDL";
@@ -3395,50 +2961,45 @@ declare const departmentManagerQueryOptions: (params: z.infer<typeof DepartmentI
3395
2961
  }, (string | {
3396
2962
  departmentId: string;
3397
2963
  })[], never> | undefined;
3398
- } & {
3399
- queryKey: (string | {
3400
- departmentId: string;
3401
- })[] & {
3402
- [dataTagSymbol]: {
3403
- badgeId: string;
3404
- category: string;
3405
- categoryGroup: "FD" | "FI" | "IDL";
3406
- companyCode: string;
3407
- contactPhone: string;
3408
- departmentId: string;
3409
- departmentDescription: string;
3410
- emailString: string | null;
3411
- employeeId: string;
3412
- extensionNumber: string;
3413
- firstName: string;
3414
- gender: string;
3415
- hiredDate: Date;
3416
- lastName: string;
3417
- managerId: string;
3418
- middleName: string;
3419
- name: string;
3420
- nameTitleCase: string;
3421
- nfcSn: string;
3422
- plantId: string;
3423
- position: string;
3424
- previousEmployeeIds: string | null;
3425
- reHiredDate: Date | null;
3426
- recordNumber: number;
3427
- status: "Active" | "Leave of Absence" | "Terminated";
3428
- supervisorId: string;
3429
- terminationDate: Date | null;
3430
- terminationFutureDate: Date | null;
3431
- type: string;
3432
- upperDepartmentId: string;
3433
- jobCode: string;
3434
- jobDescription: string;
3435
- terminationReason: string | null;
3436
- supervisorRecordNumber: number;
3437
- };
3438
- [dataTagErrorSymbol]: Error;
3439
- };
3440
- };
3441
- declare const departmentEmployeesQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2964
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
2965
+ departmentId: string;
2966
+ })[], {
2967
+ badgeId: string;
2968
+ category: string;
2969
+ categoryGroup: "FD" | "FI" | "IDL";
2970
+ companyCode: string;
2971
+ contactPhone: string;
2972
+ departmentId: string;
2973
+ departmentDescription: string;
2974
+ emailString: string | null;
2975
+ employeeId: string;
2976
+ extensionNumber: string;
2977
+ firstName: string;
2978
+ gender: string;
2979
+ hiredDate: Date;
2980
+ lastName: string;
2981
+ managerId: string;
2982
+ middleName: string;
2983
+ name: string;
2984
+ nameTitleCase: string;
2985
+ nfcSn: string;
2986
+ plantId: string;
2987
+ position: string;
2988
+ previousEmployeeIds: string | null;
2989
+ reHiredDate: Date | null;
2990
+ recordNumber: number;
2991
+ status: "Active" | "Leave of Absence" | "Terminated";
2992
+ supervisorId: string;
2993
+ terminationDate: Date | null;
2994
+ terminationFutureDate: Date | null;
2995
+ type: string;
2996
+ upperDepartmentId: string;
2997
+ jobCode: string;
2998
+ jobDescription: string;
2999
+ terminationReason: string | null;
3000
+ supervisorRecordNumber: number;
3001
+ }, Error>;
3002
+ export declare const departmentEmployeesQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
3442
3003
  badgeId: string;
3443
3004
  category: string;
3444
3005
  categoryGroup: "FD" | "FI" | "IDL";
@@ -3549,50 +3110,45 @@ declare const departmentEmployeesQueryOptions: (params: z.infer<typeof Departmen
3549
3110
  }[], (string | {
3550
3111
  departmentId: string;
3551
3112
  })[], never> | undefined;
3552
- } & {
3553
- queryKey: (string | {
3554
- departmentId: string;
3555
- })[] & {
3556
- [dataTagSymbol]: {
3557
- badgeId: string;
3558
- category: string;
3559
- categoryGroup: "FD" | "FI" | "IDL";
3560
- companyCode: string;
3561
- contactPhone: string;
3562
- departmentId: string;
3563
- departmentDescription: string;
3564
- emailString: string | null;
3565
- employeeId: string;
3566
- extensionNumber: string;
3567
- firstName: string;
3568
- gender: string;
3569
- hiredDate: Date;
3570
- lastName: string;
3571
- managerId: string;
3572
- middleName: string;
3573
- name: string;
3574
- nameTitleCase: string;
3575
- nfcSn: string;
3576
- plantId: string;
3577
- position: string;
3578
- previousEmployeeIds: string | null;
3579
- reHiredDate: Date | null;
3580
- recordNumber: number;
3581
- status: "Active" | "Leave of Absence" | "Terminated";
3582
- supervisorId: string;
3583
- terminationDate: Date | null;
3584
- terminationFutureDate: Date | null;
3585
- type: string;
3586
- upperDepartmentId: string;
3587
- jobCode: string;
3588
- jobDescription: string;
3589
- terminationReason: string | null;
3590
- supervisorRecordNumber: number;
3591
- }[];
3592
- [dataTagErrorSymbol]: Error;
3593
- };
3594
- };
3595
- declare const companyGeneralManagerQueryOptions: (params: z.infer<typeof CompanyCodeSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
3113
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
3114
+ departmentId: string;
3115
+ })[], {
3116
+ badgeId: string;
3117
+ category: string;
3118
+ categoryGroup: "FD" | "FI" | "IDL";
3119
+ companyCode: string;
3120
+ contactPhone: string;
3121
+ departmentId: string;
3122
+ departmentDescription: string;
3123
+ emailString: string | null;
3124
+ employeeId: string;
3125
+ extensionNumber: string;
3126
+ firstName: string;
3127
+ gender: string;
3128
+ hiredDate: Date;
3129
+ lastName: string;
3130
+ managerId: string;
3131
+ middleName: string;
3132
+ name: string;
3133
+ nameTitleCase: string;
3134
+ nfcSn: string;
3135
+ plantId: string;
3136
+ position: string;
3137
+ previousEmployeeIds: string | null;
3138
+ reHiredDate: Date | null;
3139
+ recordNumber: number;
3140
+ status: "Active" | "Leave of Absence" | "Terminated";
3141
+ supervisorId: string;
3142
+ terminationDate: Date | null;
3143
+ terminationFutureDate: Date | null;
3144
+ type: string;
3145
+ upperDepartmentId: string;
3146
+ jobCode: string;
3147
+ jobDescription: string;
3148
+ terminationReason: string | null;
3149
+ supervisorRecordNumber: number;
3150
+ }[], Error>;
3151
+ export declare const companyGeneralManagerQueryOptions: (params: z.infer<typeof CompanyCodeSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
3596
3152
  badgeId: string;
3597
3153
  category: string;
3598
3154
  categoryGroup: "FD" | "FI" | "IDL";
@@ -3703,49 +3259,43 @@ declare const companyGeneralManagerQueryOptions: (params: z.infer<typeof Company
3703
3259
  }, (string | {
3704
3260
  companyCode: string;
3705
3261
  })[], never> | undefined;
3706
- } & {
3707
- queryKey: (string | {
3708
- companyCode: string;
3709
- })[] & {
3710
- [dataTagSymbol]: {
3711
- badgeId: string;
3712
- category: string;
3713
- categoryGroup: "FD" | "FI" | "IDL";
3714
- companyCode: string;
3715
- contactPhone: string;
3716
- departmentId: string;
3717
- departmentDescription: string;
3718
- emailString: string | null;
3719
- employeeId: string;
3720
- extensionNumber: string;
3721
- firstName: string;
3722
- gender: string;
3723
- hiredDate: Date;
3724
- lastName: string;
3725
- managerId: string;
3726
- middleName: string;
3727
- name: string;
3728
- nameTitleCase: string;
3729
- nfcSn: string;
3730
- plantId: string;
3731
- position: string;
3732
- previousEmployeeIds: string | null;
3733
- reHiredDate: Date | null;
3734
- recordNumber: number;
3735
- status: "Active" | "Leave of Absence" | "Terminated";
3736
- supervisorId: string;
3737
- terminationDate: Date | null;
3738
- terminationFutureDate: Date | null;
3739
- type: string;
3740
- upperDepartmentId: string;
3741
- jobCode: string;
3742
- jobDescription: string;
3743
- terminationReason: string | null;
3744
- supervisorRecordNumber: number;
3745
- };
3746
- [dataTagErrorSymbol]: Error;
3747
- };
3748
- };
3262
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
3263
+ companyCode: string;
3264
+ })[], {
3265
+ badgeId: string;
3266
+ category: string;
3267
+ categoryGroup: "FD" | "FI" | "IDL";
3268
+ companyCode: string;
3269
+ contactPhone: string;
3270
+ departmentId: string;
3271
+ departmentDescription: string;
3272
+ emailString: string | null;
3273
+ employeeId: string;
3274
+ extensionNumber: string;
3275
+ firstName: string;
3276
+ gender: string;
3277
+ hiredDate: Date;
3278
+ lastName: string;
3279
+ managerId: string;
3280
+ middleName: string;
3281
+ name: string;
3282
+ nameTitleCase: string;
3283
+ nfcSn: string;
3284
+ plantId: string;
3285
+ position: string;
3286
+ previousEmployeeIds: string | null;
3287
+ reHiredDate: Date | null;
3288
+ recordNumber: number;
3289
+ status: "Active" | "Leave of Absence" | "Terminated";
3290
+ supervisorId: string;
3291
+ terminationDate: Date | null;
3292
+ terminationFutureDate: Date | null;
3293
+ type: string;
3294
+ upperDepartmentId: string;
3295
+ jobCode: string;
3296
+ jobDescription: string;
3297
+ terminationReason: string | null;
3298
+ supervisorRecordNumber: number;
3299
+ }, Error>;
3749
3300
  //#endregion
3750
- export { activeEmployeesQueryOptions, approvalQueryOptions, approvalsQueryOptions, approveApprovalMutationOptions, batchDeleteFilesMutationOptions, cancelApprovalMutationOptions, companyGeneralManagerQueryOptions, createApprovalMutationOptions, deleteFileMutationOptions, departmentByIdQueryOptions, departmentEmployeesQueryOptions, departmentManagerQueryOptions, departmentsQueryOptions, downloadFileMutationOptions, employeeByEmployeeIdQueryOptions, employeeGeneralManagerQueryOptions, employeeManagerQueryOptions, employeeSubordinatesQueryOptions, employeeSupervisorQueryOptions, employeesQueryOptions, fileMetasQueryOptions, fileQueryOptions, fileThumbnailQueryOptions, getActiveEmployees, getCompanyGeneralManager, getDepartmentById, getDepartmentEmployees, getDepartmentManager, getDepartments, getEmployeeByEmployeeId, getEmployeeGeneralManager, getEmployeeManager, getEmployeeSubordinates, getEmployeeSupervisor, getEmployees, getPreviousEmployeeIds, openFileMutationOptions, previousEmployeeIdsQueryOptions, resubmitApprovalMutationOptions, searchEmployees, searchEmployeesQueryOptions, updateFileMetaMutationOptions, uploadFileMutationOptions, withdrawApprovalMutationOptions };
3751
3301
  //# sourceMappingURL=client.d.mts.map