wcz-layout 9.7.0 → 10.1.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-C7nAQyMO.mjs +510 -0
- package/dist/AggregatedCell-C7nAQyMO.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-BkrjgpW_.d.mts +758 -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-BYryxFOW.mjs +84 -0
- package/dist/approval-BYryxFOW.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 +813 -140
- package/dist/components.mjs.map +1 -1
- package/dist/createApi-DGJJ4I_R.mjs +27 -0
- package/dist/createApi-DGJJ4I_R.mjs.map +1 -0
- package/dist/data/client.d.mts +690 -1176
- 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-DimNsRly.mjs → file-C14fhUeg.mjs} +6 -7
- package/dist/file-C14fhUeg.mjs.map +1 -0
- package/dist/{file-BWcNzq55.mjs → file-C5BOj1q8.mjs} +5 -24
- package/dist/file-C5BOj1q8.mjs.map +1 -0
- package/dist/hooks.d.mts +7 -46
- package/dist/hooks.mjs +2587 -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-BkJMCcHb.mjs} +24 -81
- package/dist/peoplesoft-BkJMCcHb.mjs.map +1 -0
- package/dist/providers-DrairEO2.mjs +74 -0
- package/dist/providers-DrairEO2.mjs.map +1 -0
- package/dist/tokens-BLRreL1j.mjs +143 -0
- package/dist/tokens-BLRreL1j.mjs.map +1 -0
- package/dist/{utils-DjdexspV.mjs → utils-BUpDoqme.mjs} +73 -51
- package/dist/utils-BUpDoqme.mjs.map +1 -0
- package/dist/{utils-5x4uNxsX.d.mts → utils-Bhi0KiBx.d.mts} +18 -6
- 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 +130 -128
- 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 +122 -94
- package/skills/general/references/exports.md +106 -0
- package/skills/migrations/SKILL.md +53 -2
- package/skills/migrations/versions/migrate-v9-to-v10.md +582 -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 +114 -110
- 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 +263 -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,45 +1055,55 @@ 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<{
|
|
1086
|
-
badgeId: string;
|
|
1087
|
-
category: string;
|
|
1088
|
-
categoryGroup: "FD" | "FI" | "IDL";
|
|
1089
|
-
companyCode: string;
|
|
1090
|
-
contactPhone: string;
|
|
1058
|
+
export declare const getDepartments: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
|
|
1091
1059
|
departmentId: string;
|
|
1092
|
-
|
|
1093
|
-
emailString: string | null;
|
|
1094
|
-
employeeId: string;
|
|
1095
|
-
extensionNumber: string;
|
|
1096
|
-
firstName: string;
|
|
1097
|
-
gender: string;
|
|
1098
|
-
hiredDate: Date;
|
|
1099
|
-
lastName: string;
|
|
1060
|
+
description: string;
|
|
1100
1061
|
managerId: string;
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
nameTitleCase: string;
|
|
1104
|
-
nfcSn: string;
|
|
1105
|
-
plantId: string;
|
|
1106
|
-
position: string;
|
|
1107
|
-
previousEmployeeIds: string | null;
|
|
1108
|
-
reHiredDate: Date | null;
|
|
1109
|
-
recordNumber: number;
|
|
1110
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
1111
|
-
supervisorId: string;
|
|
1112
|
-
terminationDate: Date | null;
|
|
1113
|
-
terminationFutureDate: Date | null;
|
|
1114
|
-
type: string;
|
|
1062
|
+
managerRecordNumber: string;
|
|
1063
|
+
treeLevel: number;
|
|
1115
1064
|
upperDepartmentId: string;
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1065
|
+
companyCode: string;
|
|
1066
|
+
location: string;
|
|
1067
|
+
salLocation: string;
|
|
1068
|
+
plantId: string;
|
|
1069
|
+
manager: {
|
|
1070
|
+
badgeId: string;
|
|
1071
|
+
category: string;
|
|
1072
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
1073
|
+
companyCode: string;
|
|
1074
|
+
contactPhone: string;
|
|
1075
|
+
departmentId: string;
|
|
1076
|
+
departmentDescription: string;
|
|
1077
|
+
emailString: string | null;
|
|
1078
|
+
employeeId: string;
|
|
1079
|
+
extensionNumber: string;
|
|
1080
|
+
firstName: string;
|
|
1081
|
+
gender: string;
|
|
1082
|
+
hiredDate: Date;
|
|
1083
|
+
lastName: string;
|
|
1084
|
+
managerId: string;
|
|
1085
|
+
middleName: string;
|
|
1086
|
+
name: string;
|
|
1087
|
+
nameTitleCase: string;
|
|
1088
|
+
nfcSn: string;
|
|
1089
|
+
plantId: string;
|
|
1090
|
+
position: string;
|
|
1091
|
+
previousEmployeeIds: string | null;
|
|
1092
|
+
reHiredDate: Date | null;
|
|
1093
|
+
recordNumber: number;
|
|
1094
|
+
status: "Active" | "Leave of Absence" | "Terminated";
|
|
1095
|
+
supervisorId: string;
|
|
1096
|
+
terminationDate: Date | null;
|
|
1097
|
+
terminationFutureDate: Date | null;
|
|
1098
|
+
type: string;
|
|
1099
|
+
upperDepartmentId: string;
|
|
1100
|
+
jobCode: string;
|
|
1101
|
+
jobDescription: string;
|
|
1102
|
+
terminationReason: string | null;
|
|
1103
|
+
supervisorRecordNumber: number;
|
|
1104
|
+
};
|
|
1105
|
+
}[]>>;
|
|
1106
|
+
export declare const searchEmployeesQueryOptions: (params: z.infer<typeof SearchEmployeesSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1122
1107
|
badgeId: string;
|
|
1123
1108
|
category: string;
|
|
1124
1109
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -1153,10 +1138,7 @@ declare const getPreviousEmployeeIds: import("@tanstack/start-client-core").Opti
|
|
|
1153
1138
|
jobDescription: string;
|
|
1154
1139
|
terminationReason: string | null;
|
|
1155
1140
|
supervisorRecordNumber: number;
|
|
1156
|
-
}[]
|
|
1157
|
-
declare const getEmployeeSupervisor: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
|
|
1158
|
-
employeeId: z.ZodString;
|
|
1159
|
-
}, z.core.$strip>, Promise<{
|
|
1141
|
+
}[], Error, {
|
|
1160
1142
|
badgeId: string;
|
|
1161
1143
|
category: string;
|
|
1162
1144
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -1191,21 +1173,61 @@ declare const getEmployeeSupervisor: import("@tanstack/start-client-core").Requi
|
|
|
1191
1173
|
jobDescription: string;
|
|
1192
1174
|
terminationReason: string | null;
|
|
1193
1175
|
supervisorRecordNumber: number;
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1176
|
+
}[], (string | {
|
|
1177
|
+
searchTerm: string;
|
|
1178
|
+
})[]>, "queryFn"> & {
|
|
1179
|
+
queryFn?: import("@tanstack/query-core").QueryFunction<{
|
|
1180
|
+
badgeId: string;
|
|
1181
|
+
category: string;
|
|
1182
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
1183
|
+
companyCode: string;
|
|
1184
|
+
contactPhone: string;
|
|
1185
|
+
departmentId: string;
|
|
1186
|
+
departmentDescription: string;
|
|
1187
|
+
emailString: string | null;
|
|
1188
|
+
employeeId: string;
|
|
1189
|
+
extensionNumber: string;
|
|
1190
|
+
firstName: string;
|
|
1191
|
+
gender: string;
|
|
1192
|
+
hiredDate: Date;
|
|
1193
|
+
lastName: string;
|
|
1194
|
+
managerId: string;
|
|
1195
|
+
middleName: string;
|
|
1196
|
+
name: string;
|
|
1197
|
+
nameTitleCase: string;
|
|
1198
|
+
nfcSn: string;
|
|
1199
|
+
plantId: string;
|
|
1200
|
+
position: string;
|
|
1201
|
+
previousEmployeeIds: string | null;
|
|
1202
|
+
reHiredDate: Date | null;
|
|
1203
|
+
recordNumber: number;
|
|
1204
|
+
status: "Active" | "Leave of Absence" | "Terminated";
|
|
1205
|
+
supervisorId: string;
|
|
1206
|
+
terminationDate: Date | null;
|
|
1207
|
+
terminationFutureDate: Date | null;
|
|
1208
|
+
type: string;
|
|
1209
|
+
upperDepartmentId: string;
|
|
1210
|
+
jobCode: string;
|
|
1211
|
+
jobDescription: string;
|
|
1212
|
+
terminationReason: string | null;
|
|
1213
|
+
supervisorRecordNumber: number;
|
|
1214
|
+
}[], (string | {
|
|
1215
|
+
searchTerm: string;
|
|
1216
|
+
})[], never> | undefined;
|
|
1217
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
|
|
1218
|
+
searchTerm: string;
|
|
1219
|
+
})[], {
|
|
1220
|
+
badgeId: string;
|
|
1221
|
+
category: string;
|
|
1222
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
1223
|
+
companyCode: string;
|
|
1224
|
+
contactPhone: string;
|
|
1225
|
+
departmentId: string;
|
|
1226
|
+
departmentDescription: string;
|
|
1227
|
+
emailString: string | null;
|
|
1228
|
+
employeeId: string;
|
|
1229
|
+
extensionNumber: string;
|
|
1230
|
+
firstName: string;
|
|
1209
1231
|
gender: string;
|
|
1210
1232
|
hiredDate: Date;
|
|
1211
1233
|
lastName: string;
|
|
@@ -1229,10 +1251,8 @@ declare const getEmployeeSubordinates: import("@tanstack/start-client-core").Req
|
|
|
1229
1251
|
jobDescription: string;
|
|
1230
1252
|
terminationReason: string | null;
|
|
1231
1253
|
supervisorRecordNumber: number;
|
|
1232
|
-
}[]
|
|
1233
|
-
declare const
|
|
1234
|
-
employeeId: z.ZodString;
|
|
1235
|
-
}, z.core.$strip>, Promise<{
|
|
1254
|
+
}[], Error>;
|
|
1255
|
+
export declare const employeesQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1236
1256
|
badgeId: string;
|
|
1237
1257
|
category: string;
|
|
1238
1258
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -1267,10 +1287,7 @@ declare const getEmployeeManager: import("@tanstack/start-client-core").Required
|
|
|
1267
1287
|
jobDescription: string;
|
|
1268
1288
|
terminationReason: string | null;
|
|
1269
1289
|
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<{
|
|
1290
|
+
}[], Error, {
|
|
1274
1291
|
badgeId: string;
|
|
1275
1292
|
category: string;
|
|
1276
1293
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -1305,19 +1322,8 @@ declare const getEmployeeGeneralManager: import("@tanstack/start-client-core").R
|
|
|
1305
1322
|
jobDescription: string;
|
|
1306
1323
|
terminationReason: string | null;
|
|
1307
1324
|
supervisorRecordNumber: number;
|
|
1308
|
-
}
|
|
1309
|
-
|
|
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: {
|
|
1325
|
+
}[], string[]>, "queryFn"> & {
|
|
1326
|
+
queryFn?: import("@tanstack/query-core").QueryFunction<{
|
|
1321
1327
|
badgeId: string;
|
|
1322
1328
|
category: string;
|
|
1323
1329
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -1352,61 +1358,44 @@ declare const getDepartments: import("@tanstack/start-client-core").OptionalFetc
|
|
|
1352
1358
|
jobDescription: string;
|
|
1353
1359
|
terminationReason: string | null;
|
|
1354
1360
|
supervisorRecordNumber: number;
|
|
1355
|
-
};
|
|
1356
|
-
}[]
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1361
|
+
}[], string[], never> | undefined;
|
|
1362
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
|
|
1363
|
+
badgeId: string;
|
|
1364
|
+
category: string;
|
|
1365
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
1366
|
+
companyCode: string;
|
|
1367
|
+
contactPhone: string;
|
|
1360
1368
|
departmentId: string;
|
|
1361
|
-
|
|
1369
|
+
departmentDescription: string;
|
|
1370
|
+
emailString: string | null;
|
|
1371
|
+
employeeId: string;
|
|
1372
|
+
extensionNumber: string;
|
|
1373
|
+
firstName: string;
|
|
1374
|
+
gender: string;
|
|
1375
|
+
hiredDate: Date;
|
|
1376
|
+
lastName: string;
|
|
1362
1377
|
managerId: string;
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
location: string;
|
|
1368
|
-
salLocation: string;
|
|
1378
|
+
middleName: string;
|
|
1379
|
+
name: string;
|
|
1380
|
+
nameTitleCase: string;
|
|
1381
|
+
nfcSn: string;
|
|
1369
1382
|
plantId: string;
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
middleName: string;
|
|
1387
|
-
name: string;
|
|
1388
|
-
nameTitleCase: string;
|
|
1389
|
-
nfcSn: string;
|
|
1390
|
-
plantId: string;
|
|
1391
|
-
position: string;
|
|
1392
|
-
previousEmployeeIds: string | null;
|
|
1393
|
-
reHiredDate: Date | null;
|
|
1394
|
-
recordNumber: number;
|
|
1395
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
1396
|
-
supervisorId: string;
|
|
1397
|
-
terminationDate: Date | null;
|
|
1398
|
-
terminationFutureDate: Date | null;
|
|
1399
|
-
type: string;
|
|
1400
|
-
upperDepartmentId: string;
|
|
1401
|
-
jobCode: string;
|
|
1402
|
-
jobDescription: string;
|
|
1403
|
-
terminationReason: string | null;
|
|
1404
|
-
supervisorRecordNumber: number;
|
|
1405
|
-
};
|
|
1406
|
-
}>>;
|
|
1407
|
-
declare const getDepartmentManager: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
|
|
1408
|
-
departmentId: z.ZodString;
|
|
1409
|
-
}, z.core.$strip>, Promise<{
|
|
1383
|
+
position: string;
|
|
1384
|
+
previousEmployeeIds: string | null;
|
|
1385
|
+
reHiredDate: Date | null;
|
|
1386
|
+
recordNumber: number;
|
|
1387
|
+
status: "Active" | "Leave of Absence" | "Terminated";
|
|
1388
|
+
supervisorId: string;
|
|
1389
|
+
terminationDate: Date | null;
|
|
1390
|
+
terminationFutureDate: Date | null;
|
|
1391
|
+
type: string;
|
|
1392
|
+
upperDepartmentId: string;
|
|
1393
|
+
jobCode: string;
|
|
1394
|
+
jobDescription: string;
|
|
1395
|
+
terminationReason: string | null;
|
|
1396
|
+
supervisorRecordNumber: number;
|
|
1397
|
+
}[], Error>;
|
|
1398
|
+
export declare const activeEmployeesQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1410
1399
|
badgeId: string;
|
|
1411
1400
|
category: string;
|
|
1412
1401
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -1441,10 +1430,7 @@ declare const getDepartmentManager: import("@tanstack/start-client-core").Requir
|
|
|
1441
1430
|
jobDescription: string;
|
|
1442
1431
|
terminationReason: string | null;
|
|
1443
1432
|
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<{
|
|
1433
|
+
}[], Error, {
|
|
1448
1434
|
badgeId: string;
|
|
1449
1435
|
category: string;
|
|
1450
1436
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -1479,10 +1465,44 @@ declare const getDepartmentEmployees: import("@tanstack/start-client-core").Requ
|
|
|
1479
1465
|
jobDescription: string;
|
|
1480
1466
|
terminationReason: string | null;
|
|
1481
1467
|
supervisorRecordNumber: number;
|
|
1482
|
-
}[]
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1468
|
+
}[], string[]>, "queryFn"> & {
|
|
1469
|
+
queryFn?: import("@tanstack/query-core").QueryFunction<{
|
|
1470
|
+
badgeId: string;
|
|
1471
|
+
category: string;
|
|
1472
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
1473
|
+
companyCode: string;
|
|
1474
|
+
contactPhone: string;
|
|
1475
|
+
departmentId: string;
|
|
1476
|
+
departmentDescription: string;
|
|
1477
|
+
emailString: string | null;
|
|
1478
|
+
employeeId: string;
|
|
1479
|
+
extensionNumber: string;
|
|
1480
|
+
firstName: string;
|
|
1481
|
+
gender: string;
|
|
1482
|
+
hiredDate: Date;
|
|
1483
|
+
lastName: string;
|
|
1484
|
+
managerId: string;
|
|
1485
|
+
middleName: string;
|
|
1486
|
+
name: string;
|
|
1487
|
+
nameTitleCase: string;
|
|
1488
|
+
nfcSn: string;
|
|
1489
|
+
plantId: string;
|
|
1490
|
+
position: string;
|
|
1491
|
+
previousEmployeeIds: string | null;
|
|
1492
|
+
reHiredDate: Date | null;
|
|
1493
|
+
recordNumber: number;
|
|
1494
|
+
status: "Active" | "Leave of Absence" | "Terminated";
|
|
1495
|
+
supervisorId: string;
|
|
1496
|
+
terminationDate: Date | null;
|
|
1497
|
+
terminationFutureDate: Date | null;
|
|
1498
|
+
type: string;
|
|
1499
|
+
upperDepartmentId: string;
|
|
1500
|
+
jobCode: string;
|
|
1501
|
+
jobDescription: string;
|
|
1502
|
+
terminationReason: string | null;
|
|
1503
|
+
supervisorRecordNumber: number;
|
|
1504
|
+
}[], string[], never> | undefined;
|
|
1505
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
|
|
1486
1506
|
badgeId: string;
|
|
1487
1507
|
category: string;
|
|
1488
1508
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -1517,8 +1537,8 @@ declare const getCompanyGeneralManager: import("@tanstack/start-client-core").Re
|
|
|
1517
1537
|
jobDescription: string;
|
|
1518
1538
|
terminationReason: string | null;
|
|
1519
1539
|
supervisorRecordNumber: number;
|
|
1520
|
-
}
|
|
1521
|
-
declare const
|
|
1540
|
+
}[], Error>;
|
|
1541
|
+
export declare const employeeByEmployeeIdQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1522
1542
|
badgeId: string;
|
|
1523
1543
|
category: string;
|
|
1524
1544
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -1553,7 +1573,7 @@ declare const searchEmployeesQueryOptions: (params: z.infer<typeof SearchEmploye
|
|
|
1553
1573
|
jobDescription: string;
|
|
1554
1574
|
terminationReason: string | null;
|
|
1555
1575
|
supervisorRecordNumber: number;
|
|
1556
|
-
}
|
|
1576
|
+
}, Error, {
|
|
1557
1577
|
badgeId: string;
|
|
1558
1578
|
category: string;
|
|
1559
1579
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -1588,8 +1608,8 @@ declare const searchEmployeesQueryOptions: (params: z.infer<typeof SearchEmploye
|
|
|
1588
1608
|
jobDescription: string;
|
|
1589
1609
|
terminationReason: string | null;
|
|
1590
1610
|
supervisorRecordNumber: number;
|
|
1591
|
-
}
|
|
1592
|
-
|
|
1611
|
+
}, (string | {
|
|
1612
|
+
employeeId: string;
|
|
1593
1613
|
})[]>, "queryFn"> & {
|
|
1594
1614
|
queryFn?: import("@tanstack/query-core").QueryFunction<{
|
|
1595
1615
|
badgeId: string;
|
|
@@ -1626,53 +1646,12 @@ declare const searchEmployeesQueryOptions: (params: z.infer<typeof SearchEmploye
|
|
|
1626
1646
|
jobDescription: string;
|
|
1627
1647
|
terminationReason: string | null;
|
|
1628
1648
|
supervisorRecordNumber: number;
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1649
|
+
}, (string | {
|
|
1650
|
+
employeeId: string;
|
|
1631
1651
|
})[], never> | undefined;
|
|
1632
|
-
} & {
|
|
1633
|
-
|
|
1634
|
-
|
|
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<{
|
|
1652
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
|
|
1653
|
+
employeeId: string;
|
|
1654
|
+
})[], {
|
|
1676
1655
|
badgeId: string;
|
|
1677
1656
|
category: string;
|
|
1678
1657
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -1707,120 +1686,8 @@ declare const employeesQueryOptions: () => import("@tanstack/query-core").OmitKe
|
|
|
1707
1686
|
jobDescription: string;
|
|
1708
1687
|
terminationReason: string | null;
|
|
1709
1688
|
supervisorRecordNumber: number;
|
|
1710
|
-
}
|
|
1711
|
-
|
|
1712
|
-
category: string;
|
|
1713
|
-
categoryGroup: "FD" | "FI" | "IDL";
|
|
1714
|
-
companyCode: string;
|
|
1715
|
-
contactPhone: string;
|
|
1716
|
-
departmentId: string;
|
|
1717
|
-
departmentDescription: string;
|
|
1718
|
-
emailString: string | null;
|
|
1719
|
-
employeeId: string;
|
|
1720
|
-
extensionNumber: string;
|
|
1721
|
-
firstName: string;
|
|
1722
|
-
gender: string;
|
|
1723
|
-
hiredDate: Date;
|
|
1724
|
-
lastName: string;
|
|
1725
|
-
managerId: string;
|
|
1726
|
-
middleName: string;
|
|
1727
|
-
name: string;
|
|
1728
|
-
nameTitleCase: string;
|
|
1729
|
-
nfcSn: string;
|
|
1730
|
-
plantId: string;
|
|
1731
|
-
position: string;
|
|
1732
|
-
previousEmployeeIds: string | null;
|
|
1733
|
-
reHiredDate: Date | null;
|
|
1734
|
-
recordNumber: number;
|
|
1735
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
1736
|
-
supervisorId: string;
|
|
1737
|
-
terminationDate: Date | null;
|
|
1738
|
-
terminationFutureDate: Date | null;
|
|
1739
|
-
type: string;
|
|
1740
|
-
upperDepartmentId: string;
|
|
1741
|
-
jobCode: string;
|
|
1742
|
-
jobDescription: string;
|
|
1743
|
-
terminationReason: string | null;
|
|
1744
|
-
supervisorRecordNumber: number;
|
|
1745
|
-
}[], string[]>, "queryFn"> & {
|
|
1746
|
-
queryFn?: import("@tanstack/query-core").QueryFunction<{
|
|
1747
|
-
badgeId: string;
|
|
1748
|
-
category: string;
|
|
1749
|
-
categoryGroup: "FD" | "FI" | "IDL";
|
|
1750
|
-
companyCode: string;
|
|
1751
|
-
contactPhone: string;
|
|
1752
|
-
departmentId: string;
|
|
1753
|
-
departmentDescription: string;
|
|
1754
|
-
emailString: string | null;
|
|
1755
|
-
employeeId: string;
|
|
1756
|
-
extensionNumber: string;
|
|
1757
|
-
firstName: string;
|
|
1758
|
-
gender: string;
|
|
1759
|
-
hiredDate: Date;
|
|
1760
|
-
lastName: string;
|
|
1761
|
-
managerId: string;
|
|
1762
|
-
middleName: string;
|
|
1763
|
-
name: string;
|
|
1764
|
-
nameTitleCase: string;
|
|
1765
|
-
nfcSn: string;
|
|
1766
|
-
plantId: string;
|
|
1767
|
-
position: string;
|
|
1768
|
-
previousEmployeeIds: string | null;
|
|
1769
|
-
reHiredDate: Date | null;
|
|
1770
|
-
recordNumber: number;
|
|
1771
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
1772
|
-
supervisorId: string;
|
|
1773
|
-
terminationDate: Date | null;
|
|
1774
|
-
terminationFutureDate: Date | null;
|
|
1775
|
-
type: string;
|
|
1776
|
-
upperDepartmentId: string;
|
|
1777
|
-
jobCode: string;
|
|
1778
|
-
jobDescription: string;
|
|
1779
|
-
terminationReason: string | null;
|
|
1780
|
-
supervisorRecordNumber: number;
|
|
1781
|
-
}[], string[], never> | undefined;
|
|
1782
|
-
} & {
|
|
1783
|
-
queryKey: string[] & {
|
|
1784
|
-
[dataTagSymbol]: {
|
|
1785
|
-
badgeId: string;
|
|
1786
|
-
category: string;
|
|
1787
|
-
categoryGroup: "FD" | "FI" | "IDL";
|
|
1788
|
-
companyCode: string;
|
|
1789
|
-
contactPhone: string;
|
|
1790
|
-
departmentId: string;
|
|
1791
|
-
departmentDescription: string;
|
|
1792
|
-
emailString: string | null;
|
|
1793
|
-
employeeId: string;
|
|
1794
|
-
extensionNumber: string;
|
|
1795
|
-
firstName: string;
|
|
1796
|
-
gender: string;
|
|
1797
|
-
hiredDate: Date;
|
|
1798
|
-
lastName: string;
|
|
1799
|
-
managerId: string;
|
|
1800
|
-
middleName: string;
|
|
1801
|
-
name: string;
|
|
1802
|
-
nameTitleCase: string;
|
|
1803
|
-
nfcSn: string;
|
|
1804
|
-
plantId: string;
|
|
1805
|
-
position: string;
|
|
1806
|
-
previousEmployeeIds: string | null;
|
|
1807
|
-
reHiredDate: Date | null;
|
|
1808
|
-
recordNumber: number;
|
|
1809
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
1810
|
-
supervisorId: string;
|
|
1811
|
-
terminationDate: Date | null;
|
|
1812
|
-
terminationFutureDate: Date | null;
|
|
1813
|
-
type: string;
|
|
1814
|
-
upperDepartmentId: string;
|
|
1815
|
-
jobCode: string;
|
|
1816
|
-
jobDescription: string;
|
|
1817
|
-
terminationReason: string | null;
|
|
1818
|
-
supervisorRecordNumber: number;
|
|
1819
|
-
}[];
|
|
1820
|
-
[dataTagErrorSymbol]: Error;
|
|
1821
|
-
};
|
|
1822
|
-
};
|
|
1823
|
-
declare const activeEmployeesQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1689
|
+
}, Error>;
|
|
1690
|
+
export declare const previousEmployeeIdsQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1824
1691
|
badgeId: string;
|
|
1825
1692
|
category: string;
|
|
1826
1693
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -1927,48 +1794,7 @@ declare const activeEmployeesQueryOptions: () => import("@tanstack/query-core").
|
|
|
1927
1794
|
terminationReason: string | null;
|
|
1928
1795
|
supervisorRecordNumber: number;
|
|
1929
1796
|
}[], string[], never> | undefined;
|
|
1930
|
-
} & {
|
|
1931
|
-
queryKey: string[] & {
|
|
1932
|
-
[dataTagSymbol]: {
|
|
1933
|
-
badgeId: string;
|
|
1934
|
-
category: string;
|
|
1935
|
-
categoryGroup: "FD" | "FI" | "IDL";
|
|
1936
|
-
companyCode: string;
|
|
1937
|
-
contactPhone: string;
|
|
1938
|
-
departmentId: string;
|
|
1939
|
-
departmentDescription: string;
|
|
1940
|
-
emailString: string | null;
|
|
1941
|
-
employeeId: string;
|
|
1942
|
-
extensionNumber: string;
|
|
1943
|
-
firstName: string;
|
|
1944
|
-
gender: string;
|
|
1945
|
-
hiredDate: Date;
|
|
1946
|
-
lastName: string;
|
|
1947
|
-
managerId: string;
|
|
1948
|
-
middleName: string;
|
|
1949
|
-
name: string;
|
|
1950
|
-
nameTitleCase: string;
|
|
1951
|
-
nfcSn: string;
|
|
1952
|
-
plantId: string;
|
|
1953
|
-
position: string;
|
|
1954
|
-
previousEmployeeIds: string | null;
|
|
1955
|
-
reHiredDate: Date | null;
|
|
1956
|
-
recordNumber: number;
|
|
1957
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
1958
|
-
supervisorId: string;
|
|
1959
|
-
terminationDate: Date | null;
|
|
1960
|
-
terminationFutureDate: Date | null;
|
|
1961
|
-
type: string;
|
|
1962
|
-
upperDepartmentId: string;
|
|
1963
|
-
jobCode: string;
|
|
1964
|
-
jobDescription: string;
|
|
1965
|
-
terminationReason: string | null;
|
|
1966
|
-
supervisorRecordNumber: number;
|
|
1967
|
-
}[];
|
|
1968
|
-
[dataTagErrorSymbol]: Error;
|
|
1969
|
-
};
|
|
1970
|
-
};
|
|
1971
|
-
declare const employeeByEmployeeIdQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1797
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
|
|
1972
1798
|
badgeId: string;
|
|
1973
1799
|
category: string;
|
|
1974
1800
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -2003,7 +1829,8 @@ declare const employeeByEmployeeIdQueryOptions: (params: z.infer<typeof Employee
|
|
|
2003
1829
|
jobDescription: string;
|
|
2004
1830
|
terminationReason: string | null;
|
|
2005
1831
|
supervisorRecordNumber: number;
|
|
2006
|
-
}, Error
|
|
1832
|
+
}[], Error>;
|
|
1833
|
+
export declare const employeeSupervisorQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2007
1834
|
badgeId: string;
|
|
2008
1835
|
category: string;
|
|
2009
1836
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -2038,91 +1865,7 @@ declare const employeeByEmployeeIdQueryOptions: (params: z.infer<typeof Employee
|
|
|
2038
1865
|
jobDescription: string;
|
|
2039
1866
|
terminationReason: string | null;
|
|
2040
1867
|
supervisorRecordNumber: number;
|
|
2041
|
-
},
|
|
2042
|
-
employeeId: string;
|
|
2043
|
-
})[]>, "queryFn"> & {
|
|
2044
|
-
queryFn?: import("@tanstack/query-core").QueryFunction<{
|
|
2045
|
-
badgeId: string;
|
|
2046
|
-
category: string;
|
|
2047
|
-
categoryGroup: "FD" | "FI" | "IDL";
|
|
2048
|
-
companyCode: string;
|
|
2049
|
-
contactPhone: string;
|
|
2050
|
-
departmentId: string;
|
|
2051
|
-
departmentDescription: string;
|
|
2052
|
-
emailString: string | null;
|
|
2053
|
-
employeeId: string;
|
|
2054
|
-
extensionNumber: string;
|
|
2055
|
-
firstName: string;
|
|
2056
|
-
gender: string;
|
|
2057
|
-
hiredDate: Date;
|
|
2058
|
-
lastName: string;
|
|
2059
|
-
managerId: string;
|
|
2060
|
-
middleName: string;
|
|
2061
|
-
name: string;
|
|
2062
|
-
nameTitleCase: string;
|
|
2063
|
-
nfcSn: string;
|
|
2064
|
-
plantId: string;
|
|
2065
|
-
position: string;
|
|
2066
|
-
previousEmployeeIds: string | null;
|
|
2067
|
-
reHiredDate: Date | null;
|
|
2068
|
-
recordNumber: number;
|
|
2069
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2070
|
-
supervisorId: string;
|
|
2071
|
-
terminationDate: Date | null;
|
|
2072
|
-
terminationFutureDate: Date | null;
|
|
2073
|
-
type: string;
|
|
2074
|
-
upperDepartmentId: string;
|
|
2075
|
-
jobCode: string;
|
|
2076
|
-
jobDescription: string;
|
|
2077
|
-
terminationReason: string | null;
|
|
2078
|
-
supervisorRecordNumber: number;
|
|
2079
|
-
}, (string | {
|
|
2080
|
-
employeeId: string;
|
|
2081
|
-
})[], never> | undefined;
|
|
2082
|
-
} & {
|
|
2083
|
-
queryKey: (string | {
|
|
2084
|
-
employeeId: string;
|
|
2085
|
-
})[] & {
|
|
2086
|
-
[dataTagSymbol]: {
|
|
2087
|
-
badgeId: string;
|
|
2088
|
-
category: string;
|
|
2089
|
-
categoryGroup: "FD" | "FI" | "IDL";
|
|
2090
|
-
companyCode: string;
|
|
2091
|
-
contactPhone: string;
|
|
2092
|
-
departmentId: string;
|
|
2093
|
-
departmentDescription: string;
|
|
2094
|
-
emailString: string | null;
|
|
2095
|
-
employeeId: string;
|
|
2096
|
-
extensionNumber: string;
|
|
2097
|
-
firstName: string;
|
|
2098
|
-
gender: string;
|
|
2099
|
-
hiredDate: Date;
|
|
2100
|
-
lastName: string;
|
|
2101
|
-
managerId: string;
|
|
2102
|
-
middleName: string;
|
|
2103
|
-
name: string;
|
|
2104
|
-
nameTitleCase: string;
|
|
2105
|
-
nfcSn: string;
|
|
2106
|
-
plantId: string;
|
|
2107
|
-
position: string;
|
|
2108
|
-
previousEmployeeIds: string | null;
|
|
2109
|
-
reHiredDate: Date | null;
|
|
2110
|
-
recordNumber: number;
|
|
2111
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2112
|
-
supervisorId: string;
|
|
2113
|
-
terminationDate: Date | null;
|
|
2114
|
-
terminationFutureDate: Date | null;
|
|
2115
|
-
type: string;
|
|
2116
|
-
upperDepartmentId: string;
|
|
2117
|
-
jobCode: string;
|
|
2118
|
-
jobDescription: string;
|
|
2119
|
-
terminationReason: string | null;
|
|
2120
|
-
supervisorRecordNumber: number;
|
|
2121
|
-
};
|
|
2122
|
-
[dataTagErrorSymbol]: Error;
|
|
2123
|
-
};
|
|
2124
|
-
};
|
|
2125
|
-
declare const previousEmployeeIdsQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1868
|
+
}, Error, {
|
|
2126
1869
|
badgeId: string;
|
|
2127
1870
|
category: string;
|
|
2128
1871
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -2157,42 +1900,9 @@ declare const previousEmployeeIdsQueryOptions: () => import("@tanstack/query-cor
|
|
|
2157
1900
|
jobDescription: string;
|
|
2158
1901
|
terminationReason: string | null;
|
|
2159
1902
|
supervisorRecordNumber: number;
|
|
2160
|
-
}
|
|
2161
|
-
badgeId: string;
|
|
2162
|
-
category: string;
|
|
2163
|
-
categoryGroup: "FD" | "FI" | "IDL";
|
|
2164
|
-
companyCode: string;
|
|
2165
|
-
contactPhone: string;
|
|
2166
|
-
departmentId: string;
|
|
2167
|
-
departmentDescription: string;
|
|
2168
|
-
emailString: string | null;
|
|
1903
|
+
}, (string | {
|
|
2169
1904
|
employeeId: string;
|
|
2170
|
-
|
|
2171
|
-
firstName: string;
|
|
2172
|
-
gender: string;
|
|
2173
|
-
hiredDate: Date;
|
|
2174
|
-
lastName: string;
|
|
2175
|
-
managerId: string;
|
|
2176
|
-
middleName: string;
|
|
2177
|
-
name: string;
|
|
2178
|
-
nameTitleCase: string;
|
|
2179
|
-
nfcSn: string;
|
|
2180
|
-
plantId: string;
|
|
2181
|
-
position: string;
|
|
2182
|
-
previousEmployeeIds: string | null;
|
|
2183
|
-
reHiredDate: Date | null;
|
|
2184
|
-
recordNumber: number;
|
|
2185
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2186
|
-
supervisorId: string;
|
|
2187
|
-
terminationDate: Date | null;
|
|
2188
|
-
terminationFutureDate: Date | null;
|
|
2189
|
-
type: string;
|
|
2190
|
-
upperDepartmentId: string;
|
|
2191
|
-
jobCode: string;
|
|
2192
|
-
jobDescription: string;
|
|
2193
|
-
terminationReason: string | null;
|
|
2194
|
-
supervisorRecordNumber: number;
|
|
2195
|
-
}[], string[]>, "queryFn"> & {
|
|
1905
|
+
})[]>, "queryFn"> & {
|
|
2196
1906
|
queryFn?: import("@tanstack/query-core").QueryFunction<{
|
|
2197
1907
|
badgeId: string;
|
|
2198
1908
|
category: string;
|
|
@@ -2228,84 +1938,12 @@ declare const previousEmployeeIdsQueryOptions: () => import("@tanstack/query-cor
|
|
|
2228
1938
|
jobDescription: string;
|
|
2229
1939
|
terminationReason: string | null;
|
|
2230
1940
|
supervisorRecordNumber: number;
|
|
2231
|
-
}
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
badgeId: string;
|
|
2236
|
-
category: string;
|
|
2237
|
-
categoryGroup: "FD" | "FI" | "IDL";
|
|
2238
|
-
companyCode: string;
|
|
2239
|
-
contactPhone: string;
|
|
2240
|
-
departmentId: string;
|
|
2241
|
-
departmentDescription: string;
|
|
2242
|
-
emailString: string | null;
|
|
2243
|
-
employeeId: string;
|
|
2244
|
-
extensionNumber: string;
|
|
2245
|
-
firstName: string;
|
|
2246
|
-
gender: string;
|
|
2247
|
-
hiredDate: Date;
|
|
2248
|
-
lastName: string;
|
|
2249
|
-
managerId: string;
|
|
2250
|
-
middleName: string;
|
|
2251
|
-
name: string;
|
|
2252
|
-
nameTitleCase: string;
|
|
2253
|
-
nfcSn: string;
|
|
2254
|
-
plantId: string;
|
|
2255
|
-
position: string;
|
|
2256
|
-
previousEmployeeIds: string | null;
|
|
2257
|
-
reHiredDate: Date | null;
|
|
2258
|
-
recordNumber: number;
|
|
2259
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2260
|
-
supervisorId: string;
|
|
2261
|
-
terminationDate: Date | null;
|
|
2262
|
-
terminationFutureDate: Date | null;
|
|
2263
|
-
type: string;
|
|
2264
|
-
upperDepartmentId: string;
|
|
2265
|
-
jobCode: string;
|
|
2266
|
-
jobDescription: string;
|
|
2267
|
-
terminationReason: string | null;
|
|
2268
|
-
supervisorRecordNumber: number;
|
|
2269
|
-
}[];
|
|
2270
|
-
[dataTagErrorSymbol]: Error;
|
|
2271
|
-
};
|
|
2272
|
-
};
|
|
2273
|
-
declare const employeeSupervisorQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2274
|
-
badgeId: string;
|
|
2275
|
-
category: string;
|
|
2276
|
-
categoryGroup: "FD" | "FI" | "IDL";
|
|
2277
|
-
companyCode: string;
|
|
2278
|
-
contactPhone: string;
|
|
2279
|
-
departmentId: string;
|
|
2280
|
-
departmentDescription: string;
|
|
2281
|
-
emailString: string | null;
|
|
1941
|
+
}, (string | {
|
|
1942
|
+
employeeId: string;
|
|
1943
|
+
})[], never> | undefined;
|
|
1944
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
|
|
2282
1945
|
employeeId: string;
|
|
2283
|
-
|
|
2284
|
-
firstName: string;
|
|
2285
|
-
gender: string;
|
|
2286
|
-
hiredDate: Date;
|
|
2287
|
-
lastName: string;
|
|
2288
|
-
managerId: string;
|
|
2289
|
-
middleName: string;
|
|
2290
|
-
name: string;
|
|
2291
|
-
nameTitleCase: string;
|
|
2292
|
-
nfcSn: string;
|
|
2293
|
-
plantId: string;
|
|
2294
|
-
position: string;
|
|
2295
|
-
previousEmployeeIds: string | null;
|
|
2296
|
-
reHiredDate: Date | null;
|
|
2297
|
-
recordNumber: number;
|
|
2298
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2299
|
-
supervisorId: string;
|
|
2300
|
-
terminationDate: Date | null;
|
|
2301
|
-
terminationFutureDate: Date | null;
|
|
2302
|
-
type: string;
|
|
2303
|
-
upperDepartmentId: string;
|
|
2304
|
-
jobCode: string;
|
|
2305
|
-
jobDescription: string;
|
|
2306
|
-
terminationReason: string | null;
|
|
2307
|
-
supervisorRecordNumber: number;
|
|
2308
|
-
}, Error, {
|
|
1946
|
+
})[], {
|
|
2309
1947
|
badgeId: string;
|
|
2310
1948
|
category: string;
|
|
2311
1949
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -2340,91 +1978,8 @@ declare const employeeSupervisorQueryOptions: (params: z.infer<typeof EmployeeId
|
|
|
2340
1978
|
jobDescription: string;
|
|
2341
1979
|
terminationReason: string | null;
|
|
2342
1980
|
supervisorRecordNumber: number;
|
|
2343
|
-
},
|
|
2344
|
-
|
|
2345
|
-
})[]>, "queryFn"> & {
|
|
2346
|
-
queryFn?: import("@tanstack/query-core").QueryFunction<{
|
|
2347
|
-
badgeId: string;
|
|
2348
|
-
category: string;
|
|
2349
|
-
categoryGroup: "FD" | "FI" | "IDL";
|
|
2350
|
-
companyCode: string;
|
|
2351
|
-
contactPhone: string;
|
|
2352
|
-
departmentId: string;
|
|
2353
|
-
departmentDescription: string;
|
|
2354
|
-
emailString: string | null;
|
|
2355
|
-
employeeId: string;
|
|
2356
|
-
extensionNumber: string;
|
|
2357
|
-
firstName: string;
|
|
2358
|
-
gender: string;
|
|
2359
|
-
hiredDate: Date;
|
|
2360
|
-
lastName: string;
|
|
2361
|
-
managerId: string;
|
|
2362
|
-
middleName: string;
|
|
2363
|
-
name: string;
|
|
2364
|
-
nameTitleCase: string;
|
|
2365
|
-
nfcSn: string;
|
|
2366
|
-
plantId: string;
|
|
2367
|
-
position: string;
|
|
2368
|
-
previousEmployeeIds: string | null;
|
|
2369
|
-
reHiredDate: Date | null;
|
|
2370
|
-
recordNumber: number;
|
|
2371
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2372
|
-
supervisorId: string;
|
|
2373
|
-
terminationDate: Date | null;
|
|
2374
|
-
terminationFutureDate: Date | null;
|
|
2375
|
-
type: string;
|
|
2376
|
-
upperDepartmentId: string;
|
|
2377
|
-
jobCode: string;
|
|
2378
|
-
jobDescription: string;
|
|
2379
|
-
terminationReason: string | null;
|
|
2380
|
-
supervisorRecordNumber: number;
|
|
2381
|
-
}, (string | {
|
|
2382
|
-
employeeId: string;
|
|
2383
|
-
})[], never> | undefined;
|
|
2384
|
-
} & {
|
|
2385
|
-
queryKey: (string | {
|
|
2386
|
-
employeeId: string;
|
|
2387
|
-
})[] & {
|
|
2388
|
-
[dataTagSymbol]: {
|
|
2389
|
-
badgeId: string;
|
|
2390
|
-
category: string;
|
|
2391
|
-
categoryGroup: "FD" | "FI" | "IDL";
|
|
2392
|
-
companyCode: string;
|
|
2393
|
-
contactPhone: string;
|
|
2394
|
-
departmentId: string;
|
|
2395
|
-
departmentDescription: string;
|
|
2396
|
-
emailString: string | null;
|
|
2397
|
-
employeeId: string;
|
|
2398
|
-
extensionNumber: string;
|
|
2399
|
-
firstName: string;
|
|
2400
|
-
gender: string;
|
|
2401
|
-
hiredDate: Date;
|
|
2402
|
-
lastName: string;
|
|
2403
|
-
managerId: string;
|
|
2404
|
-
middleName: string;
|
|
2405
|
-
name: string;
|
|
2406
|
-
nameTitleCase: string;
|
|
2407
|
-
nfcSn: string;
|
|
2408
|
-
plantId: string;
|
|
2409
|
-
position: string;
|
|
2410
|
-
previousEmployeeIds: string | null;
|
|
2411
|
-
reHiredDate: Date | null;
|
|
2412
|
-
recordNumber: number;
|
|
2413
|
-
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2414
|
-
supervisorId: string;
|
|
2415
|
-
terminationDate: Date | null;
|
|
2416
|
-
terminationFutureDate: Date | null;
|
|
2417
|
-
type: string;
|
|
2418
|
-
upperDepartmentId: string;
|
|
2419
|
-
jobCode: string;
|
|
2420
|
-
jobDescription: string;
|
|
2421
|
-
terminationReason: string | null;
|
|
2422
|
-
supervisorRecordNumber: number;
|
|
2423
|
-
};
|
|
2424
|
-
[dataTagErrorSymbol]: Error;
|
|
2425
|
-
};
|
|
2426
|
-
};
|
|
2427
|
-
declare const employeeSubordinatesQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1981
|
+
}, Error>;
|
|
1982
|
+
export declare const employeeSubordinatesQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2428
1983
|
badgeId: string;
|
|
2429
1984
|
category: string;
|
|
2430
1985
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -2533,52 +2088,47 @@ declare const employeeSubordinatesQueryOptions: (params: z.infer<typeof Employee
|
|
|
2533
2088
|
terminationReason: string | null;
|
|
2534
2089
|
supervisorRecordNumber: number;
|
|
2535
2090
|
}[], (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<{
|
|
2091
|
+
employeeId: string;
|
|
2092
|
+
})[], never> | undefined;
|
|
2093
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
|
|
2094
|
+
employeeId: string;
|
|
2095
|
+
})[], {
|
|
2096
|
+
badgeId: string;
|
|
2097
|
+
category: string;
|
|
2098
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
2099
|
+
companyCode: string;
|
|
2100
|
+
contactPhone: string;
|
|
2101
|
+
departmentId: string;
|
|
2102
|
+
departmentDescription: string;
|
|
2103
|
+
emailString: string | null;
|
|
2104
|
+
employeeId: string;
|
|
2105
|
+
extensionNumber: string;
|
|
2106
|
+
firstName: string;
|
|
2107
|
+
gender: string;
|
|
2108
|
+
hiredDate: Date;
|
|
2109
|
+
lastName: string;
|
|
2110
|
+
managerId: string;
|
|
2111
|
+
middleName: string;
|
|
2112
|
+
name: string;
|
|
2113
|
+
nameTitleCase: string;
|
|
2114
|
+
nfcSn: string;
|
|
2115
|
+
plantId: string;
|
|
2116
|
+
position: string;
|
|
2117
|
+
previousEmployeeIds: string | null;
|
|
2118
|
+
reHiredDate: Date | null;
|
|
2119
|
+
recordNumber: number;
|
|
2120
|
+
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2121
|
+
supervisorId: string;
|
|
2122
|
+
terminationDate: Date | null;
|
|
2123
|
+
terminationFutureDate: Date | null;
|
|
2124
|
+
type: string;
|
|
2125
|
+
upperDepartmentId: string;
|
|
2126
|
+
jobCode: string;
|
|
2127
|
+
jobDescription: string;
|
|
2128
|
+
terminationReason: string | null;
|
|
2129
|
+
supervisorRecordNumber: number;
|
|
2130
|
+
}[], Error>;
|
|
2131
|
+
export declare const employeeManagerQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2582
2132
|
badgeId: string;
|
|
2583
2133
|
category: string;
|
|
2584
2134
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -2689,50 +2239,45 @@ declare const employeeManagerQueryOptions: (params: z.infer<typeof EmployeeIdSch
|
|
|
2689
2239
|
}, (string | {
|
|
2690
2240
|
employeeId: string;
|
|
2691
2241
|
})[], 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<{
|
|
2242
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
|
|
2243
|
+
employeeId: string;
|
|
2244
|
+
})[], {
|
|
2245
|
+
badgeId: string;
|
|
2246
|
+
category: string;
|
|
2247
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
2248
|
+
companyCode: string;
|
|
2249
|
+
contactPhone: string;
|
|
2250
|
+
departmentId: string;
|
|
2251
|
+
departmentDescription: string;
|
|
2252
|
+
emailString: string | null;
|
|
2253
|
+
employeeId: string;
|
|
2254
|
+
extensionNumber: string;
|
|
2255
|
+
firstName: string;
|
|
2256
|
+
gender: string;
|
|
2257
|
+
hiredDate: Date;
|
|
2258
|
+
lastName: string;
|
|
2259
|
+
managerId: string;
|
|
2260
|
+
middleName: string;
|
|
2261
|
+
name: string;
|
|
2262
|
+
nameTitleCase: string;
|
|
2263
|
+
nfcSn: string;
|
|
2264
|
+
plantId: string;
|
|
2265
|
+
position: string;
|
|
2266
|
+
previousEmployeeIds: string | null;
|
|
2267
|
+
reHiredDate: Date | null;
|
|
2268
|
+
recordNumber: number;
|
|
2269
|
+
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2270
|
+
supervisorId: string;
|
|
2271
|
+
terminationDate: Date | null;
|
|
2272
|
+
terminationFutureDate: Date | null;
|
|
2273
|
+
type: string;
|
|
2274
|
+
upperDepartmentId: string;
|
|
2275
|
+
jobCode: string;
|
|
2276
|
+
jobDescription: string;
|
|
2277
|
+
terminationReason: string | null;
|
|
2278
|
+
supervisorRecordNumber: number;
|
|
2279
|
+
}, Error>;
|
|
2280
|
+
export declare const employeeGeneralManagerQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2736
2281
|
badgeId: string;
|
|
2737
2282
|
category: string;
|
|
2738
2283
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -2843,50 +2388,45 @@ declare const employeeGeneralManagerQueryOptions: (params: z.infer<typeof Employ
|
|
|
2843
2388
|
}, (string | {
|
|
2844
2389
|
employeeId: string;
|
|
2845
2390
|
})[], 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<{
|
|
2391
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
|
|
2392
|
+
employeeId: string;
|
|
2393
|
+
})[], {
|
|
2394
|
+
badgeId: string;
|
|
2395
|
+
category: string;
|
|
2396
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
2397
|
+
companyCode: string;
|
|
2398
|
+
contactPhone: string;
|
|
2399
|
+
departmentId: string;
|
|
2400
|
+
departmentDescription: string;
|
|
2401
|
+
emailString: string | null;
|
|
2402
|
+
employeeId: string;
|
|
2403
|
+
extensionNumber: string;
|
|
2404
|
+
firstName: string;
|
|
2405
|
+
gender: string;
|
|
2406
|
+
hiredDate: Date;
|
|
2407
|
+
lastName: string;
|
|
2408
|
+
managerId: string;
|
|
2409
|
+
middleName: string;
|
|
2410
|
+
name: string;
|
|
2411
|
+
nameTitleCase: string;
|
|
2412
|
+
nfcSn: string;
|
|
2413
|
+
plantId: string;
|
|
2414
|
+
position: string;
|
|
2415
|
+
previousEmployeeIds: string | null;
|
|
2416
|
+
reHiredDate: Date | null;
|
|
2417
|
+
recordNumber: number;
|
|
2418
|
+
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2419
|
+
supervisorId: string;
|
|
2420
|
+
terminationDate: Date | null;
|
|
2421
|
+
terminationFutureDate: Date | null;
|
|
2422
|
+
type: string;
|
|
2423
|
+
upperDepartmentId: string;
|
|
2424
|
+
jobCode: string;
|
|
2425
|
+
jobDescription: string;
|
|
2426
|
+
terminationReason: string | null;
|
|
2427
|
+
supervisorRecordNumber: number;
|
|
2428
|
+
}, Error>;
|
|
2429
|
+
export declare const departmentsQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2890
2430
|
departmentId: string;
|
|
2891
2431
|
description: string;
|
|
2892
2432
|
managerId: string;
|
|
@@ -3029,60 +2569,55 @@ declare const departmentsQueryOptions: () => import("@tanstack/query-core").Omit
|
|
|
3029
2569
|
supervisorRecordNumber: number;
|
|
3030
2570
|
};
|
|
3031
2571
|
}[], 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;
|
|
2572
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
|
|
2573
|
+
departmentId: string;
|
|
2574
|
+
description: string;
|
|
2575
|
+
managerId: string;
|
|
2576
|
+
managerRecordNumber: string;
|
|
2577
|
+
treeLevel: number;
|
|
2578
|
+
upperDepartmentId: string;
|
|
2579
|
+
companyCode: string;
|
|
2580
|
+
location: string;
|
|
2581
|
+
salLocation: string;
|
|
2582
|
+
plantId: string;
|
|
2583
|
+
manager: {
|
|
2584
|
+
badgeId: string;
|
|
2585
|
+
category: string;
|
|
2586
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
2587
|
+
companyCode: string;
|
|
2588
|
+
contactPhone: string;
|
|
2589
|
+
departmentId: string;
|
|
2590
|
+
departmentDescription: string;
|
|
2591
|
+
emailString: string | null;
|
|
2592
|
+
employeeId: string;
|
|
2593
|
+
extensionNumber: string;
|
|
2594
|
+
firstName: string;
|
|
2595
|
+
gender: string;
|
|
2596
|
+
hiredDate: Date;
|
|
2597
|
+
lastName: string;
|
|
2598
|
+
managerId: string;
|
|
2599
|
+
middleName: string;
|
|
2600
|
+
name: string;
|
|
2601
|
+
nameTitleCase: string;
|
|
2602
|
+
nfcSn: string;
|
|
2603
|
+
plantId: string;
|
|
2604
|
+
position: string;
|
|
2605
|
+
previousEmployeeIds: string | null;
|
|
2606
|
+
reHiredDate: Date | null;
|
|
2607
|
+
recordNumber: number;
|
|
2608
|
+
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2609
|
+
supervisorId: string;
|
|
2610
|
+
terminationDate: Date | null;
|
|
2611
|
+
terminationFutureDate: Date | null;
|
|
2612
|
+
type: string;
|
|
2613
|
+
upperDepartmentId: string;
|
|
2614
|
+
jobCode: string;
|
|
2615
|
+
jobDescription: string;
|
|
2616
|
+
terminationReason: string | null;
|
|
2617
|
+
supervisorRecordNumber: number;
|
|
3083
2618
|
};
|
|
3084
|
-
}
|
|
3085
|
-
declare const departmentByIdQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2619
|
+
}[], Error>;
|
|
2620
|
+
export declare const departmentByIdQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
3086
2621
|
departmentId: string;
|
|
3087
2622
|
description: string;
|
|
3088
2623
|
managerId: string;
|
|
@@ -3229,62 +2764,57 @@ declare const departmentByIdQueryOptions: (params: z.infer<typeof DepartmentIdSc
|
|
|
3229
2764
|
}, (string | {
|
|
3230
2765
|
departmentId: string;
|
|
3231
2766
|
})[], never> | undefined;
|
|
3232
|
-
} & {
|
|
3233
|
-
|
|
2767
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
|
|
2768
|
+
departmentId: string;
|
|
2769
|
+
})[], {
|
|
2770
|
+
departmentId: string;
|
|
2771
|
+
description: string;
|
|
2772
|
+
managerId: string;
|
|
2773
|
+
managerRecordNumber: string;
|
|
2774
|
+
treeLevel: number;
|
|
2775
|
+
upperDepartmentId: string;
|
|
2776
|
+
companyCode: string;
|
|
2777
|
+
location: string;
|
|
2778
|
+
salLocation: string;
|
|
2779
|
+
plantId: string;
|
|
2780
|
+
manager: {
|
|
2781
|
+
badgeId: string;
|
|
2782
|
+
category: string;
|
|
2783
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
2784
|
+
companyCode: string;
|
|
2785
|
+
contactPhone: string;
|
|
3234
2786
|
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;
|
|
2787
|
+
departmentDescription: string;
|
|
2788
|
+
emailString: string | null;
|
|
2789
|
+
employeeId: string;
|
|
2790
|
+
extensionNumber: string;
|
|
2791
|
+
firstName: string;
|
|
2792
|
+
gender: string;
|
|
2793
|
+
hiredDate: Date;
|
|
2794
|
+
lastName: string;
|
|
2795
|
+
managerId: string;
|
|
2796
|
+
middleName: string;
|
|
2797
|
+
name: string;
|
|
2798
|
+
nameTitleCase: string;
|
|
2799
|
+
nfcSn: string;
|
|
2800
|
+
plantId: string;
|
|
2801
|
+
position: string;
|
|
2802
|
+
previousEmployeeIds: string | null;
|
|
2803
|
+
reHiredDate: Date | null;
|
|
2804
|
+
recordNumber: number;
|
|
2805
|
+
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2806
|
+
supervisorId: string;
|
|
2807
|
+
terminationDate: Date | null;
|
|
2808
|
+
terminationFutureDate: Date | null;
|
|
2809
|
+
type: string;
|
|
2810
|
+
upperDepartmentId: string;
|
|
2811
|
+
jobCode: string;
|
|
2812
|
+
jobDescription: string;
|
|
2813
|
+
terminationReason: string | null;
|
|
2814
|
+
supervisorRecordNumber: number;
|
|
3285
2815
|
};
|
|
3286
|
-
}
|
|
3287
|
-
declare const departmentManagerQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2816
|
+
}, Error>;
|
|
2817
|
+
export declare const departmentManagerQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
3288
2818
|
badgeId: string;
|
|
3289
2819
|
category: string;
|
|
3290
2820
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -3395,50 +2925,45 @@ declare const departmentManagerQueryOptions: (params: z.infer<typeof DepartmentI
|
|
|
3395
2925
|
}, (string | {
|
|
3396
2926
|
departmentId: string;
|
|
3397
2927
|
})[], 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<{
|
|
2928
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
|
|
2929
|
+
departmentId: string;
|
|
2930
|
+
})[], {
|
|
2931
|
+
badgeId: string;
|
|
2932
|
+
category: string;
|
|
2933
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
2934
|
+
companyCode: string;
|
|
2935
|
+
contactPhone: string;
|
|
2936
|
+
departmentId: string;
|
|
2937
|
+
departmentDescription: string;
|
|
2938
|
+
emailString: string | null;
|
|
2939
|
+
employeeId: string;
|
|
2940
|
+
extensionNumber: string;
|
|
2941
|
+
firstName: string;
|
|
2942
|
+
gender: string;
|
|
2943
|
+
hiredDate: Date;
|
|
2944
|
+
lastName: string;
|
|
2945
|
+
managerId: string;
|
|
2946
|
+
middleName: string;
|
|
2947
|
+
name: string;
|
|
2948
|
+
nameTitleCase: string;
|
|
2949
|
+
nfcSn: string;
|
|
2950
|
+
plantId: string;
|
|
2951
|
+
position: string;
|
|
2952
|
+
previousEmployeeIds: string | null;
|
|
2953
|
+
reHiredDate: Date | null;
|
|
2954
|
+
recordNumber: number;
|
|
2955
|
+
status: "Active" | "Leave of Absence" | "Terminated";
|
|
2956
|
+
supervisorId: string;
|
|
2957
|
+
terminationDate: Date | null;
|
|
2958
|
+
terminationFutureDate: Date | null;
|
|
2959
|
+
type: string;
|
|
2960
|
+
upperDepartmentId: string;
|
|
2961
|
+
jobCode: string;
|
|
2962
|
+
jobDescription: string;
|
|
2963
|
+
terminationReason: string | null;
|
|
2964
|
+
supervisorRecordNumber: number;
|
|
2965
|
+
}, Error>;
|
|
2966
|
+
export declare const departmentEmployeesQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
3442
2967
|
badgeId: string;
|
|
3443
2968
|
category: string;
|
|
3444
2969
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -3549,50 +3074,45 @@ declare const departmentEmployeesQueryOptions: (params: z.infer<typeof Departmen
|
|
|
3549
3074
|
}[], (string | {
|
|
3550
3075
|
departmentId: string;
|
|
3551
3076
|
})[], 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<{
|
|
3077
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
|
|
3078
|
+
departmentId: string;
|
|
3079
|
+
})[], {
|
|
3080
|
+
badgeId: string;
|
|
3081
|
+
category: string;
|
|
3082
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
3083
|
+
companyCode: string;
|
|
3084
|
+
contactPhone: string;
|
|
3085
|
+
departmentId: string;
|
|
3086
|
+
departmentDescription: string;
|
|
3087
|
+
emailString: string | null;
|
|
3088
|
+
employeeId: string;
|
|
3089
|
+
extensionNumber: string;
|
|
3090
|
+
firstName: string;
|
|
3091
|
+
gender: string;
|
|
3092
|
+
hiredDate: Date;
|
|
3093
|
+
lastName: string;
|
|
3094
|
+
managerId: string;
|
|
3095
|
+
middleName: string;
|
|
3096
|
+
name: string;
|
|
3097
|
+
nameTitleCase: string;
|
|
3098
|
+
nfcSn: string;
|
|
3099
|
+
plantId: string;
|
|
3100
|
+
position: string;
|
|
3101
|
+
previousEmployeeIds: string | null;
|
|
3102
|
+
reHiredDate: Date | null;
|
|
3103
|
+
recordNumber: number;
|
|
3104
|
+
status: "Active" | "Leave of Absence" | "Terminated";
|
|
3105
|
+
supervisorId: string;
|
|
3106
|
+
terminationDate: Date | null;
|
|
3107
|
+
terminationFutureDate: Date | null;
|
|
3108
|
+
type: string;
|
|
3109
|
+
upperDepartmentId: string;
|
|
3110
|
+
jobCode: string;
|
|
3111
|
+
jobDescription: string;
|
|
3112
|
+
terminationReason: string | null;
|
|
3113
|
+
supervisorRecordNumber: number;
|
|
3114
|
+
}[], Error>;
|
|
3115
|
+
export declare const companyGeneralManagerQueryOptions: (params: z.infer<typeof CompanyCodeSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
3596
3116
|
badgeId: string;
|
|
3597
3117
|
category: string;
|
|
3598
3118
|
categoryGroup: "FD" | "FI" | "IDL";
|
|
@@ -3703,49 +3223,43 @@ declare const companyGeneralManagerQueryOptions: (params: z.infer<typeof Company
|
|
|
3703
3223
|
}, (string | {
|
|
3704
3224
|
companyCode: string;
|
|
3705
3225
|
})[], 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
|
-
};
|
|
3226
|
+
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
|
|
3227
|
+
companyCode: string;
|
|
3228
|
+
})[], {
|
|
3229
|
+
badgeId: string;
|
|
3230
|
+
category: string;
|
|
3231
|
+
categoryGroup: "FD" | "FI" | "IDL";
|
|
3232
|
+
companyCode: string;
|
|
3233
|
+
contactPhone: string;
|
|
3234
|
+
departmentId: string;
|
|
3235
|
+
departmentDescription: string;
|
|
3236
|
+
emailString: string | null;
|
|
3237
|
+
employeeId: string;
|
|
3238
|
+
extensionNumber: string;
|
|
3239
|
+
firstName: string;
|
|
3240
|
+
gender: string;
|
|
3241
|
+
hiredDate: Date;
|
|
3242
|
+
lastName: string;
|
|
3243
|
+
managerId: string;
|
|
3244
|
+
middleName: string;
|
|
3245
|
+
name: string;
|
|
3246
|
+
nameTitleCase: string;
|
|
3247
|
+
nfcSn: string;
|
|
3248
|
+
plantId: string;
|
|
3249
|
+
position: string;
|
|
3250
|
+
previousEmployeeIds: string | null;
|
|
3251
|
+
reHiredDate: Date | null;
|
|
3252
|
+
recordNumber: number;
|
|
3253
|
+
status: "Active" | "Leave of Absence" | "Terminated";
|
|
3254
|
+
supervisorId: string;
|
|
3255
|
+
terminationDate: Date | null;
|
|
3256
|
+
terminationFutureDate: Date | null;
|
|
3257
|
+
type: string;
|
|
3258
|
+
upperDepartmentId: string;
|
|
3259
|
+
jobCode: string;
|
|
3260
|
+
jobDescription: string;
|
|
3261
|
+
terminationReason: string | null;
|
|
3262
|
+
supervisorRecordNumber: number;
|
|
3263
|
+
}, Error>;
|
|
3749
3264
|
//#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
3265
|
//# sourceMappingURL=client.d.mts.map
|