wcz-layout 9.6.6 → 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 (94) 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 +792 -145
  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 +703 -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-BTFDDalH.mjs → file-CZwQfvTU.mjs} +8 -27
  28. package/dist/file-CZwQfvTU.mjs.map +1 -0
  29. package/dist/{file-CuvAmdJW.mjs → file-aSQto2rw.mjs} +7 -9
  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 +29 -9
  35. package/dist/index.mjs +1257 -499
  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-D4w8d4s1.d.mts → peoplesoft-BY_75WTS.d.mts} +3 -2
  43. package/dist/{peoplesoft-DGdM1bws.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 +128 -127
  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 +125 -94
  63. package/skills/general/references/exports.md +106 -0
  64. package/skills/migrations/SKILL.md +57 -0
  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 +34 -31
  69. package/skills/services/docs/approval.md +2 -2
  70. package/skills/services/docs/peoplesoft.md +1 -1
  71. package/skills/start/SKILL.md +51 -47
  72. package/skills/start/steps/01-git-setup.md +0 -1
  73. package/skills/start/steps/04-wicop-setup.md +105 -80
  74. package/skills/start/steps/05-database-setup.md +13 -5
  75. package/skills/start/steps/06-entra-setup.md +96 -98
  76. package/skills/start/steps/07-vault-setup.md +57 -24
  77. package/skills/table/SKILL.md +275 -0
  78. package/skills/unslop/SKILL.md +80 -0
  79. package/dist/NotificationContext-CgwUOeW0.mjs +0 -7
  80. package/dist/NotificationContext-CgwUOeW0.mjs.map +0 -1
  81. package/dist/authMiddleware-DPly0b_T.mjs +0 -48
  82. package/dist/authMiddleware-DPly0b_T.mjs.map +0 -1
  83. package/dist/entra-CJSyeQsx.mjs +0 -109
  84. package/dist/entra-CJSyeQsx.mjs.map +0 -1
  85. package/dist/file-BTFDDalH.mjs.map +0 -1
  86. package/dist/file-CuvAmdJW.mjs.map +0 -1
  87. package/dist/msalServer-DLwA7_ta.mjs +0 -30
  88. package/dist/msalServer-DLwA7_ta.mjs.map +0 -1
  89. package/dist/peoplesoft-DGdM1bws.mjs.map +0 -1
  90. package/dist/useDialogs-BUzVrTSP.mjs +0 -248
  91. package/dist/useDialogs-BUzVrTSP.mjs.map +0 -1
  92. package/dist/user-Dzv0N9fj.d.mts +0 -16
  93. package/dist/utils-DjdexspV.mjs.map +0 -1
  94. package/skills/data-grid/SKILL.md +0 -142
@@ -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-D4w8d4s1.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,16 @@ 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, {
99
+ id?: string | undefined;
114
100
  appName: string;
115
101
  subId: string;
116
102
  file: File;
@@ -119,7 +105,7 @@ declare const uploadFileMutationOptions: ({ queryClient }: QueryClientParam) =>
119
105
  }, unknown>, "mutationKey">;
120
106
  //#endregion
121
107
  //#region src/data/client/approval.d.ts
122
- 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<{
123
109
  id: string;
124
110
  number?: string | undefined;
125
111
  applicationName: string;
@@ -323,82 +309,77 @@ declare const approvalsQueryOptions: (params: z$1.input<typeof GetApprovalsSchem
323
309
  approverEmployeeId?: string | undefined;
324
310
  stepResult?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
325
311
  })[], never> | undefined;
326
- } & {
327
- queryKey: (string | {
328
- appName: string;
329
- status?: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn" | undefined;
330
- approverEmployeeId?: string | undefined;
331
- stepResult?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
332
- })[] & {
333
- [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: {
334
342
  id: string;
335
- number?: string | undefined;
336
- applicationName: string;
337
- type?: "Batch" | "Single" | undefined;
338
- status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
339
- created: Date;
340
- createdBy: {
343
+ order: number;
344
+ approverRole?: string | undefined;
345
+ approver: {
341
346
  employeeId: string;
342
347
  name: string;
343
348
  email: string;
344
349
  };
345
- updated?: Date | undefined;
346
- updatedBy?: {
350
+ actualApprover?: {
347
351
  employeeId: string;
348
352
  name: string;
349
353
  email: string;
350
354
  } | undefined;
351
- approvalFlows: {
352
- id: string;
353
- approvalStage: number;
354
- batchSequence?: number | undefined;
355
- approvalSequence: number;
356
- stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
357
- steps: {
358
- id: string;
359
- order: number;
360
- approverRole?: string | undefined;
361
- approver: {
362
- employeeId: string;
363
- name: string;
364
- email: string;
365
- };
366
- actualApprover?: {
367
- employeeId: string;
368
- name: string;
369
- email: string;
370
- } | undefined;
371
- result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
372
- resultDate?: Date | undefined;
373
- resultComment?: string | undefined;
374
- }[];
375
- isActive?: boolean | undefined;
376
- }[];
377
- currentApprovers: {
378
- employeeId: string;
379
- name: string;
380
- email: string;
381
- }[];
382
- coRequestors?: {
383
- id: string;
384
- principal: {
385
- role: string;
386
- email: string;
387
- } | {
388
- employeeId: string;
389
- name: string;
390
- email: string;
391
- };
392
- permissions: {
393
- withdraw?: boolean | undefined;
394
- cancel?: boolean | undefined;
395
- };
396
- }[] | undefined;
355
+ result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
356
+ resultDate?: Date | undefined;
357
+ resultComment?: string | undefined;
397
358
  }[];
398
- [dataTagErrorSymbol]: Error;
399
- };
400
- };
401
- 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<{
402
383
  id: string;
403
384
  number?: string | undefined;
404
385
  applicationName: string;
@@ -596,79 +577,74 @@ declare const approvalQueryOptions: (params: z$1.input<typeof GetApprovalSchema>
596
577
  }, (string | {
597
578
  id: string;
598
579
  })[], never> | undefined;
599
- } & {
600
- 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: {
601
601
  id: string;
602
- })[] & {
603
- [dataTagSymbol]: {
602
+ approvalStage: number;
603
+ batchSequence?: number | undefined;
604
+ approvalSequence: number;
605
+ stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
606
+ steps: {
604
607
  id: string;
605
- number?: string | undefined;
606
- applicationName: string;
607
- type?: "Batch" | "Single" | undefined;
608
- status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
609
- created: Date;
610
- createdBy: {
608
+ order: number;
609
+ approverRole?: string | undefined;
610
+ approver: {
611
611
  employeeId: string;
612
612
  name: string;
613
613
  email: string;
614
614
  };
615
- updated?: Date | undefined;
616
- updatedBy?: {
615
+ actualApprover?: {
617
616
  employeeId: string;
618
617
  name: string;
619
618
  email: string;
620
619
  } | undefined;
621
- approvalFlows: {
622
- id: string;
623
- approvalStage: number;
624
- batchSequence?: number | undefined;
625
- approvalSequence: number;
626
- stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
627
- steps: {
628
- id: string;
629
- order: number;
630
- approverRole?: string | undefined;
631
- approver: {
632
- employeeId: string;
633
- name: string;
634
- email: string;
635
- };
636
- actualApprover?: {
637
- employeeId: string;
638
- name: string;
639
- email: string;
640
- } | undefined;
641
- result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
642
- resultDate?: Date | undefined;
643
- resultComment?: string | undefined;
644
- }[];
645
- isActive?: boolean | undefined;
646
- }[];
647
- currentApprovers: {
648
- employeeId: string;
649
- name: string;
650
- email: string;
651
- }[];
652
- coRequestors?: {
653
- id: string;
654
- principal: {
655
- role: string;
656
- email: string;
657
- } | {
658
- employeeId: string;
659
- name: string;
660
- email: string;
661
- };
662
- permissions: {
663
- withdraw?: boolean | undefined;
664
- cancel?: boolean | undefined;
665
- };
666
- }[] | 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;
667
640
  };
668
- [dataTagErrorSymbol]: Error;
669
- };
670
- };
671
- 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<{
672
648
  id: string;
673
649
  number?: string | undefined;
674
650
  applicationName: string;
@@ -807,7 +783,7 @@ declare const createApprovalMutationOptions: ({ queryClient }: QueryClientParam)
807
783
  };
808
784
  }[] | undefined;
809
785
  }, unknown>, "mutationKey">;
810
- declare const approveApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
786
+ export declare const approveApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
811
787
  id: string;
812
788
  number?: string | undefined;
813
789
  applicationName: string;
@@ -877,7 +853,7 @@ declare const approveApprovalMutationOptions: ({ queryClient }: QueryClientParam
877
853
  resultComment?: string | undefined;
878
854
  emailBody: string;
879
855
  }, unknown>, "mutationKey">;
880
- declare const resubmitApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
856
+ export declare const resubmitApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
881
857
  id: string;
882
858
  number?: string | undefined;
883
859
  applicationName: string;
@@ -957,19 +933,19 @@ declare const resubmitApprovalMutationOptions: ({ queryClient }: QueryClientPara
957
933
  }[];
958
934
  }[];
959
935
  }, unknown>, "mutationKey">;
960
- 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, {
961
937
  id: string;
962
938
  comment: string;
963
939
  emailBody: string;
964
940
  }, unknown>, "mutationKey">;
965
- 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, {
966
942
  id: string;
967
943
  comment: string;
968
944
  emailBody: string;
969
945
  }, unknown>, "mutationKey">;
970
946
  //#endregion
971
947
  //#region src/data/client/peoplesoft.d.ts
972
- 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<{
973
949
  searchTerm: z.ZodString;
974
950
  }, z.core.$strip>, Promise<{
975
951
  badgeId: string;
@@ -1007,7 +983,7 @@ declare const searchEmployees: import("@tanstack/start-client-core").RequiredFet
1007
983
  terminationReason: string | null;
1008
984
  supervisorRecordNumber: number;
1009
985
  }[]>>;
1010
- 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<{
1011
987
  badgeId: string;
1012
988
  category: string;
1013
989
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1043,7 +1019,7 @@ declare const getEmployees: import("@tanstack/start-client-core").OptionalFetche
1043
1019
  terminationReason: string | null;
1044
1020
  supervisorRecordNumber: number;
1045
1021
  }[]>>;
1046
- 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<{
1047
1023
  badgeId: string;
1048
1024
  category: string;
1049
1025
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1079,9 +1055,7 @@ declare const getActiveEmployees: import("@tanstack/start-client-core").Optional
1079
1055
  terminationReason: string | null;
1080
1056
  supervisorRecordNumber: number;
1081
1057
  }[]>>;
1082
- declare const getEmployeeByEmployeeId: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1083
- employeeId: z.ZodString;
1084
- }, z.core.$strip>, Promise<{
1058
+ export declare const getPreviousEmployeeIds: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
1085
1059
  badgeId: string;
1086
1060
  category: string;
1087
1061
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1116,46 +1090,56 @@ declare const getEmployeeByEmployeeId: import("@tanstack/start-client-core").Req
1116
1090
  jobDescription: string;
1117
1091
  terminationReason: string | null;
1118
1092
  supervisorRecordNumber: number;
1119
- }>>;
1120
- declare const getPreviousEmployeeIds: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
1121
- badgeId: string;
1122
- category: string;
1123
- categoryGroup: "FD" | "FI" | "IDL";
1124
- companyCode: string;
1125
- contactPhone: string;
1093
+ }[]>>;
1094
+ export declare const getDepartments: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
1126
1095
  departmentId: string;
