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.
- package/dist/AggregatedCell-BtKC5-m6.mjs +497 -0
- package/dist/AggregatedCell-BtKC5-m6.mjs.map +1 -0
- package/dist/Approval-C-hF4jbT.mjs.map +1 -1
- package/dist/DialogsContext-DLqA8RJ_.mjs.map +1 -1
- package/dist/Email-BzQQkbe9.mjs.map +1 -1
- package/dist/FileMeta-DDqUju1Y.mjs.map +1 -1
- package/dist/LayoutTable-4DLs-NI-.d.mts +752 -0
- package/dist/{QueryClientParam-Cbb0MIKg.d.mts → QueryClientParam-JcH0mJWl.d.mts} +2 -2
- package/dist/RouterListItemButton-ULMlaQh6.mjs.map +1 -1
- package/dist/{User-1gKoYJvW.d.mts → User-D4__w1I1.d.mts} +4 -2
- package/dist/approval-DFExxyAJ.mjs +84 -0
- package/dist/approval-DFExxyAJ.mjs.map +1 -0
- package/dist/auth.d.mts +21 -11
- package/dist/auth.mjs +43 -26
- package/dist/auth.mjs.map +1 -1
- package/dist/components.d.mts +22 -30
- package/dist/components.mjs +786 -139
- package/dist/components.mjs.map +1 -1
- package/dist/createApi-CLYWCzR2.mjs +27 -0
- package/dist/createApi-CLYWCzR2.mjs.map +1 -0
- package/dist/data/client.d.mts +702 -1152
- package/dist/data/client.mjs +4 -3
- package/dist/data/client.mjs.map +1 -1
- package/dist/data/server.d.mts +3 -3
- package/dist/data/server.mjs +4 -2
- package/dist/data/server.mjs.map +1 -1
- package/dist/{file-BWcNzq55.mjs → file-CZwQfvTU.mjs} +5 -24
- package/dist/file-CZwQfvTU.mjs.map +1 -0
- package/dist/{file-DimNsRly.mjs → file-aSQto2rw.mjs} +6 -7
- package/dist/file-aSQto2rw.mjs.map +1 -0
- package/dist/hooks.d.mts +7 -46
- package/dist/hooks.mjs +2578 -239
- package/dist/hooks.mjs.map +1 -1
- package/dist/index.d.mts +28 -9
- package/dist/index.mjs +1248 -500
- package/dist/index.mjs.map +1 -1
- package/dist/middleware.d.mts +20 -19
- package/dist/middleware.mjs +47 -2
- package/dist/middleware.mjs.map +1 -1
- package/dist/models.d.mts +17 -10
- package/dist/models.mjs.map +1 -1
- package/dist/{peoplesoft-CskGsqd6.d.mts → peoplesoft-BY_75WTS.d.mts} +2 -2
- package/dist/{peoplesoft-DTPGpN2h.mjs → peoplesoft-CQnc01Hc.mjs} +24 -81
- package/dist/peoplesoft-CQnc01Hc.mjs.map +1 -0
- package/dist/providers-Dbl95AxR.mjs +74 -0
- package/dist/providers-Dbl95AxR.mjs.map +1 -0
- package/dist/tokens-D8CVIFTb.mjs +143 -0
- package/dist/tokens-D8CVIFTb.mjs.map +1 -0
- package/dist/{utils-5x4uNxsX.d.mts → utils-Bhi0KiBx.d.mts} +18 -6
- package/dist/{utils-DjdexspV.mjs → utils-KaM5VMTJ.mjs} +64 -42
- package/dist/utils-KaM5VMTJ.mjs.map +1 -0
- package/dist/utils.d.mts +2 -2
- package/dist/utils.mjs +2 -2
- package/dist/vite.d.mts +1 -2
- package/dist/vite.mjs +3 -3
- package/dist/vite.mjs.map +1 -1
- package/package.json +23 -23
- package/skills/client-db/SKILL.md +104 -96
- package/skills/db-schema/SKILL.md +46 -33
- package/skills/dialogs/SKILL.md +21 -27
- package/skills/forms/SKILL.md +60 -39
- package/skills/general/SKILL.md +56 -25
- package/skills/general/references/exports.md +106 -0
- package/skills/migrations/SKILL.md +53 -2
- package/skills/migrations/versions/migrate-v9-to-v10.md +581 -0
- package/skills/routing/SKILL.md +50 -60
- package/skills/server-functions/SKILL.md +36 -56
- package/skills/services/SKILL.md +7 -4
- package/skills/services/docs/approval.md +2 -2
- package/skills/services/docs/peoplesoft.md +1 -1
- package/skills/start/SKILL.md +9 -5
- package/skills/start/steps/05-database-setup.md +52 -52
- package/skills/start/steps/06-entra-setup.md +1 -1
- package/skills/start/steps/07-vault-setup.md +5 -12
- package/skills/table/SKILL.md +275 -0
- package/skills/unslop/SKILL.md +80 -0
- package/dist/NotificationContext-CgwUOeW0.mjs +0 -7
- package/dist/NotificationContext-CgwUOeW0.mjs.map +0 -1
- package/dist/authMiddleware-DPly0b_T.mjs +0 -48
- package/dist/authMiddleware-DPly0b_T.mjs.map +0 -1
- package/dist/entra-CJSyeQsx.mjs +0 -109
- package/dist/entra-CJSyeQsx.mjs.map +0 -1
- package/dist/file-BWcNzq55.mjs.map +0 -1
- package/dist/file-DimNsRly.mjs.map +0 -1
- package/dist/msalServer-DLwA7_ta.mjs +0 -30
- package/dist/msalServer-DLwA7_ta.mjs.map +0 -1
- package/dist/peoplesoft-DTPGpN2h.mjs.map +0 -1
- package/dist/useDialogs-BUzVrTSP.mjs +0 -248
- package/dist/useDialogs-BUzVrTSP.mjs.map +0 -1
- package/dist/user-Dzv0N9fj.d.mts +0 -16
- package/dist/utils-DjdexspV.mjs.map +0 -1
- package/skills/data-grid/SKILL.md +0 -142
- package/skills/migrations/versions/migrate-v9-to-v10.tsx +0 -9
package/dist/data/client.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import {
|
|
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
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
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
|
|
337
|
-
|
|
338
|
-
|
|
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
|
-
|
|
347
|
-
updatedBy?: {
|
|
350
|
+
actualApprover?: {
|
|
348
351
|
employeeId: string;
|
|
349
352
|
name: string;
|
|
350
353
|
email: string;
|
|
351
354
|
} | undefined;
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
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
|
-
|
|
400
|
-
};
|
|
401
|
-
|
|
402
|
-
|
|
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
|
-
|
|
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
|
-
|
|
602
|
+
approvalStage: number;
|
|
603
|
+
batchSequence?: number | undefined;
|
|
604
|
+
approvalSequence: number;
|
|
605
|
+
stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
|
|
606
|
+
steps: {
|
|
605
607
|
id: string;
|
|
606
|
-
number
|
|
607
|
-
|
|
608
|
-
|
|
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
|
-
|
|
617
|
-
updatedBy?: {
|
|
615
|
+
actualApprover?: {
|
|
618
616
|
employeeId: string;
|
|
619
617
|
name: string;
|
|
620
618
|
email: string;
|
|
621
619
|
} | undefined;
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
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
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
1138
|
-
|
|
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
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
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
|
|
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
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
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
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
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
|
|
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
|
-
}[],
|
|
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
|
-
}[],
|
|
1630
|
-
|
|
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
|
-
}[],
|
|
1746
|
-
|
|
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
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
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
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
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
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
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
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
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
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
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
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
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
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
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
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
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
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
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
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
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
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
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
|