1127
- departmentDescription: string;
1128
- emailString: string | null;
1129
- employeeId: string;
1130
- extensionNumber: string;
1131
- firstName: string;
1132
- gender: string;
1133
- hiredDate: Date;
1134
- lastName: string;
1096
+ description: string;
1135
1097
  managerId: string;
1136
- middleName: string;
1137
- name: string;
1138
- nameTitleCase: string;
1139
- nfcSn: string;
1140
- plantId: string;
1141
- position: string;
1142
- previousEmployeeIds: string | null;
1143
- reHiredDate: Date | null;
1144
- recordNumber: number;
1145
- status: "Active" | "Leave of Absence" | "Terminated";
1146
- supervisorId: string;
1147
- terminationDate: Date | null;
1148
- terminationFutureDate: Date | null;
1149
- type: string;
1098
+ managerRecordNumber: string;
1099
+ treeLevel: number;
1150
1100
  upperDepartmentId: string;
1151
- jobCode: string;
1152
- jobDescription: string;
1153
- terminationReason: string | null;
1154
- 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
+ };
1155
1141
  }[]>>;
1156
- declare const getEmployeeSupervisor: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1157
- employeeId: z.ZodString;
1158
- }, z.core.$strip>, Promise<{
1142
+ export declare const searchEmployeesQueryOptions: (params: z.infer<typeof SearchEmployeesSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1159
1143
  badgeId: string;
1160
1144
  category: string;
1161
1145
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1190,10 +1174,7 @@ declare const getEmployeeSupervisor: import("@tanstack/start-client-core").Requi
1190
1174
  jobDescription: string;
1191
1175
  terminationReason: string | null;
1192
1176
  supervisorRecordNumber: number;
1193
- }>>;
1194
- declare const getEmployeeSubordinates: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1195
- employeeId: z.ZodString;
1196
- }, z.core.$strip>, Promise<{
1177
+ }[], Error, {
1197
1178
  badgeId: string;
1198
1179
  category: string;
1199
1180
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1228,145 +1209,10 @@ declare const getEmployeeSubordinates: import("@tanstack/start-client-core").Req
1228
1209
  jobDescription: string;
1229
1210
  terminationReason: string | null;
1230
1211
  supervisorRecordNumber: number;
1231
- }[]>>;
1232
- declare const getEmployeeManager: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1233
- employeeId: z.ZodString;
1234
- }, z.core.$strip>, Promise<{
1235
- badgeId: string;
1236
- category: string;
1237
- categoryGroup: "FD" | "FI" | "IDL";
1238
- companyCode: string;
1239
- contactPhone: string;
1240
- departmentId: string;
1241
- departmentDescription: string;
1242
- emailString: string | null;
1243
- employeeId: string;
1244
- extensionNumber: string;
1245
- firstName: string;
1246
- gender: string;
1247
- hiredDate: Date;
1248
- lastName: string;
1249
- managerId: string;
1250
- middleName: string;
1251
- name: string;
1252
- nameTitleCase: string;
1253
- nfcSn: string;
1254
- plantId: string;
1255
- position: string;
1256
- previousEmployeeIds: string | null;
1257
- reHiredDate: Date | null;
1258
- recordNumber: number;
1259
- status: "Active" | "Leave of Absence" | "Terminated";
1260
- supervisorId: string;
1261
- terminationDate: Date | null;
1262
- terminationFutureDate: Date | null;
1263
- type: string;
1264
- upperDepartmentId: string;
1265
- jobCode: string;
1266
- jobDescription: string;
1267
- terminationReason: string | null;
1268
- supervisorRecordNumber: number;
1269
- }>>;
1270
- declare const getEmployeeGeneralManager: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1271
- employeeId: z.ZodString;
1272
- }, z.core.$strip>, Promise<{
1273
- badgeId: string;
1274
- category: string;
1275
- categoryGroup: "FD" | "FI" | "IDL";
1276
- companyCode: string;
1277
- contactPhone: string;
1278
- departmentId: string;
1279
- departmentDescription: string;
1280
- emailString: string | null;
1281
- employeeId: string;
1282
- extensionNumber: string;
1283
- firstName: string;
1284
- gender: string;
1285
- hiredDate: Date;
1286
- lastName: string;
1287
- managerId: string;
1288
- middleName: string;
1289
- name: string;
1290
- nameTitleCase: string;
1291
- nfcSn: string;
1292
- plantId: string;
1293
- position: string;
1294
- previousEmployeeIds: string | null;
1295
- reHiredDate: Date | null;
1296
- recordNumber: number;
1297
- status: "Active" | "Leave of Absence" | "Terminated";
1298
- supervisorId: string;
1299
- terminationDate: Date | null;
1300
- terminationFutureDate: Date | null;
1301
- type: string;
1302
- upperDepartmentId: string;
1303
- jobCode: string;
1304
- jobDescription: string;
1305
- terminationReason: string | null;
1306
- supervisorRecordNumber: number;
1307
- }>>;
1308
- declare const getDepartments: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
1309
- departmentId: string;
1310
- description: string;
1311
- managerId: string;
1312
- managerRecordNumber: string;
1313
- treeLevel: number;
1314
- upperDepartmentId: string;
1315
- companyCode: string;
1316
- location: string;
1317
- salLocation: string;
1318
- plantId: string;
1319
- manager: {
1320
- badgeId: string;
1321
- category: string;
1322
- categoryGroup: "FD" | "FI" | "IDL";
1323
- companyCode: string;
1324
- contactPhone: string;
1325
- departmentId: string;
1326
- departmentDescription: string;
1327
- emailString: string | null;
1328
- employeeId: string;
1329
- extensionNumber: string;
1330
- firstName: string;
1331
- gender: string;
1332
- hiredDate: Date;
1333
- lastName: string;
1334
- managerId: string;
1335
- middleName: string;
1336
- name: string;
1337
- nameTitleCase: string;
1338
- nfcSn: string;
1339
- plantId: string;
1340
- position: string;
1341
- previousEmployeeIds: string | null;
1342
- reHiredDate: Date | null;
1343
- recordNumber: number;
1344
- status: "Active" | "Leave of Absence" | "Terminated";
1345
- supervisorId: string;
1346
- terminationDate: Date | null;
1347
- terminationFutureDate: Date | null;
1348
- type: string;
1349
- upperDepartmentId: string;
1350
- jobCode: string;
1351
- jobDescription: string;
1352
- terminationReason: string | null;
1353
- supervisorRecordNumber: number;
1354
- };
1355
- }[]>>;
1356
- declare const getDepartmentById: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1357
- departmentId: z.ZodString;
1358
- }, z.core.$strip>, Promise<{
1359
- departmentId: string;
1360
- description: string;
1361
- managerId: string;
1362
- managerRecordNumber: string;
1363
- treeLevel: number;
1364
- upperDepartmentId: string;
1365
- companyCode: string;
1366
- location: string;
1367
- salLocation: string;
1368
- plantId: string;
1369
- manager: {
1212
+ }[], (string | {
1213
+ searchTerm: string;
1214
+ })[]>, "queryFn"> & {
1215
+ queryFn?: import("@tanstack/query-core").QueryFunction<{
1370
1216
  badgeId: string;
1371
1217
  category: string;
1372
1218
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1401,87 +1247,12 @@ declare const getDepartmentById: import("@tanstack/start-client-core").RequiredF
1401
1247
  jobDescription: string;
1402
1248
  terminationReason: string | null;
1403
1249
  supervisorRecordNumber: number;
1404
- };
1405
- }>>;
1406
- declare const getDepartmentManager: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1407
- departmentId: z.ZodString;
1408
- }, z.core.$strip>, Promise<{
1409
- badgeId: string;
1410
- category: string;
1411
- categoryGroup: "FD" | "FI" | "IDL";
1412
- companyCode: string;
1413
- contactPhone: string;
1414
- departmentId: string;
1415
- departmentDescription: string;
1416
- emailString: string | null;
1417
- employeeId: string;
1418
- extensionNumber: string;
1419
- firstName: string;
1420
- gender: string;
1421
- hiredDate: Date;
1422
- lastName: string;
1423
- managerId: string;
1424
- middleName: string;
1425
- name: string;
1426
- nameTitleCase: string;
1427
- nfcSn: string;
1428
- plantId: string;
1429
- position: string;
1430
- previousEmployeeIds: string | null;
1431
- reHiredDate: Date | null;
1432
- recordNumber: number;
1433
- status: "Active" | "Leave of Absence" | "Terminated";
1434
- supervisorId: string;
1435
- terminationDate: Date | null;
1436
- terminationFutureDate: Date | null;
1437
- type: string;
1438
- upperDepartmentId: string;
1439
- jobCode: string;
1440
- jobDescription: string;
1441
- terminationReason: string | null;
1442
- supervisorRecordNumber: number;
1443
- }>>;
1444
- declare const getDepartmentEmployees: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1445
- departmentId: z.ZodString;
1446
- }, z.core.$strip>, Promise<{
1447
- badgeId: string;
1448
- category: string;
1449
- categoryGroup: "FD" | "FI" | "IDL";
1450
- companyCode: string;
1451
- contactPhone: string;
1452
- departmentId: string;
1453
- departmentDescription: string;
1454
- emailString: string | null;
1455
- employeeId: string;
1456
- extensionNumber: string;
1457
- firstName: string;
1458
- gender: string;
1459
- hiredDate: Date;
1460
- lastName: string;
1461
- managerId: string;
1462
- middleName: string;
1463
- name: string;
1464
- nameTitleCase: string;
1465
- nfcSn: string;
1466
- plantId: string;
1467
- position: string;
1468
- previousEmployeeIds: string | null;
1469
- reHiredDate: Date | null;
1470
- recordNumber: number;
1471
- status: "Active" | "Leave of Absence" | "Terminated";
1472
- supervisorId: string;
1473
- terminationDate: Date | null;
1474
- terminationFutureDate: Date | null;
1475
- type: string;
1476
- upperDepartmentId: string;
1477
- jobCode: string;
1478
- jobDescription: string;
1479
- terminationReason: string | null;
1480
- supervisorRecordNumber: number;
1481
- }[]>>;
1482
- declare const getCompanyGeneralManager: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
1483
- companyCode: z.ZodString;
1484
- }, z.core.$strip>, Promise<{
1250
+ }[], (string | {
1251
+ searchTerm: string;
1252
+ })[], never> | undefined;
1253
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
1254
+ searchTerm: string;
1255
+ })[], {
1485
1256
  badgeId: string;
1486
1257
  category: string;
1487
1258
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1516,8 +1287,8 @@ declare const getCompanyGeneralManager: import("@tanstack/start-client-core").Re
1516
1287
  jobDescription: string;
1517
1288
  terminationReason: string | null;
1518
1289
  supervisorRecordNumber: number;
1519
- }>>;
1520
- 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<{
1521
1292
  badgeId: string;
1522
1293
  category: string;
1523
1294
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1587,9 +1358,7 @@ declare const searchEmployeesQueryOptions: (params: z.infer<typeof SearchEmploye
1587
1358
  jobDescription: string;
1588
1359
  terminationReason: string | null;
1589
1360
  supervisorRecordNumber: number;
1590
- }[], (string | {
1591
- searchTerm: string;
1592
- })[]>, "queryFn"> & {
1361
+ }[], string[]>, "queryFn"> & {
1593
1362
  queryFn?: import("@tanstack/query-core").QueryFunction<{
1594
1363
  badgeId: string;
1595
1364
  category: string;
@@ -1625,88 +1394,8 @@ declare const searchEmployeesQueryOptions: (params: z.infer<typeof SearchEmploye
1625
1394
  jobDescription: string;
1626
1395
  terminationReason: string | null;
1627
1396
  supervisorRecordNumber: number;
1628
- }[], (string | {
1629
- searchTerm: string;
1630
- })[], never> | undefined;
1631
- } & {
1632
- queryKey: (string | {
1633
- searchTerm: string;
1634
- })[] & {
1635
- [dataTagSymbol]: {
1636
- badgeId: string;
1637
- category: string;
1638
- categoryGroup: "FD" | "FI" | "IDL";
1639
- companyCode: string;
1640
- contactPhone: string;
1641
- departmentId: string;
1642
- departmentDescription: string;
1643
- emailString: string | null;
1644
- employeeId: string;
1645
- extensionNumber: string;
1646
- firstName: string;
1647
- gender: string;
1648
- hiredDate: Date;
1649
- lastName: string;
1650
- managerId: string;
1651
- middleName: string;
1652
- name: string;
1653
- nameTitleCase: string;
1654
- nfcSn: string;
1655
- plantId: string;
1656
- position: string;
1657
- previousEmployeeIds: string | null;
1658
- reHiredDate: Date | null;
1659
- recordNumber: number;
1660
- status: "Active" | "Leave of Absence" | "Terminated";
1661
- supervisorId: string;
1662
- terminationDate: Date | null;
1663
- terminationFutureDate: Date | null;
1664
- type: string;
1665
- upperDepartmentId: string;
1666
- jobCode: string;
1667
- jobDescription: string;
1668
- terminationReason: string | null;
1669
- supervisorRecordNumber: number;
1670
- }[];
1671
- [dataTagErrorSymbol]: Error;
1672
- };
1673
- };
1674
- declare const employeesQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1675
- badgeId: string;
1676
- category: string;
1677
- categoryGroup: "FD" | "FI" | "IDL";
1678
- companyCode: string;
1679
- contactPhone: string;
1680
- departmentId: string;
1681
- departmentDescription: string;
1682
- emailString: string | null;
1683
- employeeId: string;
1684
- extensionNumber: string;
1685
- firstName: string;
1686
- gender: string;
1687
- hiredDate: Date;
1688
- lastName: string;
1689
- managerId: string;
1690
- middleName: string;
1691
- name: string;
1692
- nameTitleCase: string;
1693
- nfcSn: string;
1694
- plantId: string;
1695
- position: string;
1696
- previousEmployeeIds: string | null;
1697
- reHiredDate: Date | null;
1698
- recordNumber: number;
1699
- status: "Active" | "Leave of Absence" | "Terminated";
1700
- supervisorId: string;
1701
- terminationDate: Date | null;
1702
- terminationFutureDate: Date | null;
1703
- type: string;
1704
- upperDepartmentId: string;
1705
- jobCode: string;
1706
- jobDescription: string;
1707
- terminationReason: string | null;
1708
- supervisorRecordNumber: number;
1709
- }[], Error, {
1397
+ }[], string[], never> | undefined;
1398
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
1710
1399
  badgeId: string;
1711
1400
  category: string;
1712
1401
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1741,85 +1430,8 @@ declare const employeesQueryOptions: () => import("@tanstack/query-core").OmitKe
1741
1430
  jobDescription: string;
1742
1431
  terminationReason: string | null;
1743
1432
  supervisorRecordNumber: number;
1744
- }[], string[]>, "queryFn"> & {
1745
- queryFn?: import("@tanstack/query-core").QueryFunction<{
1746
- badgeId: string;
1747
- category: string;
1748
- categoryGroup: "FD" | "FI" | "IDL";
1749
- companyCode: string;
1750
- contactPhone: string;
1751
- departmentId: string;
1752
- departmentDescription: string;
1753
- emailString: string | null;
1754
- employeeId: string;
1755
- extensionNumber: string;
1756
- firstName: string;
1757
- gender: string;
1758
- hiredDate: Date;
1759
- lastName: string;
1760
- managerId: string;
1761
- middleName: string;
1762
- name: string;
1763
- nameTitleCase: string;
1764
- nfcSn: string;
1765
- plantId: string;
1766
- position: string;
1767
- previousEmployeeIds: string | null;
1768
- reHiredDate: Date | null;
1769
- recordNumber: number;
1770
- status: "Active" | "Leave of Absence" | "Terminated";
1771
- supervisorId: string;
1772
- terminationDate: Date | null;
1773
- terminationFutureDate: Date | null;
1774
- type: string;
1775
- upperDepartmentId: string;
1776
- jobCode: string;
1777
- jobDescription: string;
1778
- terminationReason: string | null;
1779
- supervisorRecordNumber: number;
1780
- }[], string[], never> | undefined;
1781
- } & {
1782
- queryKey: string[] & {
1783
- [dataTagSymbol]: {
1784
- badgeId: string;
1785
- category: string;
1786
- categoryGroup: "FD" | "FI" | "IDL";
1787
- companyCode: string;
1788
- contactPhone: string;
1789
- departmentId: string;
1790
- departmentDescription: string;
1791
- emailString: string | null;
1792
- employeeId: string;
1793
- extensionNumber: string;
1794
- firstName: string;
1795
- gender: string;
1796
- hiredDate: Date;
1797
- lastName: string;
1798
- managerId: string;
1799
- middleName: string;
1800
- name: string;
1801
- nameTitleCase: string;
1802
- nfcSn: string;
1803
- plantId: string;
1804
- position: string;
1805
- previousEmployeeIds: string | null;
1806
- reHiredDate: Date | null;
1807
- recordNumber: number;
1808
- status: "Active" | "Leave of Absence" | "Terminated";
1809
- supervisorId: string;
1810
- terminationDate: Date | null;
1811
- terminationFutureDate: Date | null;
1812
- type: string;
1813
- upperDepartmentId: string;
1814
- jobCode: string;
1815
- jobDescription: string;
1816
- terminationReason: string | null;
1817
- supervisorRecordNumber: number;
1818
- }[];
1819
- [dataTagErrorSymbol]: Error;
1820
- };
1821
- };
1822
- 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<{
1823
1435
  badgeId: string;
1824
1436
  category: string;
1825
1437
  categoryGroup: "FD" | "FI" | "IDL";
@@ -1926,48 +1538,43 @@ declare const activeEmployeesQueryOptions: () => import("@tanstack/query-core").
1926
1538
  terminationReason: string | null;
1927
1539
  supervisorRecordNumber: number;
1928
1540
  }[], string[], never> | undefined;
1929
- } & {
1930
- queryKey: string[] & {
1931
- [dataTagSymbol]: {
1932
- badgeId: string;
1933
- category: string;
1934
- categoryGroup: "FD" | "FI" | "IDL";
1935
- companyCode: string;
1936
- contactPhone: string;
1937
- departmentId: string;
1938
- departmentDescription: string;
1939
- emailString: string | null;
1940
- employeeId: string;
1941
- extensionNumber: string;
1942
- firstName: string;
1943
- gender: string;
1944
- hiredDate: Date;
1945
- lastName: string;
1946
- managerId: string;
1947
- middleName: string;
1948
- name: string;
1949
- nameTitleCase: string;
1950
- nfcSn: string;
1951
- plantId: string;
1952
- position: string;
1953
- previousEmployeeIds: string | null;
1954
- reHiredDate: Date | null;
1955
- recordNumber: number;
1956
- status: "Active" | "Leave of Absence" | "Terminated";
1957
- supervisorId: string;
1958
- terminationDate: Date | null;
1959
- terminationFutureDate: Date | null;
1960
- type: string;
1961
- upperDepartmentId: string;
1962
- jobCode: string;
1963
- jobDescription: string;
1964
- terminationReason: string | null;
1965
- supervisorRecordNumber: number;
1966
- }[];
1967
- [dataTagErrorSymbol]: Error;
1968
- };
1969
- };
1970
- 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<{
1971
1578
  badgeId: string;
1972
1579
  category: string;
1973
1580
  categoryGroup: "FD" | "FI" | "IDL";
@@ -2077,51 +1684,46 @@ declare const employeeByEmployeeIdQueryOptions: (params: z.infer<typeof Employee
2077
1684
  supervisorRecordNumber: number;
2078
1685
  }, (string | {
2079
1686
  employeeId: string;
2080
- })[], never> | undefined;
2081
- } & {
2082
- queryKey: (string | {
2083
- employeeId: string;
2084
- })[] & {
2085
- [dataTagSymbol]: {
2086
- badgeId: string;
2087
- category: string;
2088
- categoryGroup: "FD" | "FI" | "IDL";
2089
- companyCode: string;
2090
- contactPhone: string;
2091
- departmentId: string;
2092
- departmentDescription: string;
2093
- emailString: string | null;
2094
- employeeId: string;
2095
- extensionNumber: string;
2096
- firstName: string;
2097
- gender: string;
2098
- hiredDate: Date;
2099
- lastName: string;
2100
- managerId: string;
2101
- middleName: string;
2102
- name: string;
2103
- nameTitleCase: string;
2104
- nfcSn: string;
2105
- plantId: string;
2106
- position: string;
2107
- previousEmployeeIds: string | null;
2108
- reHiredDate: Date | null;
2109
- recordNumber: number;
2110
- status: "Active" | "Leave of Absence" | "Terminated";
2111
- supervisorId: string;
2112
- terminationDate: Date | null;
2113
- terminationFutureDate: Date | null;
2114
- type: string;
2115
- upperDepartmentId: string;
2116
- jobCode: string;
2117
- jobDescription: string;
2118
- terminationReason: string | null;
2119
- supervisorRecordNumber: number;
2120
- };
2121
- [dataTagErrorSymbol]: Error;
2122
- };
2123
- };
2124
- 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<{
2125
1727
  badgeId: string;
2126
1728
  category: string;
2127
1729
  categoryGroup: "FD" | "FI" | "IDL";
@@ -2228,48 +1830,43 @@ declare const previousEmployeeIdsQueryOptions: () => import("@tanstack/query-cor
2228
1830
  terminationReason: string | null;
2229
1831
  supervisorRecordNumber: number;
2230
1832
  }[], string[], never> | undefined;
2231
- } & {
2232
- queryKey: string[] & {
2233
- [dataTagSymbol]: {
2234
- badgeId: string;
2235
- category: string;
2236
- categoryGroup: "FD" | "FI" | "IDL";
2237
- companyCode: string;
2238
- contactPhone: string;
2239
- departmentId: string;
2240
- departmentDescription: string;
2241
- emailString: string | null;
2242
- employeeId: string;
2243
- extensionNumber: string;
2244
- firstName: string;
2245
- gender: string;
2246
- hiredDate: Date;
2247
- lastName: string;
2248
- managerId: string;
2249
- middleName: string;
2250
- name: string;
2251
- nameTitleCase: string;
2252
- nfcSn: string;
2253
- plantId: string;
2254
- position: string;
2255
- previousEmployeeIds: string | null;
2256
- reHiredDate: Date | null;
2257
- recordNumber: number;
2258
- status: "Active" | "Leave of Absence" | "Terminated";
2259
- supervisorId: string;
2260
- terminationDate: Date | null;
2261
- terminationFutureDate: Date | null;
2262
- type: string;
2263
- upperDepartmentId: string;
2264
- jobCode: string;
2265
- jobDescription: string;
2266
- terminationReason: string | null;
2267
- supervisorRecordNumber: number;
2268
- }[];
2269
- [dataTagErrorSymbol]: Error;
2270
- };
2271
- };
2272
- 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<{
2273
1870
  badgeId: string;
2274
1871
  category: string;
2275
1872
  categoryGroup: "FD" | "FI" | "IDL";
@@ -2380,50 +1977,45 @@ declare const employeeSupervisorQueryOptions: (params: z.infer<typeof EmployeeId
2380
1977
  }, (string | {
2381
1978
  employeeId: string;
2382
1979
  })[], never> | undefined;
2383
- } & {
2384
- queryKey: (string | {
2385
- employeeId: string;
2386
- })[] & {
2387
- [dataTagSymbol]: {
2388
- badgeId: string;
2389
- category: string;
2390
- categoryGroup: "FD" | "FI" | "IDL";
2391
- companyCode: string;
2392
- contactPhone: string;
2393
- departmentId: string;
2394
- departmentDescription: string;
2395
- emailString: string | null;
2396
- employeeId: string;
2397
- extensionNumber: string;
2398
- firstName: string;
2399
- gender: string;
2400
- hiredDate: Date;
2401
- lastName: string;
2402
- managerId: string;
2403
- middleName: string;
2404
- name: string;
2405
- nameTitleCase: string;
2406
- nfcSn: string;
2407
- plantId: string;
2408
- position: string;
2409
- previousEmployeeIds: string | null;
2410
- reHiredDate: Date | null;
2411
- recordNumber: number;
2412
- status: "Active" | "Leave of Absence" | "Terminated";
2413
- supervisorId: string;
2414
- terminationDate: Date | null;
2415
- terminationFutureDate: Date | null;
2416
- type: string;
2417
- upperDepartmentId: string;
2418
- jobCode: string;
2419
- jobDescription: string;
2420
- terminationReason: string | null;
2421
- supervisorRecordNumber: number;
2422
- };
2423
- [dataTagErrorSymbol]: Error;
2424
- };
2425
- };
2426
- 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<{
2427
2019
  badgeId: string;
2428
2020
  category: string;
2429
2021
  categoryGroup: "FD" | "FI" | "IDL";
@@ -2532,52 +2124,47 @@ declare const employeeSubordinatesQueryOptions: (params: z.infer<typeof Employee
2532
2124
  terminationReason: string | null;
2533
2125
  supervisorRecordNumber: number;
2534
2126
  }[], (string | {
2535
- employeeId: string;
2536
- })[], never> | undefined;
2537
- } & {
2538
- queryKey: (string | {
2539
- employeeId: string;
2540
- })[] & {
2541
- [dataTagSymbol]: {
2542
- badgeId: string;
2543
- category: string;
2544
- categoryGroup: "FD" | "FI" | "IDL";
2545
- companyCode: string;
2546
- contactPhone: string;
2547
- departmentId: string;
2548
- departmentDescription: string;
2549
- emailString: string | null;
2550
- employeeId: string;
2551
- extensionNumber: string;
2552
- firstName: string;
2553
- gender: string;
2554
- hiredDate: Date;
2555
- lastName: string;
2556
- managerId: string;
2557
- middleName: string;
2558
- name: string;
2559
- nameTitleCase: string;
2560
- nfcSn: string;
2561
- plantId: string;
2562
- position: string;
2563
- previousEmployeeIds: string | null;
2564
- reHiredDate: Date | null;
2565
- recordNumber: number;
2566
- status: "Active" | "Leave of Absence" | "Terminated";
2567
- supervisorId: string;
2568
- terminationDate: Date | null;
2569
- terminationFutureDate: Date | null;
2570
- type: string;
2571
- upperDepartmentId: string;
2572
- jobCode: string;
2573
- jobDescription: string;
2574
- terminationReason: string | null;
2575
- supervisorRecordNumber: number;
2576
- }[];
2577
- [dataTagErrorSymbol]: Error;
2578
- };
2579
- };
2580
- 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<{
2581
2168
  badgeId: string;
2582
2169
  category: string;
2583
2170
  categoryGroup: "FD" | "FI" | "IDL";
@@ -2688,50 +2275,45 @@ declare const employeeManagerQueryOptions: (params: z.infer<typeof EmployeeIdSch
2688
2275
  }, (string | {
2689
2276
  employeeId: string;
2690
2277
  })[], never> | undefined;
2691
- } & {
2692
- queryKey: (string | {
2693
- employeeId: string;
2694
- })[] & {
2695
- [dataTagSymbol]: {
2696
- badgeId: string;
2697
- category: string;
2698
- categoryGroup: "FD" | "FI" | "IDL";
2699
- companyCode: string;
2700
- contactPhone: string;
2701
- departmentId: string;
2702
- departmentDescription: string;
2703
- emailString: string | null;
2704
- employeeId: string;
2705
- extensionNumber: string;
2706
- firstName: string;
2707
- gender: string;
2708
- hiredDate: Date;
2709
- lastName: string;
2710
- managerId: string;
2711
- middleName: string;
2712
- name: string;
2713
- nameTitleCase: string;
2714
- nfcSn: string;
2715
- plantId: string;
2716
- position: string;
2717
- previousEmployeeIds: string | null;
2718
- reHiredDate: Date | null;
2719
- recordNumber: number;
2720
- status: "Active" | "Leave of Absence" | "Terminated";
2721
- supervisorId: string;
2722
- terminationDate: Date | null;
2723
- terminationFutureDate: Date | null;
2724
- type: string;
2725
- upperDepartmentId: string;
2726
- jobCode: string;
2727
- jobDescription: string;
2728
- terminationReason: string | null;
2729
- supervisorRecordNumber: number;
2730
- };
2731
- [dataTagErrorSymbol]: Error;
2732
- };
2733
- };
2734
- 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<{
2735
2317
  badgeId: string;
2736
2318
  category: string;
2737
2319
  categoryGroup: "FD" | "FI" | "IDL";
@@ -2842,50 +2424,45 @@ declare const employeeGeneralManagerQueryOptions: (params: z.infer<typeof Employ
2842
2424
  }, (string | {
2843
2425
  employeeId: string;
2844
2426
  })[], never> | undefined;
2845
- } & {
2846
- queryKey: (string | {
2847
- employeeId: string;
2848
- })[] & {
2849
- [dataTagSymbol]: {
2850
- badgeId: string;
2851
- category: string;
2852
- categoryGroup: "FD" | "FI" | "IDL";
2853
- companyCode: string;
2854
- contactPhone: string;
2855
- departmentId: string;
2856
- departmentDescription: string;
2857
- emailString: string | null;
2858
- employeeId: string;
2859
- extensionNumber: string;
2860
- firstName: string;
2861
- gender: string;
2862
- hiredDate: Date;
2863
- lastName: string;
2864
- managerId: string;
2865
- middleName: string;
2866
- name: string;
2867
- nameTitleCase: string;
2868
- nfcSn: string;
2869
- plantId: string;
2870
- position: string;
2871
- previousEmployeeIds: string | null;
2872
- reHiredDate: Date | null;
2873
- recordNumber: number;
2874
- status: "Active" | "Leave of Absence" | "Terminated";
2875
- supervisorId: string;
2876
- terminationDate: Date | null;
2877
- terminationFutureDate: Date | null;
2878
- type: string;
2879
- upperDepartmentId: string;
2880
- jobCode: string;
2881
- jobDescription: string;
2882
- terminationReason: string | null;
2883
- supervisorRecordNumber: number;
2884
- };
2885
- [dataTagErrorSymbol]: Error;
2886
- };
2887
- };
2888
- 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<{
2889
2466
  departmentId: string;
2890
2467
  description: string;
2891
2468
  managerId: string;
@@ -3028,60 +2605,55 @@ declare const departmentsQueryOptions: () => import("@tanstack/query-core").Omit
3028
2605
  supervisorRecordNumber: number;
3029
2606
  };
3030
2607
  }[], string[], never> | undefined;
3031
- } & {
3032
- queryKey: string[] & {
3033
- [dataTagSymbol]: {
3034
- departmentId: string;
3035
- description: string;
3036
- managerId: string;
3037
- managerRecordNumber: string;
3038
- treeLevel: number;
3039
- upperDepartmentId: string;
3040
- companyCode: string;
3041
- location: string;
3042
- salLocation: string;
3043
- plantId: string;
3044
- manager: {
3045
- badgeId: string;
3046
- category: string;
3047
- categoryGroup: "FD" | "FI" | "IDL";
3048
- companyCode: string;
3049
- contactPhone: string;
3050
- departmentId: string;
3051
- departmentDescription: string;
3052
- emailString: string | null;
3053
- employeeId: string;
3054
- extensionNumber: string;
3055
- firstName: string;
3056
- gender: string;
3057
- hiredDate: Date;
3058
- lastName: string;
3059
- managerId: string;
3060
- middleName: string;
3061
- name: string;
3062
- nameTitleCase: string;
3063
- nfcSn: string;
3064
- plantId: string;
3065
- position: string;
3066
- previousEmployeeIds: string | null;
3067
- reHiredDate: Date | null;
3068
- recordNumber: number;
3069
- status: "Active" | "Leave of Absence" | "Terminated";
3070
- supervisorId: string;
3071
- terminationDate: Date | null;
3072
- terminationFutureDate: Date | null;
3073
- type: string;
3074
- upperDepartmentId: string;
3075
- jobCode: string;
3076
- jobDescription: string;
3077
- terminationReason: string | null;
3078
- supervisorRecordNumber: number;
3079
- };
3080
- }[];
3081
- [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;
3082
2654
  };
3083
- };
3084
- 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<{
3085
2657
  departmentId: string;
3086
2658
  description: string;
3087
2659
  managerId: string;
@@ -3228,62 +2800,57 @@ declare const departmentByIdQueryOptions: (params: z.infer<typeof DepartmentIdSc
3228
2800
  }, (string | {
3229
2801
  departmentId: string;
3230
2802
  })[], never> | undefined;
3231
- } & {
3232
- 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;
3233
2822
  departmentId: string;
3234
- })[] & {
3235
- [dataTagSymbol]: {
3236
- departmentId: string;
3237
- description: string;
3238
- managerId: string;
3239
- managerRecordNumber: string;
3240
- treeLevel: number;
3241
- upperDepartmentId: string;
3242
- companyCode: string;
3243
- location: string;
3244
- salLocation: string;
3245
- plantId: string;
3246
- manager: {
3247
- badgeId: string;
3248
- category: string;
3249
- categoryGroup: "FD" | "FI" | "IDL";
3250
- companyCode: string;
3251
- contactPhone: string;
3252
- departmentId: string;
3253
- departmentDescription: string;
3254
- emailString: string | null;
3255
- employeeId: string;
3256
- extensionNumber: string;
3257
- firstName: string;
3258
- gender: string;
3259
- hiredDate: Date;
3260
- lastName: string;
3261
- managerId: string;
3262
- middleName: string;
3263
- name: string;
3264
- nameTitleCase: string;
3265
- nfcSn: string;
3266
- plantId: string;
3267
- position: string;
3268
- previousEmployeeIds: string | null;
3269
- reHiredDate: Date | null;
3270
- recordNumber: number;
3271
- status: "Active" | "Leave of Absence" | "Terminated";
3272
- supervisorId: string;
3273
- terminationDate: Date | null;
3274
- terminationFutureDate: Date | null;
3275
- type: string;
3276
- upperDepartmentId: string;
3277
- jobCode: string;
3278
- jobDescription: string;
3279
- terminationReason: string | null;
3280
- supervisorRecordNumber: number;
3281
- };
3282
- };
3283
- [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;
3284
2851
  };
3285
- };
3286
- 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<{
3287
2854
  badgeId: string;
3288
2855
  category: string;
3289
2856
  categoryGroup: "FD" | "FI" | "IDL";
@@ -3394,50 +2961,45 @@ declare const departmentManagerQueryOptions: (params: z.infer<typeof DepartmentI
3394
2961
  }, (string | {
3395
2962
  departmentId: string;
3396
2963
  })[], never> | undefined;
3397
- } & {
3398
- queryKey: (string | {
3399
- departmentId: string;
3400
- })[] & {
3401
- [dataTagSymbol]: {
3402
- badgeId: string;
3403
- category: string;
3404
- categoryGroup: "FD" | "FI" | "IDL";
3405
- companyCode: string;
3406
- contactPhone: string;
3407
- departmentId: string;
3408
- departmentDescription: string;
3409
- emailString: string | null;
3410
- employeeId: string;
3411
- extensionNumber: string;
3412
- firstName: string;
3413
- gender: string;
3414
- hiredDate: Date;
3415
- lastName: string;
3416
- managerId: string;
3417
- middleName: string;
3418
- name: string;
3419
- nameTitleCase: string;
3420
- nfcSn: string;
3421
- plantId: string;
3422
- position: string;
3423
- previousEmployeeIds: string | null;
3424
- reHiredDate: Date | null;
3425
- recordNumber: number;
3426
- status: "Active" | "Leave of Absence" | "Terminated";
3427
- supervisorId: string;
3428
- terminationDate: Date | null;
3429
- terminationFutureDate: Date | null;
3430
- type: string;
3431
- upperDepartmentId: string;
3432
- jobCode: string;
3433
- jobDescription: string;
3434
- terminationReason: string | null;
3435
- supervisorRecordNumber: number;
3436
- };
3437
- [dataTagErrorSymbol]: Error;
3438
- };
3439
- };
3440
- 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<{
3441
3003
  badgeId: string;
3442
3004
  category: string;
3443
3005
  categoryGroup: "FD" | "FI" | "IDL";
@@ -3548,50 +3110,45 @@ declare const departmentEmployeesQueryOptions: (params: z.infer<typeof Departmen
3548
3110
  }[], (string | {
3549
3111
  departmentId: string;
3550
3112
  })[], never> | undefined;
3551
- } & {
3552
- queryKey: (string | {
3553
- departmentId: string;
3554
- })[] & {
3555
- [dataTagSymbol]: {
3556
- badgeId: string;
3557
- category: string;
3558
- categoryGroup: "FD" | "FI" | "IDL";
3559
- companyCode: string;
3560
- contactPhone: string;
3561
- departmentId: string;
3562
- departmentDescription: string;
3563
- emailString: string | null;
3564
- employeeId: string;
3565
- extensionNumber: string;
3566
- firstName: string;
3567
- gender: string;
3568
- hiredDate: Date;
3569
- lastName: string;
3570
- managerId: string;
3571
- middleName: string;
3572
- name: string;
3573
- nameTitleCase: string;
3574
- nfcSn: string;
3575
- plantId: string;
3576
- position: string;
3577
- previousEmployeeIds: string | null;
3578
- reHiredDate: Date | null;
3579
- recordNumber: number;
3580
- status: "Active" | "Leave of Absence" | "Terminated";
3581
- supervisorId: string;
3582
- terminationDate: Date | null;
3583
- terminationFutureDate: Date | null;
3584
- type: string;
3585
- upperDepartmentId: string;
3586
- jobCode: string;
3587
- jobDescription: string;
3588
- terminationReason: string | null;
3589
- supervisorRecordNumber: number;
3590
- }[];
3591
- [dataTagErrorSymbol]: Error;
3592
- };
3593
- };
3594
- 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<{
3595
3152
  badgeId: string;
3596
3153
  category: string;
3597
3154
  categoryGroup: "FD" | "FI" | "IDL";
@@ -3702,49 +3259,43 @@ declare const companyGeneralManagerQueryOptions: (params: z.infer<typeof Company
3702
3259
  }, (string | {
3703
3260
  companyCode: string;
3704
3261
  })[], never> | undefined;
3705
- } & {
3706
- queryKey: (string | {
3707
- companyCode: string;
3708
- })[] & {
3709
- [dataTagSymbol]: {
3710
- badgeId: string;
3711
- category: string;
3712
- categoryGroup: "FD" | "FI" | "IDL";
3713
- companyCode: string;
3714
- contactPhone: string;
3715
- departmentId: string;
3716
- departmentDescription: string;
3717
- emailString: string | null;
3718
- employeeId: string;
3719
- extensionNumber: string;
3720
- firstName: string;
3721
- gender: string;
3722
- hiredDate: Date;
3723
- lastName: string;
3724
- managerId: string;
3725
- middleName: string;
3726
- name: string;
3727
- nameTitleCase: string;
3728
- nfcSn: string;
3729
- plantId: string;
3730
- position: string;
3731
- previousEmployeeIds: string | null;
3732
- reHiredDate: Date | null;
3733
- recordNumber: number;
3734
- status: "Active" | "Leave of Absence" | "Terminated";
3735
- supervisorId: string;
3736
- terminationDate: Date | null;
3737
- terminationFutureDate: Date | null;
3738
- type: string;
3739
- upperDepartmentId: string;
3740
- jobCode: string;
3741
- jobDescription: string;
3742
- terminationReason: string | null;
3743
- supervisorRecordNumber: number;
3744
- };
3745
- [dataTagErrorSymbol]: Error;
3746
- };
3747
- };
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>;
3748
3300
  //#endregion
3749
- 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 };
3750
3301
  //# sourceMappingURL=client.d.mts.map