wcz-test 7.1.1 → 7.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/components/core/AppTitle.d.ts +2 -0
  2. package/dist/components/core/Fullscreen.d.ts +3 -0
  3. package/dist/components/core/Layout.d.ts +8 -0
  4. package/dist/components/core/ToolbarAccount.d.ts +2 -0
  5. package/dist/components/core/TypographyWithIcon.d.ts +7 -0
  6. package/dist/components/core/navigation/NavigationList.d.ts +22 -0
  7. package/dist/components/core/navigation/NavigationListItem.d.ts +16 -0
  8. package/dist/components/core/navigation/NavigationRail.d.ts +12 -0
  9. package/dist/components/data-grid/ChipInputCell.d.ts +9 -0
  10. package/dist/components/data-grid/EditableColumnHeader.d.ts +2 -0
  11. package/dist/components/file/Dropzone.d.ts +8 -0
  12. package/dist/components/file/FileViewer.d.ts +20 -0
  13. package/dist/components/file/fileViewer/FileViewerGrid.d.ts +17 -0
  14. package/dist/components/file/fileViewer/FileViewerList.d.ts +12 -0
  15. package/dist/components/file/fileViewer/ImageViewer.d.ts +6 -0
  16. package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +15 -0
  17. package/dist/components/form/FormAutocomplete.d.ts +7 -0
  18. package/dist/components/form/FormCheckbox.d.ts +7 -0
  19. package/dist/components/form/FormDatePicker.d.ts +8 -0
  20. package/dist/components/form/FormDateRangePicker.d.ts +8 -0
  21. package/dist/components/form/FormDateTimePicker.d.ts +8 -0
  22. package/dist/components/form/FormDateTimeRangePicker.d.ts +8 -0
  23. package/dist/components/form/FormNumberField.d.ts +9 -0
  24. package/dist/components/form/FormRadioGroup.d.ts +13 -0
  25. package/dist/components/form/FormSlider.d.ts +7 -0
  26. package/dist/components/form/FormSubmitButton.d.ts +4 -0
  27. package/dist/components/form/FormSwitch.d.ts +7 -0
  28. package/dist/components/form/FormTextField.d.ts +7 -0
  29. package/dist/components/form/FormTimePicker.d.ts +8 -0
  30. package/dist/components/form/FormTimeRangePicker.d.ts +8 -0
  31. package/dist/components/router/RouterButton.d.ts +6 -0
  32. package/dist/components/router/RouterError.d.ts +7 -0
  33. package/dist/components/router/RouterGridActionsCellItem.d.ts +6 -0
  34. package/dist/components/router/RouterIconButton.d.ts +6 -0
  35. package/dist/components/router/RouterLink.d.ts +6 -0
  36. package/dist/components/router/RouterListItemButton.d.ts +6 -0
  37. package/dist/components/router/RouterNotFound.d.ts +1 -0
  38. package/dist/components/router/RouterTab.d.ts +6 -0
  39. package/dist/contexts/DialogsContext.d.ts +6 -0
  40. package/dist/contexts/FileContext.d.ts +13 -0
  41. package/dist/hooks/DialogsHooks.d.ts +42 -0
  42. package/dist/hooks/FormHooks.d.ts +52 -0
  43. package/dist/hooks/User.d.ts +8 -0
  44. package/dist/lib/auth/permissions.d.ts +3 -0
  45. package/dist/lib/auth/scopes.d.ts +3 -0
  46. package/dist/lib/queryClient.d.ts +2 -0
  47. package/dist/lib/utils.d.ts +61 -0
  48. package/dist/lib/vite-plugin.d.ts +2 -0
  49. package/dist/models/Navigation.d.ts +18 -0
  50. package/dist/models/User.d.ts +13 -0
  51. package/dist/models/approval/Approval.d.ts +177 -0
  52. package/dist/models/approval/ApprovalEmployee.d.ts +7 -0
  53. package/dist/models/approval/ApprovalFlow.d.ts +49 -0
  54. package/dist/models/approval/ApprovalFlowStep.d.ts +29 -0
  55. package/dist/models/approval/ApprovalRequestType.d.ts +5 -0
  56. package/dist/models/approval/ApprovalStatus.d.ts +9 -0
  57. package/dist/models/approval/ApprovalStepResult.d.ts +11 -0
  58. package/dist/models/approval/StepApprovalOrder.d.ts +6 -0
  59. package/dist/models/email/Email.d.ts +13 -0
  60. package/dist/models/email/EmailAttachment.d.ts +6 -0
  61. package/dist/models/file/FileActions.d.ts +6 -0
  62. package/dist/models/file/FileMeta.d.ts +15 -0
  63. package/dist/models/peoplesoft/Department.d.ts +58 -0
  64. package/dist/models/peoplesoft/Employee.d.ts +46 -0
  65. package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +6 -0
  66. package/dist/models/peoplesoft/EmployeeStatus.d.ts +6 -0
  67. package/dist/providers/AuthProvider.d.ts +8 -0
  68. package/dist/providers/DialogsProvider.d.ts +5 -0
  69. package/dist/providers/LayoutProvider.d.ts +10 -0
  70. package/dist/queries/ApprovalHooks.d.ts +661 -0
  71. package/dist/queries/FileHooks.d.ts +205 -0
  72. package/dist/queries/GraphQueries.d.ts +31 -0
  73. package/dist/queries/PeopleSoftHooks.d.ts +2173 -0
  74. package/dist/queries/index.d.ts +2958 -0
  75. package/package.json +8 -8
@@ -0,0 +1,2958 @@
1
+ export declare const query: {
2
+ peopleSoft: {
3
+ employeesSearch: (searchTerm: string) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
4
+ badgeId: string;
5
+ category: string;
6
+ categoryGroup: "IDL" | "FD" | "FI";
7
+ companyCode: string;
8
+ contactPhone: string;
9
+ departmentId: string;
10
+ departmentDescription: string;
11
+ emailString: string;
12
+ employeeId: string;
13
+ extensionNumber: string;
14
+ firstName: string;
15
+ gender: string;
16
+ hiredDate: Date;
17
+ lastName: string;
18
+ managerId: string;
19
+ middleName: string;
20
+ name: string;
21
+ nameTitleCase: string;
22
+ nfcSn: string;
23
+ plantId: string;
24
+ position: string;
25
+ previousEmployeeIds: string | null;
26
+ reHiredDate: Date | null;
27
+ recordNumber: number;
28
+ status: "Active" | "Terminated" | "Leave of Absence";
29
+ supervisorId: string;
30
+ terminationDate: Date | null;
31
+ terminationFutureDate: Date | null;
32
+ type: string;
33
+ upperDepartmentId: string;
34
+ jobCode: string;
35
+ jobDescription: string;
36
+ terminationReason: string | null;
37
+ supervisorRecordNumber: number;
38
+ }[], Error, {
39
+ badgeId: string;
40
+ category: string;
41
+ categoryGroup: "IDL" | "FD" | "FI";
42
+ companyCode: string;
43
+ contactPhone: string;
44
+ departmentId: string;
45
+ departmentDescription: string;
46
+ emailString: string;
47
+ employeeId: string;
48
+ extensionNumber: string;
49
+ firstName: string;
50
+ gender: string;
51
+ hiredDate: Date;
52
+ lastName: string;
53
+ managerId: string;
54
+ middleName: string;
55
+ name: string;
56
+ nameTitleCase: string;
57
+ nfcSn: string;
58
+ plantId: string;
59
+ position: string;
60
+ previousEmployeeIds: string | null;
61
+ reHiredDate: Date | null;
62
+ recordNumber: number;
63
+ status: "Active" | "Terminated" | "Leave of Absence";
64
+ supervisorId: string;
65
+ terminationDate: Date | null;
66
+ terminationFutureDate: Date | null;
67
+ type: string;
68
+ upperDepartmentId: string;
69
+ jobCode: string;
70
+ jobDescription: string;
71
+ terminationReason: string | null;
72
+ supervisorRecordNumber: number;
73
+ }[], string[]>, "queryFn"> & {
74
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
75
+ badgeId: string;
76
+ category: string;
77
+ categoryGroup: "IDL" | "FD" | "FI";
78
+ companyCode: string;
79
+ contactPhone: string;
80
+ departmentId: string;
81
+ departmentDescription: string;
82
+ emailString: string;
83
+ employeeId: string;
84
+ extensionNumber: string;
85
+ firstName: string;
86
+ gender: string;
87
+ hiredDate: Date;
88
+ lastName: string;
89
+ managerId: string;
90
+ middleName: string;
91
+ name: string;
92
+ nameTitleCase: string;
93
+ nfcSn: string;
94
+ plantId: string;
95
+ position: string;
96
+ previousEmployeeIds: string | null;
97
+ reHiredDate: Date | null;
98
+ recordNumber: number;
99
+ status: "Active" | "Terminated" | "Leave of Absence";
100
+ supervisorId: string;
101
+ terminationDate: Date | null;
102
+ terminationFutureDate: Date | null;
103
+ type: string;
104
+ upperDepartmentId: string;
105
+ jobCode: string;
106
+ jobDescription: string;
107
+ terminationReason: string | null;
108
+ supervisorRecordNumber: number;
109
+ }[], string[], never> | undefined;
110
+ } & {
111
+ queryKey: string[] & {
112
+ [dataTagSymbol]: {
113
+ badgeId: string;
114
+ category: string;
115
+ categoryGroup: "IDL" | "FD" | "FI";
116
+ companyCode: string;
117
+ contactPhone: string;
118
+ departmentId: string;
119
+ departmentDescription: string;
120
+ emailString: string;
121
+ employeeId: string;
122
+ extensionNumber: string;
123
+ firstName: string;
124
+ gender: string;
125
+ hiredDate: Date;
126
+ lastName: string;
127
+ managerId: string;
128
+ middleName: string;
129
+ name: string;
130
+ nameTitleCase: string;
131
+ nfcSn: string;
132
+ plantId: string;
133
+ position: string;
134
+ previousEmployeeIds: string | null;
135
+ reHiredDate: Date | null;
136
+ recordNumber: number;
137
+ status: "Active" | "Terminated" | "Leave of Absence";
138
+ supervisorId: string;
139
+ terminationDate: Date | null;
140
+ terminationFutureDate: Date | null;
141
+ type: string;
142
+ upperDepartmentId: string;
143
+ jobCode: string;
144
+ jobDescription: string;
145
+ terminationReason: string | null;
146
+ supervisorRecordNumber: number;
147
+ }[];
148
+ [dataTagErrorSymbol]: Error;
149
+ };
150
+ };
151
+ employees: () => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
152
+ badgeId: string;
153
+ category: string;
154
+ categoryGroup: "IDL" | "FD" | "FI";
155
+ companyCode: string;
156
+ contactPhone: string;
157
+ departmentId: string;
158
+ departmentDescription: string;
159
+ emailString: string;
160
+ employeeId: string;
161
+ extensionNumber: string;
162
+ firstName: string;
163
+ gender: string;
164
+ hiredDate: Date;
165
+ lastName: string;
166
+ managerId: string;
167
+ middleName: string;
168
+ name: string;
169
+ nameTitleCase: string;
170
+ nfcSn: string;
171
+ plantId: string;
172
+ position: string;
173
+ previousEmployeeIds: string | null;
174
+ reHiredDate: Date | null;
175
+ recordNumber: number;
176
+ status: "Active" | "Terminated" | "Leave of Absence";
177
+ supervisorId: string;
178
+ terminationDate: Date | null;
179
+ terminationFutureDate: Date | null;
180
+ type: string;
181
+ upperDepartmentId: string;
182
+ jobCode: string;
183
+ jobDescription: string;
184
+ terminationReason: string | null;
185
+ supervisorRecordNumber: number;
186
+ }[], Error, {
187
+ badgeId: string;
188
+ category: string;
189
+ categoryGroup: "IDL" | "FD" | "FI";
190
+ companyCode: string;
191
+ contactPhone: string;
192
+ departmentId: string;
193
+ departmentDescription: string;
194
+ emailString: string;
195
+ employeeId: string;
196
+ extensionNumber: string;
197
+ firstName: string;
198
+ gender: string;
199
+ hiredDate: Date;
200
+ lastName: string;
201
+ managerId: string;
202
+ middleName: string;
203
+ name: string;
204
+ nameTitleCase: string;
205
+ nfcSn: string;
206
+ plantId: string;
207
+ position: string;
208
+ previousEmployeeIds: string | null;
209
+ reHiredDate: Date | null;
210
+ recordNumber: number;
211
+ status: "Active" | "Terminated" | "Leave of Absence";
212
+ supervisorId: string;
213
+ terminationDate: Date | null;
214
+ terminationFutureDate: Date | null;
215
+ type: string;
216
+ upperDepartmentId: string;
217
+ jobCode: string;
218
+ jobDescription: string;
219
+ terminationReason: string | null;
220
+ supervisorRecordNumber: number;
221
+ }[], string[]>, "queryFn"> & {
222
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
223
+ badgeId: string;
224
+ category: string;
225
+ categoryGroup: "IDL" | "FD" | "FI";
226
+ companyCode: string;
227
+ contactPhone: string;
228
+ departmentId: string;
229
+ departmentDescription: string;
230
+ emailString: string;
231
+ employeeId: string;
232
+ extensionNumber: string;
233
+ firstName: string;
234
+ gender: string;
235
+ hiredDate: Date;
236
+ lastName: string;
237
+ managerId: string;
238
+ middleName: string;
239
+ name: string;
240
+ nameTitleCase: string;
241
+ nfcSn: string;
242
+ plantId: string;
243
+ position: string;
244
+ previousEmployeeIds: string | null;
245
+ reHiredDate: Date | null;
246
+ recordNumber: number;
247
+ status: "Active" | "Terminated" | "Leave of Absence";
248
+ supervisorId: string;
249
+ terminationDate: Date | null;
250
+ terminationFutureDate: Date | null;
251
+ type: string;
252
+ upperDepartmentId: string;
253
+ jobCode: string;
254
+ jobDescription: string;
255
+ terminationReason: string | null;
256
+ supervisorRecordNumber: number;
257
+ }[], string[], never> | undefined;
258
+ } & {
259
+ queryKey: string[] & {
260
+ [dataTagSymbol]: {
261
+ badgeId: string;
262
+ category: string;
263
+ categoryGroup: "IDL" | "FD" | "FI";
264
+ companyCode: string;
265
+ contactPhone: string;
266
+ departmentId: string;
267
+ departmentDescription: string;
268
+ emailString: string;
269
+ employeeId: string;
270
+ extensionNumber: string;
271
+ firstName: string;
272
+ gender: string;
273
+ hiredDate: Date;
274
+ lastName: string;
275
+ managerId: string;
276
+ middleName: string;
277
+ name: string;
278
+ nameTitleCase: string;
279
+ nfcSn: string;
280
+ plantId: string;
281
+ position: string;
282
+ previousEmployeeIds: string | null;
283
+ reHiredDate: Date | null;
284
+ recordNumber: number;
285
+ status: "Active" | "Terminated" | "Leave of Absence";
286
+ supervisorId: string;
287
+ terminationDate: Date | null;
288
+ terminationFutureDate: Date | null;
289
+ type: string;
290
+ upperDepartmentId: string;
291
+ jobCode: string;
292
+ jobDescription: string;
293
+ terminationReason: string | null;
294
+ supervisorRecordNumber: number;
295
+ }[];
296
+ [dataTagErrorSymbol]: Error;
297
+ };
298
+ };
299
+ activeEmployees: () => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
300
+ badgeId: string;
301
+ category: string;
302
+ categoryGroup: "IDL" | "FD" | "FI";
303
+ companyCode: string;
304
+ contactPhone: string;
305
+ departmentId: string;
306
+ departmentDescription: string;
307
+ emailString: string;
308
+ employeeId: string;
309
+ extensionNumber: string;
310
+ firstName: string;
311
+ gender: string;
312
+ hiredDate: Date;
313
+ lastName: string;
314
+ managerId: string;
315
+ middleName: string;
316
+ name: string;
317
+ nameTitleCase: string;
318
+ nfcSn: string;
319
+ plantId: string;
320
+ position: string;
321
+ previousEmployeeIds: string | null;
322
+ reHiredDate: Date | null;
323
+ recordNumber: number;
324
+ status: "Active" | "Terminated" | "Leave of Absence";
325
+ supervisorId: string;
326
+ terminationDate: Date | null;
327
+ terminationFutureDate: Date | null;
328
+ type: string;
329
+ upperDepartmentId: string;
330
+ jobCode: string;
331
+ jobDescription: string;
332
+ terminationReason: string | null;
333
+ supervisorRecordNumber: number;
334
+ }[], Error, {
335
+ badgeId: string;
336
+ category: string;
337
+ categoryGroup: "IDL" | "FD" | "FI";
338
+ companyCode: string;
339
+ contactPhone: string;
340
+ departmentId: string;
341
+ departmentDescription: string;
342
+ emailString: string;
343
+ employeeId: string;
344
+ extensionNumber: string;
345
+ firstName: string;
346
+ gender: string;
347
+ hiredDate: Date;
348
+ lastName: string;
349
+ managerId: string;
350
+ middleName: string;
351
+ name: string;
352
+ nameTitleCase: string;
353
+ nfcSn: string;
354
+ plantId: string;
355
+ position: string;
356
+ previousEmployeeIds: string | null;
357
+ reHiredDate: Date | null;
358
+ recordNumber: number;
359
+ status: "Active" | "Terminated" | "Leave of Absence";
360
+ supervisorId: string;
361
+ terminationDate: Date | null;
362
+ terminationFutureDate: Date | null;
363
+ type: string;
364
+ upperDepartmentId: string;
365
+ jobCode: string;
366
+ jobDescription: string;
367
+ terminationReason: string | null;
368
+ supervisorRecordNumber: number;
369
+ }[], string[]>, "queryFn"> & {
370
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
371
+ badgeId: string;
372
+ category: string;
373
+ categoryGroup: "IDL" | "FD" | "FI";
374
+ companyCode: string;
375
+ contactPhone: string;
376
+ departmentId: string;
377
+ departmentDescription: string;
378
+ emailString: string;
379
+ employeeId: string;
380
+ extensionNumber: string;
381
+ firstName: string;
382
+ gender: string;
383
+ hiredDate: Date;
384
+ lastName: string;
385
+ managerId: string;
386
+ middleName: string;
387
+ name: string;
388
+ nameTitleCase: string;
389
+ nfcSn: string;
390
+ plantId: string;
391
+ position: string;
392
+ previousEmployeeIds: string | null;
393
+ reHiredDate: Date | null;
394
+ recordNumber: number;
395
+ status: "Active" | "Terminated" | "Leave of Absence";
396
+ supervisorId: string;
397
+ terminationDate: Date | null;
398
+ terminationFutureDate: Date | null;
399
+ type: string;
400
+ upperDepartmentId: string;
401
+ jobCode: string;
402
+ jobDescription: string;
403
+ terminationReason: string | null;
404
+ supervisorRecordNumber: number;
405
+ }[], string[], never> | undefined;
406
+ } & {
407
+ queryKey: string[] & {
408
+ [dataTagSymbol]: {
409
+ badgeId: string;
410
+ category: string;
411
+ categoryGroup: "IDL" | "FD" | "FI";
412
+ companyCode: string;
413
+ contactPhone: string;
414
+ departmentId: string;
415
+ departmentDescription: string;
416
+ emailString: string;
417
+ employeeId: string;
418
+ extensionNumber: string;
419
+ firstName: string;
420
+ gender: string;
421
+ hiredDate: Date;
422
+ lastName: string;
423
+ managerId: string;
424
+ middleName: string;
425
+ name: string;
426
+ nameTitleCase: string;
427
+ nfcSn: string;
428
+ plantId: string;
429
+ position: string;
430
+ previousEmployeeIds: string | null;
431
+ reHiredDate: Date | null;
432
+ recordNumber: number;
433
+ status: "Active" | "Terminated" | "Leave of Absence";
434
+ supervisorId: string;
435
+ terminationDate: Date | null;
436
+ terminationFutureDate: Date | null;
437
+ type: string;
438
+ upperDepartmentId: string;
439
+ jobCode: string;
440
+ jobDescription: string;
441
+ terminationReason: string | null;
442
+ supervisorRecordNumber: number;
443
+ }[];
444
+ [dataTagErrorSymbol]: Error;
445
+ };
446
+ };
447
+ employeeById: (employeeId: string | null | undefined) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
448
+ badgeId: string;
449
+ category: string;
450
+ categoryGroup: "IDL" | "FD" | "FI";
451
+ companyCode: string;
452
+ contactPhone: string;
453
+ departmentId: string;
454
+ departmentDescription: string;
455
+ emailString: string;
456
+ employeeId: string;
457
+ extensionNumber: string;
458
+ firstName: string;
459
+ gender: string;
460
+ hiredDate: Date;
461
+ lastName: string;
462
+ managerId: string;
463
+ middleName: string;
464
+ name: string;
465
+ nameTitleCase: string;
466
+ nfcSn: string;
467
+ plantId: string;
468
+ position: string;
469
+ previousEmployeeIds: string | null;
470
+ reHiredDate: Date | null;
471
+ recordNumber: number;
472
+ status: "Active" | "Terminated" | "Leave of Absence";
473
+ supervisorId: string;
474
+ terminationDate: Date | null;
475
+ terminationFutureDate: Date | null;
476
+ type: string;
477
+ upperDepartmentId: string;
478
+ jobCode: string;
479
+ jobDescription: string;
480
+ terminationReason: string | null;
481
+ supervisorRecordNumber: number;
482
+ }, Error, {
483
+ badgeId: string;
484
+ category: string;
485
+ categoryGroup: "IDL" | "FD" | "FI";
486
+ companyCode: string;
487
+ contactPhone: string;
488
+ departmentId: string;
489
+ departmentDescription: string;
490
+ emailString: string;
491
+ employeeId: string;
492
+ extensionNumber: string;
493
+ firstName: string;
494
+ gender: string;
495
+ hiredDate: Date;
496
+ lastName: string;
497
+ managerId: string;
498
+ middleName: string;
499
+ name: string;
500
+ nameTitleCase: string;
501
+ nfcSn: string;
502
+ plantId: string;
503
+ position: string;
504
+ previousEmployeeIds: string | null;
505
+ reHiredDate: Date | null;
506
+ recordNumber: number;
507
+ status: "Active" | "Terminated" | "Leave of Absence";
508
+ supervisorId: string;
509
+ terminationDate: Date | null;
510
+ terminationFutureDate: Date | null;
511
+ type: string;
512
+ upperDepartmentId: string;
513
+ jobCode: string;
514
+ jobDescription: string;
515
+ terminationReason: string | null;
516
+ supervisorRecordNumber: number;
517
+ }, (string | null | undefined)[]>, "queryFn"> & {
518
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
519
+ badgeId: string;
520
+ category: string;
521
+ categoryGroup: "IDL" | "FD" | "FI";
522
+ companyCode: string;
523
+ contactPhone: string;
524
+ departmentId: string;
525
+ departmentDescription: string;
526
+ emailString: string;
527
+ employeeId: string;
528
+ extensionNumber: string;
529
+ firstName: string;
530
+ gender: string;
531
+ hiredDate: Date;
532
+ lastName: string;
533
+ managerId: string;
534
+ middleName: string;
535
+ name: string;
536
+ nameTitleCase: string;
537
+ nfcSn: string;
538
+ plantId: string;
539
+ position: string;
540
+ previousEmployeeIds: string | null;
541
+ reHiredDate: Date | null;
542
+ recordNumber: number;
543
+ status: "Active" | "Terminated" | "Leave of Absence";
544
+ supervisorId: string;
545
+ terminationDate: Date | null;
546
+ terminationFutureDate: Date | null;
547
+ type: string;
548
+ upperDepartmentId: string;
549
+ jobCode: string;
550
+ jobDescription: string;
551
+ terminationReason: string | null;
552
+ supervisorRecordNumber: number;
553
+ }, (string | null | undefined)[], never> | undefined;
554
+ } & {
555
+ queryKey: (string | null | undefined)[] & {
556
+ [dataTagSymbol]: {
557
+ badgeId: string;
558
+ category: string;
559
+ categoryGroup: "IDL" | "FD" | "FI";
560
+ companyCode: string;
561
+ contactPhone: string;
562
+ departmentId: string;
563
+ departmentDescription: string;
564
+ emailString: string;
565
+ employeeId: string;
566
+ extensionNumber: string;
567
+ firstName: string;
568
+ gender: string;
569
+ hiredDate: Date;
570
+ lastName: string;
571
+ managerId: string;
572
+ middleName: string;
573
+ name: string;
574
+ nameTitleCase: string;
575
+ nfcSn: string;
576
+ plantId: string;
577
+ position: string;
578
+ previousEmployeeIds: string | null;
579
+ reHiredDate: Date | null;
580
+ recordNumber: number;
581
+ status: "Active" | "Terminated" | "Leave of Absence";
582
+ supervisorId: string;
583
+ terminationDate: Date | null;
584
+ terminationFutureDate: Date | null;
585
+ type: string;
586
+ upperDepartmentId: string;
587
+ jobCode: string;
588
+ jobDescription: string;
589
+ terminationReason: string | null;
590
+ supervisorRecordNumber: number;
591
+ };
592
+ [dataTagErrorSymbol]: Error;
593
+ };
594
+ };
595
+ previousEmployeeIds: () => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
596
+ badgeId: string;
597
+ category: string;
598
+ categoryGroup: "IDL" | "FD" | "FI";
599
+ companyCode: string;
600
+ contactPhone: string;
601
+ departmentId: string;
602
+ departmentDescription: string;
603
+ emailString: string;
604
+ employeeId: string;
605
+ extensionNumber: string;
606
+ firstName: string;
607
+ gender: string;
608
+ hiredDate: Date;
609
+ lastName: string;
610
+ managerId: string;
611
+ middleName: string;
612
+ name: string;
613
+ nameTitleCase: string;
614
+ nfcSn: string;
615
+ plantId: string;
616
+ position: string;
617
+ previousEmployeeIds: string | null;
618
+ reHiredDate: Date | null;
619
+ recordNumber: number;
620
+ status: "Active" | "Terminated" | "Leave of Absence";
621
+ supervisorId: string;
622
+ terminationDate: Date | null;
623
+ terminationFutureDate: Date | null;
624
+ type: string;
625
+ upperDepartmentId: string;
626
+ jobCode: string;
627
+ jobDescription: string;
628
+ terminationReason: string | null;
629
+ supervisorRecordNumber: number;
630
+ }[], Error, {
631
+ badgeId: string;
632
+ category: string;
633
+ categoryGroup: "IDL" | "FD" | "FI";
634
+ companyCode: string;
635
+ contactPhone: string;
636
+ departmentId: string;
637
+ departmentDescription: string;
638
+ emailString: string;
639
+ employeeId: string;
640
+ extensionNumber: string;
641
+ firstName: string;
642
+ gender: string;
643
+ hiredDate: Date;
644
+ lastName: string;
645
+ managerId: string;
646
+ middleName: string;
647
+ name: string;
648
+ nameTitleCase: string;
649
+ nfcSn: string;
650
+ plantId: string;
651
+ position: string;
652
+ previousEmployeeIds: string | null;
653
+ reHiredDate: Date | null;
654
+ recordNumber: number;
655
+ status: "Active" | "Terminated" | "Leave of Absence";
656
+ supervisorId: string;
657
+ terminationDate: Date | null;
658
+ terminationFutureDate: Date | null;
659
+ type: string;
660
+ upperDepartmentId: string;
661
+ jobCode: string;
662
+ jobDescription: string;
663
+ terminationReason: string | null;
664
+ supervisorRecordNumber: number;
665
+ }[], string[]>, "queryFn"> & {
666
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
667
+ badgeId: string;
668
+ category: string;
669
+ categoryGroup: "IDL" | "FD" | "FI";
670
+ companyCode: string;
671
+ contactPhone: string;
672
+ departmentId: string;
673
+ departmentDescription: string;
674
+ emailString: string;
675
+ employeeId: string;
676
+ extensionNumber: string;
677
+ firstName: string;
678
+ gender: string;
679
+ hiredDate: Date;
680
+ lastName: string;
681
+ managerId: string;
682
+ middleName: string;
683
+ name: string;
684
+ nameTitleCase: string;
685
+ nfcSn: string;
686
+ plantId: string;
687
+ position: string;
688
+ previousEmployeeIds: string | null;
689
+ reHiredDate: Date | null;
690
+ recordNumber: number;
691
+ status: "Active" | "Terminated" | "Leave of Absence";
692
+ supervisorId: string;
693
+ terminationDate: Date | null;
694
+ terminationFutureDate: Date | null;
695
+ type: string;
696
+ upperDepartmentId: string;
697
+ jobCode: string;
698
+ jobDescription: string;
699
+ terminationReason: string | null;
700
+ supervisorRecordNumber: number;
701
+ }[], string[], never> | undefined;
702
+ } & {
703
+ queryKey: string[] & {
704
+ [dataTagSymbol]: {
705
+ badgeId: string;
706
+ category: string;
707
+ categoryGroup: "IDL" | "FD" | "FI";
708
+ companyCode: string;
709
+ contactPhone: string;
710
+ departmentId: string;
711
+ departmentDescription: string;
712
+ emailString: string;
713
+ employeeId: string;
714
+ extensionNumber: string;
715
+ firstName: string;
716
+ gender: string;
717
+ hiredDate: Date;
718
+ lastName: string;
719
+ managerId: string;
720
+ middleName: string;
721
+ name: string;
722
+ nameTitleCase: string;
723
+ nfcSn: string;
724
+ plantId: string;
725
+ position: string;
726
+ previousEmployeeIds: string | null;
727
+ reHiredDate: Date | null;
728
+ recordNumber: number;
729
+ status: "Active" | "Terminated" | "Leave of Absence";
730
+ supervisorId: string;
731
+ terminationDate: Date | null;
732
+ terminationFutureDate: Date | null;
733
+ type: string;
734
+ upperDepartmentId: string;
735
+ jobCode: string;
736
+ jobDescription: string;
737
+ terminationReason: string | null;
738
+ supervisorRecordNumber: number;
739
+ }[];
740
+ [dataTagErrorSymbol]: Error;
741
+ };
742
+ };
743
+ employeeSupervisor: (employeeId: string | null | undefined) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
744
+ badgeId: string;
745
+ category: string;
746
+ categoryGroup: "IDL" | "FD" | "FI";
747
+ companyCode: string;
748
+ contactPhone: string;
749
+ departmentId: string;
750
+ departmentDescription: string;
751
+ emailString: string;
752
+ employeeId: string;
753
+ extensionNumber: string;
754
+ firstName: string;
755
+ gender: string;
756
+ hiredDate: Date;
757
+ lastName: string;
758
+ managerId: string;
759
+ middleName: string;
760
+ name: string;
761
+ nameTitleCase: string;
762
+ nfcSn: string;
763
+ plantId: string;
764
+ position: string;
765
+ previousEmployeeIds: string | null;
766
+ reHiredDate: Date | null;
767
+ recordNumber: number;
768
+ status: "Active" | "Terminated" | "Leave of Absence";
769
+ supervisorId: string;
770
+ terminationDate: Date | null;
771
+ terminationFutureDate: Date | null;
772
+ type: string;
773
+ upperDepartmentId: string;
774
+ jobCode: string;
775
+ jobDescription: string;
776
+ terminationReason: string | null;
777
+ supervisorRecordNumber: number;
778
+ }, Error, {
779
+ badgeId: string;
780
+ category: string;
781
+ categoryGroup: "IDL" | "FD" | "FI";
782
+ companyCode: string;
783
+ contactPhone: string;
784
+ departmentId: string;
785
+ departmentDescription: string;
786
+ emailString: string;
787
+ employeeId: string;
788
+ extensionNumber: string;
789
+ firstName: string;
790
+ gender: string;
791
+ hiredDate: Date;
792
+ lastName: string;
793
+ managerId: string;
794
+ middleName: string;
795
+ name: string;
796
+ nameTitleCase: string;
797
+ nfcSn: string;
798
+ plantId: string;
799
+ position: string;
800
+ previousEmployeeIds: string | null;
801
+ reHiredDate: Date | null;
802
+ recordNumber: number;
803
+ status: "Active" | "Terminated" | "Leave of Absence";
804
+ supervisorId: string;
805
+ terminationDate: Date | null;
806
+ terminationFutureDate: Date | null;
807
+ type: string;
808
+ upperDepartmentId: string;
809
+ jobCode: string;
810
+ jobDescription: string;
811
+ terminationReason: string | null;
812
+ supervisorRecordNumber: number;
813
+ }, (string | null | undefined)[]>, "queryFn"> & {
814
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
815
+ badgeId: string;
816
+ category: string;
817
+ categoryGroup: "IDL" | "FD" | "FI";
818
+ companyCode: string;
819
+ contactPhone: string;
820
+ departmentId: string;
821
+ departmentDescription: string;
822
+ emailString: string;
823
+ employeeId: string;
824
+ extensionNumber: string;
825
+ firstName: string;
826
+ gender: string;
827
+ hiredDate: Date;
828
+ lastName: string;
829
+ managerId: string;
830
+ middleName: string;
831
+ name: string;
832
+ nameTitleCase: string;
833
+ nfcSn: string;
834
+ plantId: string;
835
+ position: string;
836
+ previousEmployeeIds: string | null;
837
+ reHiredDate: Date | null;
838
+ recordNumber: number;
839
+ status: "Active" | "Terminated" | "Leave of Absence";
840
+ supervisorId: string;
841
+ terminationDate: Date | null;
842
+ terminationFutureDate: Date | null;
843
+ type: string;
844
+ upperDepartmentId: string;
845
+ jobCode: string;
846
+ jobDescription: string;
847
+ terminationReason: string | null;
848
+ supervisorRecordNumber: number;
849
+ }, (string | null | undefined)[], never> | undefined;
850
+ } & {
851
+ queryKey: (string | null | undefined)[] & {
852
+ [dataTagSymbol]: {
853
+ badgeId: string;
854
+ category: string;
855
+ categoryGroup: "IDL" | "FD" | "FI";
856
+ companyCode: string;
857
+ contactPhone: string;
858
+ departmentId: string;
859
+ departmentDescription: string;
860
+ emailString: string;
861
+ employeeId: string;
862
+ extensionNumber: string;
863
+ firstName: string;
864
+ gender: string;
865
+ hiredDate: Date;
866
+ lastName: string;
867
+ managerId: string;
868
+ middleName: string;
869
+ name: string;
870
+ nameTitleCase: string;
871
+ nfcSn: string;
872
+ plantId: string;
873
+ position: string;
874
+ previousEmployeeIds: string | null;
875
+ reHiredDate: Date | null;
876
+ recordNumber: number;
877
+ status: "Active" | "Terminated" | "Leave of Absence";
878
+ supervisorId: string;
879
+ terminationDate: Date | null;
880
+ terminationFutureDate: Date | null;
881
+ type: string;
882
+ upperDepartmentId: string;
883
+ jobCode: string;
884
+ jobDescription: string;
885
+ terminationReason: string | null;
886
+ supervisorRecordNumber: number;
887
+ };
888
+ [dataTagErrorSymbol]: Error;
889
+ };
890
+ };
891
+ employeeSubordinates: (employeeId: string | null | undefined) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
892
+ badgeId: string;
893
+ category: string;
894
+ categoryGroup: "IDL" | "FD" | "FI";
895
+ companyCode: string;
896
+ contactPhone: string;
897
+ departmentId: string;
898
+ departmentDescription: string;
899
+ emailString: string;
900
+ employeeId: string;
901
+ extensionNumber: string;
902
+ firstName: string;
903
+ gender: string;
904
+ hiredDate: Date;
905
+ lastName: string;
906
+ managerId: string;
907
+ middleName: string;
908
+ name: string;
909
+ nameTitleCase: string;
910
+ nfcSn: string;
911
+ plantId: string;
912
+ position: string;
913
+ previousEmployeeIds: string | null;
914
+ reHiredDate: Date | null;
915
+ recordNumber: number;
916
+ status: "Active" | "Terminated" | "Leave of Absence";
917
+ supervisorId: string;
918
+ terminationDate: Date | null;
919
+ terminationFutureDate: Date | null;
920
+ type: string;
921
+ upperDepartmentId: string;
922
+ jobCode: string;
923
+ jobDescription: string;
924
+ terminationReason: string | null;
925
+ supervisorRecordNumber: number;
926
+ }[], Error, {
927
+ badgeId: string;
928
+ category: string;
929
+ categoryGroup: "IDL" | "FD" | "FI";
930
+ companyCode: string;
931
+ contactPhone: string;
932
+ departmentId: string;
933
+ departmentDescription: string;
934
+ emailString: string;
935
+ employeeId: string;
936
+ extensionNumber: string;
937
+ firstName: string;
938
+ gender: string;
939
+ hiredDate: Date;
940
+ lastName: string;
941
+ managerId: string;
942
+ middleName: string;
943
+ name: string;
944
+ nameTitleCase: string;
945
+ nfcSn: string;
946
+ plantId: string;
947
+ position: string;
948
+ previousEmployeeIds: string | null;
949
+ reHiredDate: Date | null;
950
+ recordNumber: number;
951
+ status: "Active" | "Terminated" | "Leave of Absence";
952
+ supervisorId: string;
953
+ terminationDate: Date | null;
954
+ terminationFutureDate: Date | null;
955
+ type: string;
956
+ upperDepartmentId: string;
957
+ jobCode: string;
958
+ jobDescription: string;
959
+ terminationReason: string | null;
960
+ supervisorRecordNumber: number;
961
+ }[], (string | null | undefined)[]>, "queryFn"> & {
962
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
963
+ badgeId: string;
964
+ category: string;
965
+ categoryGroup: "IDL" | "FD" | "FI";
966
+ companyCode: string;
967
+ contactPhone: string;
968
+ departmentId: string;
969
+ departmentDescription: string;
970
+ emailString: string;
971
+ employeeId: string;
972
+ extensionNumber: string;
973
+ firstName: string;
974
+ gender: string;
975
+ hiredDate: Date;
976
+ lastName: string;
977
+ managerId: string;
978
+ middleName: string;
979
+ name: string;
980
+ nameTitleCase: string;
981
+ nfcSn: string;
982
+ plantId: string;
983
+ position: string;
984
+ previousEmployeeIds: string | null;
985
+ reHiredDate: Date | null;
986
+ recordNumber: number;
987
+ status: "Active" | "Terminated" | "Leave of Absence";
988
+ supervisorId: string;
989
+ terminationDate: Date | null;
990
+ terminationFutureDate: Date | null;
991
+ type: string;
992
+ upperDepartmentId: string;
993
+ jobCode: string;
994
+ jobDescription: string;
995
+ terminationReason: string | null;
996
+ supervisorRecordNumber: number;
997
+ }[], (string | null | undefined)[], never> | undefined;
998
+ } & {
999
+ queryKey: (string | null | undefined)[] & {
1000
+ [dataTagSymbol]: {
1001
+ badgeId: string;
1002
+ category: string;
1003
+ categoryGroup: "IDL" | "FD" | "FI";
1004
+ companyCode: string;
1005
+ contactPhone: string;
1006
+ departmentId: string;
1007
+ departmentDescription: string;
1008
+ emailString: string;
1009
+ employeeId: string;
1010
+ extensionNumber: string;
1011
+ firstName: string;
1012
+ gender: string;
1013
+ hiredDate: Date;
1014
+ lastName: string;
1015
+ managerId: string;
1016
+ middleName: string;
1017
+ name: string;
1018
+ nameTitleCase: string;
1019
+ nfcSn: string;
1020
+ plantId: string;
1021
+ position: string;
1022
+ previousEmployeeIds: string | null;
1023
+ reHiredDate: Date | null;
1024
+ recordNumber: number;
1025
+ status: "Active" | "Terminated" | "Leave of Absence";
1026
+ supervisorId: string;
1027
+ terminationDate: Date | null;
1028
+ terminationFutureDate: Date | null;
1029
+ type: string;
1030
+ upperDepartmentId: string;
1031
+ jobCode: string;
1032
+ jobDescription: string;
1033
+ terminationReason: string | null;
1034
+ supervisorRecordNumber: number;
1035
+ }[];
1036
+ [dataTagErrorSymbol]: Error;
1037
+ };
1038
+ };
1039
+ employeeManager: (employeeId: string | null | undefined) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
1040
+ badgeId: string;
1041
+ category: string;
1042
+ categoryGroup: "IDL" | "FD" | "FI";
1043
+ companyCode: string;
1044
+ contactPhone: string;
1045
+ departmentId: string;
1046
+ departmentDescription: string;
1047
+ emailString: string;
1048
+ employeeId: string;
1049
+ extensionNumber: string;
1050
+ firstName: string;
1051
+ gender: string;
1052
+ hiredDate: Date;
1053
+ lastName: string;
1054
+ managerId: string;
1055
+ middleName: string;
1056
+ name: string;
1057
+ nameTitleCase: string;
1058
+ nfcSn: string;
1059
+ plantId: string;
1060
+ position: string;
1061
+ previousEmployeeIds: string | null;
1062
+ reHiredDate: Date | null;
1063
+ recordNumber: number;
1064
+ status: "Active" | "Terminated" | "Leave of Absence";
1065
+ supervisorId: string;
1066
+ terminationDate: Date | null;
1067
+ terminationFutureDate: Date | null;
1068
+ type: string;
1069
+ upperDepartmentId: string;
1070
+ jobCode: string;
1071
+ jobDescription: string;
1072
+ terminationReason: string | null;
1073
+ supervisorRecordNumber: number;
1074
+ }, Error, {
1075
+ badgeId: string;
1076
+ category: string;
1077
+ categoryGroup: "IDL" | "FD" | "FI";
1078
+ companyCode: string;
1079
+ contactPhone: string;
1080
+ departmentId: string;
1081
+ departmentDescription: string;
1082
+ emailString: string;
1083
+ employeeId: string;
1084
+ extensionNumber: string;
1085
+ firstName: string;
1086
+ gender: string;
1087
+ hiredDate: Date;
1088
+ lastName: string;
1089
+ managerId: string;
1090
+ middleName: string;
1091
+ name: string;
1092
+ nameTitleCase: string;
1093
+ nfcSn: string;
1094
+ plantId: string;
1095
+ position: string;
1096
+ previousEmployeeIds: string | null;
1097
+ reHiredDate: Date | null;
1098
+ recordNumber: number;
1099
+ status: "Active" | "Terminated" | "Leave of Absence";
1100
+ supervisorId: string;
1101
+ terminationDate: Date | null;
1102
+ terminationFutureDate: Date | null;
1103
+ type: string;
1104
+ upperDepartmentId: string;
1105
+ jobCode: string;
1106
+ jobDescription: string;
1107
+ terminationReason: string | null;
1108
+ supervisorRecordNumber: number;
1109
+ }, (string | null | undefined)[]>, "queryFn"> & {
1110
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
1111
+ badgeId: string;
1112
+ category: string;
1113
+ categoryGroup: "IDL" | "FD" | "FI";
1114
+ companyCode: string;
1115
+ contactPhone: string;
1116
+ departmentId: string;
1117
+ departmentDescription: string;
1118
+ emailString: string;
1119
+ employeeId: string;
1120
+ extensionNumber: string;
1121
+ firstName: string;
1122
+ gender: string;
1123
+ hiredDate: Date;
1124
+ lastName: string;
1125
+ managerId: string;
1126
+ middleName: string;
1127
+ name: string;
1128
+ nameTitleCase: string;
1129
+ nfcSn: string;
1130
+ plantId: string;
1131
+ position: string;
1132
+ previousEmployeeIds: string | null;
1133
+ reHiredDate: Date | null;
1134
+ recordNumber: number;
1135
+ status: "Active" | "Terminated" | "Leave of Absence";
1136
+ supervisorId: string;
1137
+ terminationDate: Date | null;
1138
+ terminationFutureDate: Date | null;
1139
+ type: string;
1140
+ upperDepartmentId: string;
1141
+ jobCode: string;
1142
+ jobDescription: string;
1143
+ terminationReason: string | null;
1144
+ supervisorRecordNumber: number;
1145
+ }, (string | null | undefined)[], never> | undefined;
1146
+ } & {
1147
+ queryKey: (string | null | undefined)[] & {
1148
+ [dataTagSymbol]: {
1149
+ badgeId: string;
1150
+ category: string;
1151
+ categoryGroup: "IDL" | "FD" | "FI";
1152
+ companyCode: string;
1153
+ contactPhone: string;
1154
+ departmentId: string;
1155
+ departmentDescription: string;
1156
+ emailString: string;
1157
+ employeeId: string;
1158
+ extensionNumber: string;
1159
+ firstName: string;
1160
+ gender: string;
1161
+ hiredDate: Date;
1162
+ lastName: string;
1163
+ managerId: string;
1164
+ middleName: string;
1165
+ name: string;
1166
+ nameTitleCase: string;
1167
+ nfcSn: string;
1168
+ plantId: string;
1169
+ position: string;
1170
+ previousEmployeeIds: string | null;
1171
+ reHiredDate: Date | null;
1172
+ recordNumber: number;
1173
+ status: "Active" | "Terminated" | "Leave of Absence";
1174
+ supervisorId: string;
1175
+ terminationDate: Date | null;
1176
+ terminationFutureDate: Date | null;
1177
+ type: string;
1178
+ upperDepartmentId: string;
1179
+ jobCode: string;
1180
+ jobDescription: string;
1181
+ terminationReason: string | null;
1182
+ supervisorRecordNumber: number;
1183
+ };
1184
+ [dataTagErrorSymbol]: Error;
1185
+ };
1186
+ };
1187
+ employeeGeneralManager: (employeeId: string | null | undefined) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
1188
+ badgeId: string;
1189
+ category: string;
1190
+ categoryGroup: "IDL" | "FD" | "FI";
1191
+ companyCode: string;
1192
+ contactPhone: string;
1193
+ departmentId: string;
1194
+ departmentDescription: string;
1195
+ emailString: string;
1196
+ employeeId: string;
1197
+ extensionNumber: string;
1198
+ firstName: string;
1199
+ gender: string;
1200
+ hiredDate: Date;
1201
+ lastName: string;
1202
+ managerId: string;
1203
+ middleName: string;
1204
+ name: string;
1205
+ nameTitleCase: string;
1206
+ nfcSn: string;
1207
+ plantId: string;
1208
+ position: string;
1209
+ previousEmployeeIds: string | null;
1210
+ reHiredDate: Date | null;
1211
+ recordNumber: number;
1212
+ status: "Active" | "Terminated" | "Leave of Absence";
1213
+ supervisorId: string;
1214
+ terminationDate: Date | null;
1215
+ terminationFutureDate: Date | null;
1216
+ type: string;
1217
+ upperDepartmentId: string;
1218
+ jobCode: string;
1219
+ jobDescription: string;
1220
+ terminationReason: string | null;
1221
+ supervisorRecordNumber: number;
1222
+ }, Error, {
1223
+ badgeId: string;
1224
+ category: string;
1225
+ categoryGroup: "IDL" | "FD" | "FI";
1226
+ companyCode: string;
1227
+ contactPhone: string;
1228
+ departmentId: string;
1229
+ departmentDescription: string;
1230
+ emailString: string;
1231
+ employeeId: string;
1232
+ extensionNumber: string;
1233
+ firstName: string;
1234
+ gender: string;
1235
+ hiredDate: Date;
1236
+ lastName: string;
1237
+ managerId: string;
1238
+ middleName: string;
1239
+ name: string;
1240
+ nameTitleCase: string;
1241
+ nfcSn: string;
1242
+ plantId: string;
1243
+ position: string;
1244
+ previousEmployeeIds: string | null;
1245
+ reHiredDate: Date | null;
1246
+ recordNumber: number;
1247
+ status: "Active" | "Terminated" | "Leave of Absence";
1248
+ supervisorId: string;
1249
+ terminationDate: Date | null;
1250
+ terminationFutureDate: Date | null;
1251
+ type: string;
1252
+ upperDepartmentId: string;
1253
+ jobCode: string;
1254
+ jobDescription: string;
1255
+ terminationReason: string | null;
1256
+ supervisorRecordNumber: number;
1257
+ }, (string | null | undefined)[]>, "queryFn"> & {
1258
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
1259
+ badgeId: string;
1260
+ category: string;
1261
+ categoryGroup: "IDL" | "FD" | "FI";
1262
+ companyCode: string;
1263
+ contactPhone: string;
1264
+ departmentId: string;
1265
+ departmentDescription: string;
1266
+ emailString: string;
1267
+ employeeId: string;
1268
+ extensionNumber: string;
1269
+ firstName: string;
1270
+ gender: string;
1271
+ hiredDate: Date;
1272
+ lastName: string;
1273
+ managerId: string;
1274
+ middleName: string;
1275
+ name: string;
1276
+ nameTitleCase: string;
1277
+ nfcSn: string;
1278
+ plantId: string;
1279
+ position: string;
1280
+ previousEmployeeIds: string | null;
1281
+ reHiredDate: Date | null;
1282
+ recordNumber: number;
1283
+ status: "Active" | "Terminated" | "Leave of Absence";
1284
+ supervisorId: string;
1285
+ terminationDate: Date | null;
1286
+ terminationFutureDate: Date | null;
1287
+ type: string;
1288
+ upperDepartmentId: string;
1289
+ jobCode: string;
1290
+ jobDescription: string;
1291
+ terminationReason: string | null;
1292
+ supervisorRecordNumber: number;
1293
+ }, (string | null | undefined)[], never> | undefined;
1294
+ } & {
1295
+ queryKey: (string | null | undefined)[] & {
1296
+ [dataTagSymbol]: {
1297
+ badgeId: string;
1298
+ category: string;
1299
+ categoryGroup: "IDL" | "FD" | "FI";
1300
+ companyCode: string;
1301
+ contactPhone: string;
1302
+ departmentId: string;
1303
+ departmentDescription: string;
1304
+ emailString: string;
1305
+ employeeId: string;
1306
+ extensionNumber: string;
1307
+ firstName: string;
1308
+ gender: string;
1309
+ hiredDate: Date;
1310
+ lastName: string;
1311
+ managerId: string;
1312
+ middleName: string;
1313
+ name: string;
1314
+ nameTitleCase: string;
1315
+ nfcSn: string;
1316
+ plantId: string;
1317
+ position: string;
1318
+ previousEmployeeIds: string | null;
1319
+ reHiredDate: Date | null;
1320
+ recordNumber: number;
1321
+ status: "Active" | "Terminated" | "Leave of Absence";
1322
+ supervisorId: string;
1323
+ terminationDate: Date | null;
1324
+ terminationFutureDate: Date | null;
1325
+ type: string;
1326
+ upperDepartmentId: string;
1327
+ jobCode: string;
1328
+ jobDescription: string;
1329
+ terminationReason: string | null;
1330
+ supervisorRecordNumber: number;
1331
+ };
1332
+ [dataTagErrorSymbol]: Error;
1333
+ };
1334
+ };
1335
+ departments: () => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
1336
+ departmentId: string;
1337
+ description: string;
1338
+ managerId: string;
1339
+ managerRecordNumber: string;
1340
+ treeLevel: number;
1341
+ upperDepartmentId: string;
1342
+ companyCode: string;
1343
+ location: string;
1344
+ salLocation: string;
1345
+ plantId: string;
1346
+ manager: {
1347
+ badgeId: string;
1348
+ category: string;
1349
+ categoryGroup: "IDL" | "FD" | "FI";
1350
+ companyCode: string;
1351
+ contactPhone: string;
1352
+ departmentId: string;
1353
+ departmentDescription: string;
1354
+ emailString: string;
1355
+ employeeId: string;
1356
+ extensionNumber: string;
1357
+ firstName: string;
1358
+ gender: string;
1359
+ hiredDate: Date;
1360
+ lastName: string;
1361
+ managerId: string;
1362
+ middleName: string;
1363
+ name: string;
1364
+ nameTitleCase: string;
1365
+ nfcSn: string;
1366
+ plantId: string;
1367
+ position: string;
1368
+ previousEmployeeIds: string | null;
1369
+ reHiredDate: Date | null;
1370
+ recordNumber: number;
1371
+ status: "Active" | "Terminated" | "Leave of Absence";
1372
+ supervisorId: string;
1373
+ terminationDate: Date | null;
1374
+ terminationFutureDate: Date | null;
1375
+ type: string;
1376
+ upperDepartmentId: string;
1377
+ jobCode: string;
1378
+ jobDescription: string;
1379
+ terminationReason: string | null;
1380
+ supervisorRecordNumber: number;
1381
+ };
1382
+ }[], Error, {
1383
+ departmentId: string;
1384
+ description: string;
1385
+ managerId: string;
1386
+ managerRecordNumber: string;
1387
+ treeLevel: number;
1388
+ upperDepartmentId: string;
1389
+ companyCode: string;
1390
+ location: string;
1391
+ salLocation: string;
1392
+ plantId: string;
1393
+ manager: {
1394
+ badgeId: string;
1395
+ category: string;
1396
+ categoryGroup: "IDL" | "FD" | "FI";
1397
+ companyCode: string;
1398
+ contactPhone: string;
1399
+ departmentId: string;
1400
+ departmentDescription: string;
1401
+ emailString: string;
1402
+ employeeId: string;
1403
+ extensionNumber: string;
1404
+ firstName: string;
1405
+ gender: string;
1406
+ hiredDate: Date;
1407
+ lastName: string;
1408
+ managerId: string;
1409
+ middleName: string;
1410
+ name: string;
1411
+ nameTitleCase: string;
1412
+ nfcSn: string;
1413
+ plantId: string;
1414
+ position: string;
1415
+ previousEmployeeIds: string | null;
1416
+ reHiredDate: Date | null;
1417
+ recordNumber: number;
1418
+ status: "Active" | "Terminated" | "Leave of Absence";
1419
+ supervisorId: string;
1420
+ terminationDate: Date | null;
1421
+ terminationFutureDate: Date | null;
1422
+ type: string;
1423
+ upperDepartmentId: string;
1424
+ jobCode: string;
1425
+ jobDescription: string;
1426
+ terminationReason: string | null;
1427
+ supervisorRecordNumber: number;
1428
+ };
1429
+ }[], string[]>, "queryFn"> & {
1430
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
1431
+ departmentId: string;
1432
+ description: string;
1433
+ managerId: string;
1434
+ managerRecordNumber: string;
1435
+ treeLevel: number;
1436
+ upperDepartmentId: string;
1437
+ companyCode: string;
1438
+ location: string;
1439
+ salLocation: string;
1440
+ plantId: string;
1441
+ manager: {
1442
+ badgeId: string;
1443
+ category: string;
1444
+ categoryGroup: "IDL" | "FD" | "FI";
1445
+ companyCode: string;
1446
+ contactPhone: string;
1447
+ departmentId: string;
1448
+ departmentDescription: string;
1449
+ emailString: string;
1450
+ employeeId: string;
1451
+ extensionNumber: string;
1452
+ firstName: string;
1453
+ gender: string;
1454
+ hiredDate: Date;
1455
+ lastName: string;
1456
+ managerId: string;
1457
+ middleName: string;
1458
+ name: string;
1459
+ nameTitleCase: string;
1460
+ nfcSn: string;
1461
+ plantId: string;
1462
+ position: string;
1463
+ previousEmployeeIds: string | null;
1464
+ reHiredDate: Date | null;
1465
+ recordNumber: number;
1466
+ status: "Active" | "Terminated" | "Leave of Absence";
1467
+ supervisorId: string;
1468
+ terminationDate: Date | null;
1469
+ terminationFutureDate: Date | null;
1470
+ type: string;
1471
+ upperDepartmentId: string;
1472
+ jobCode: string;
1473
+ jobDescription: string;
1474
+ terminationReason: string | null;
1475
+ supervisorRecordNumber: number;
1476
+ };
1477
+ }[], string[], never> | undefined;
1478
+ } & {
1479
+ queryKey: string[] & {
1480
+ [dataTagSymbol]: {
1481
+ departmentId: string;
1482
+ description: string;
1483
+ managerId: string;
1484
+ managerRecordNumber: string;
1485
+ treeLevel: number;
1486
+ upperDepartmentId: string;
1487
+ companyCode: string;
1488
+ location: string;
1489
+ salLocation: string;
1490
+ plantId: string;
1491
+ manager: {
1492
+ badgeId: string;
1493
+ category: string;
1494
+ categoryGroup: "IDL" | "FD" | "FI";
1495
+ companyCode: string;
1496
+ contactPhone: string;
1497
+ departmentId: string;
1498
+ departmentDescription: string;
1499
+ emailString: string;
1500
+ employeeId: string;
1501
+ extensionNumber: string;
1502
+ firstName: string;
1503
+ gender: string;
1504
+ hiredDate: Date;
1505
+ lastName: string;
1506
+ managerId: string;
1507
+ middleName: string;
1508
+ name: string;
1509
+ nameTitleCase: string;
1510
+ nfcSn: string;
1511
+ plantId: string;
1512
+ position: string;
1513
+ previousEmployeeIds: string | null;
1514
+ reHiredDate: Date | null;
1515
+ recordNumber: number;
1516
+ status: "Active" | "Terminated" | "Leave of Absence";
1517
+ supervisorId: string;
1518
+ terminationDate: Date | null;
1519
+ terminationFutureDate: Date | null;
1520
+ type: string;
1521
+ upperDepartmentId: string;
1522
+ jobCode: string;
1523
+ jobDescription: string;
1524
+ terminationReason: string | null;
1525
+ supervisorRecordNumber: number;
1526
+ };
1527
+ }[];
1528
+ [dataTagErrorSymbol]: Error;
1529
+ };
1530
+ };
1531
+ departmentById: (departmentId: string | null | undefined) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
1532
+ departmentId: string;
1533
+ description: string;
1534
+ managerId: string;
1535
+ managerRecordNumber: string;
1536
+ treeLevel: number;
1537
+ upperDepartmentId: string;
1538
+ companyCode: string;
1539
+ location: string;
1540
+ salLocation: string;
1541
+ plantId: string;
1542
+ manager: {
1543
+ badgeId: string;
1544
+ category: string;
1545
+ categoryGroup: "IDL" | "FD" | "FI";
1546
+ companyCode: string;
1547
+ contactPhone: string;
1548
+ departmentId: string;
1549
+ departmentDescription: string;
1550
+ emailString: string;
1551
+ employeeId: string;
1552
+ extensionNumber: string;
1553
+ firstName: string;
1554
+ gender: string;
1555
+ hiredDate: Date;
1556
+ lastName: string;
1557
+ managerId: string;
1558
+ middleName: string;
1559
+ name: string;
1560
+ nameTitleCase: string;
1561
+ nfcSn: string;
1562
+ plantId: string;
1563
+ position: string;
1564
+ previousEmployeeIds: string | null;
1565
+ reHiredDate: Date | null;
1566
+ recordNumber: number;
1567
+ status: "Active" | "Terminated" | "Leave of Absence";
1568
+ supervisorId: string;
1569
+ terminationDate: Date | null;
1570
+ terminationFutureDate: Date | null;
1571
+ type: string;
1572
+ upperDepartmentId: string;
1573
+ jobCode: string;
1574
+ jobDescription: string;
1575
+ terminationReason: string | null;
1576
+ supervisorRecordNumber: number;
1577
+ };
1578
+ }, Error, {
1579
+ departmentId: string;
1580
+ description: string;
1581
+ managerId: string;
1582
+ managerRecordNumber: string;
1583
+ treeLevel: number;
1584
+ upperDepartmentId: string;
1585
+ companyCode: string;
1586
+ location: string;
1587
+ salLocation: string;
1588
+ plantId: string;
1589
+ manager: {
1590
+ badgeId: string;
1591
+ category: string;
1592
+ categoryGroup: "IDL" | "FD" | "FI";
1593
+ companyCode: string;
1594
+ contactPhone: string;
1595
+ departmentId: string;
1596
+ departmentDescription: string;
1597
+ emailString: string;
1598
+ employeeId: string;
1599
+ extensionNumber: string;
1600
+ firstName: string;
1601
+ gender: string;
1602
+ hiredDate: Date;
1603
+ lastName: string;
1604
+ managerId: string;
1605
+ middleName: string;
1606
+ name: string;
1607
+ nameTitleCase: string;
1608
+ nfcSn: string;
1609
+ plantId: string;
1610
+ position: string;
1611
+ previousEmployeeIds: string | null;
1612
+ reHiredDate: Date | null;
1613
+ recordNumber: number;
1614
+ status: "Active" | "Terminated" | "Leave of Absence";
1615
+ supervisorId: string;
1616
+ terminationDate: Date | null;
1617
+ terminationFutureDate: Date | null;
1618
+ type: string;
1619
+ upperDepartmentId: string;
1620
+ jobCode: string;
1621
+ jobDescription: string;
1622
+ terminationReason: string | null;
1623
+ supervisorRecordNumber: number;
1624
+ };
1625
+ }, (string | null | undefined)[]>, "queryFn"> & {
1626
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
1627
+ departmentId: string;
1628
+ description: string;
1629
+ managerId: string;
1630
+ managerRecordNumber: string;
1631
+ treeLevel: number;
1632
+ upperDepartmentId: string;
1633
+ companyCode: string;
1634
+ location: string;
1635
+ salLocation: string;
1636
+ plantId: string;
1637
+ manager: {
1638
+ badgeId: string;
1639
+ category: string;
1640
+ categoryGroup: "IDL" | "FD" | "FI";
1641
+ companyCode: string;
1642
+ contactPhone: string;
1643
+ departmentId: string;
1644
+ departmentDescription: string;
1645
+ emailString: string;
1646
+ employeeId: string;
1647
+ extensionNumber: string;
1648
+ firstName: string;
1649
+ gender: string;
1650
+ hiredDate: Date;
1651
+ lastName: string;
1652
+ managerId: string;
1653
+ middleName: string;
1654
+ name: string;
1655
+ nameTitleCase: string;
1656
+ nfcSn: string;
1657
+ plantId: string;
1658
+ position: string;
1659
+ previousEmployeeIds: string | null;
1660
+ reHiredDate: Date | null;
1661
+ recordNumber: number;
1662
+ status: "Active" | "Terminated" | "Leave of Absence";
1663
+ supervisorId: string;
1664
+ terminationDate: Date | null;
1665
+ terminationFutureDate: Date | null;
1666
+ type: string;
1667
+ upperDepartmentId: string;
1668
+ jobCode: string;
1669
+ jobDescription: string;
1670
+ terminationReason: string | null;
1671
+ supervisorRecordNumber: number;
1672
+ };
1673
+ }, (string | null | undefined)[], never> | undefined;
1674
+ } & {
1675
+ queryKey: (string | null | undefined)[] & {
1676
+ [dataTagSymbol]: {
1677
+ departmentId: string;
1678
+ description: string;
1679
+ managerId: string;
1680
+ managerRecordNumber: string;
1681
+ treeLevel: number;
1682
+ upperDepartmentId: string;
1683
+ companyCode: string;
1684
+ location: string;
1685
+ salLocation: string;
1686
+ plantId: string;
1687
+ manager: {
1688
+ badgeId: string;
1689
+ category: string;
1690
+ categoryGroup: "IDL" | "FD" | "FI";
1691
+ companyCode: string;
1692
+ contactPhone: string;
1693
+ departmentId: string;
1694
+ departmentDescription: string;
1695
+ emailString: string;
1696
+ employeeId: string;
1697
+ extensionNumber: string;
1698
+ firstName: string;
1699
+ gender: string;
1700
+ hiredDate: Date;
1701
+ lastName: string;
1702
+ managerId: string;
1703
+ middleName: string;
1704
+ name: string;
1705
+ nameTitleCase: string;
1706
+ nfcSn: string;
1707
+ plantId: string;
1708
+ position: string;
1709
+ previousEmployeeIds: string | null;
1710
+ reHiredDate: Date | null;
1711
+ recordNumber: number;
1712
+ status: "Active" | "Terminated" | "Leave of Absence";
1713
+ supervisorId: string;
1714
+ terminationDate: Date | null;
1715
+ terminationFutureDate: Date | null;
1716
+ type: string;
1717
+ upperDepartmentId: string;
1718
+ jobCode: string;
1719
+ jobDescription: string;
1720
+ terminationReason: string | null;
1721
+ supervisorRecordNumber: number;
1722
+ };
1723
+ };
1724
+ [dataTagErrorSymbol]: Error;
1725
+ };
1726
+ };
1727
+ departmentManager: (departmentId: string | null | undefined) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
1728
+ badgeId: string;
1729
+ category: string;
1730
+ categoryGroup: "IDL" | "FD" | "FI";
1731
+ companyCode: string;
1732
+ contactPhone: string;
1733
+ departmentId: string;
1734
+ departmentDescription: string;
1735
+ emailString: string;
1736
+ employeeId: string;
1737
+ extensionNumber: string;
1738
+ firstName: string;
1739
+ gender: string;
1740
+ hiredDate: Date;
1741
+ lastName: string;
1742
+ managerId: string;
1743
+ middleName: string;
1744
+ name: string;
1745
+ nameTitleCase: string;
1746
+ nfcSn: string;
1747
+ plantId: string;
1748
+ position: string;
1749
+ previousEmployeeIds: string | null;
1750
+ reHiredDate: Date | null;
1751
+ recordNumber: number;
1752
+ status: "Active" | "Terminated" | "Leave of Absence";
1753
+ supervisorId: string;
1754
+ terminationDate: Date | null;
1755
+ terminationFutureDate: Date | null;
1756
+ type: string;
1757
+ upperDepartmentId: string;
1758
+ jobCode: string;
1759
+ jobDescription: string;
1760
+ terminationReason: string | null;
1761
+ supervisorRecordNumber: number;
1762
+ }, Error, {
1763
+ badgeId: string;
1764
+ category: string;
1765
+ categoryGroup: "IDL" | "FD" | "FI";
1766
+ companyCode: string;
1767
+ contactPhone: string;
1768
+ departmentId: string;
1769
+ departmentDescription: string;
1770
+ emailString: string;
1771
+ employeeId: string;
1772
+ extensionNumber: string;
1773
+ firstName: string;
1774
+ gender: string;
1775
+ hiredDate: Date;
1776
+ lastName: string;
1777
+ managerId: string;
1778
+ middleName: string;
1779
+ name: string;
1780
+ nameTitleCase: string;
1781
+ nfcSn: string;
1782
+ plantId: string;
1783
+ position: string;
1784
+ previousEmployeeIds: string | null;
1785
+ reHiredDate: Date | null;
1786
+ recordNumber: number;
1787
+ status: "Active" | "Terminated" | "Leave of Absence";
1788
+ supervisorId: string;
1789
+ terminationDate: Date | null;
1790
+ terminationFutureDate: Date | null;
1791
+ type: string;
1792
+ upperDepartmentId: string;
1793
+ jobCode: string;
1794
+ jobDescription: string;
1795
+ terminationReason: string | null;
1796
+ supervisorRecordNumber: number;
1797
+ }, (string | null | undefined)[]>, "queryFn"> & {
1798
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
1799
+ badgeId: string;
1800
+ category: string;
1801
+ categoryGroup: "IDL" | "FD" | "FI";
1802
+ companyCode: string;
1803
+ contactPhone: string;
1804
+ departmentId: string;
1805
+ departmentDescription: string;
1806
+ emailString: string;
1807
+ employeeId: string;
1808
+ extensionNumber: string;
1809
+ firstName: string;
1810
+ gender: string;
1811
+ hiredDate: Date;
1812
+ lastName: string;
1813
+ managerId: string;
1814
+ middleName: string;
1815
+ name: string;
1816
+ nameTitleCase: string;
1817
+ nfcSn: string;
1818
+ plantId: string;
1819
+ position: string;
1820
+ previousEmployeeIds: string | null;
1821
+ reHiredDate: Date | null;
1822
+ recordNumber: number;
1823
+ status: "Active" | "Terminated" | "Leave of Absence";
1824
+ supervisorId: string;
1825
+ terminationDate: Date | null;
1826
+ terminationFutureDate: Date | null;
1827
+ type: string;
1828
+ upperDepartmentId: string;
1829
+ jobCode: string;
1830
+ jobDescription: string;
1831
+ terminationReason: string | null;
1832
+ supervisorRecordNumber: number;
1833
+ }, (string | null | undefined)[], never> | undefined;
1834
+ } & {
1835
+ queryKey: (string | null | undefined)[] & {
1836
+ [dataTagSymbol]: {
1837
+ badgeId: string;
1838
+ category: string;
1839
+ categoryGroup: "IDL" | "FD" | "FI";
1840
+ companyCode: string;
1841
+ contactPhone: string;
1842
+ departmentId: string;
1843
+ departmentDescription: string;
1844
+ emailString: string;
1845
+ employeeId: string;
1846
+ extensionNumber: string;
1847
+ firstName: string;
1848
+ gender: string;
1849
+ hiredDate: Date;
1850
+ lastName: string;
1851
+ managerId: string;
1852
+ middleName: string;
1853
+ name: string;
1854
+ nameTitleCase: string;
1855
+ nfcSn: string;
1856
+ plantId: string;
1857
+ position: string;
1858
+ previousEmployeeIds: string | null;
1859
+ reHiredDate: Date | null;
1860
+ recordNumber: number;
1861
+ status: "Active" | "Terminated" | "Leave of Absence";
1862
+ supervisorId: string;
1863
+ terminationDate: Date | null;
1864
+ terminationFutureDate: Date | null;
1865
+ type: string;
1866
+ upperDepartmentId: string;
1867
+ jobCode: string;
1868
+ jobDescription: string;
1869
+ terminationReason: string | null;
1870
+ supervisorRecordNumber: number;
1871
+ };
1872
+ [dataTagErrorSymbol]: Error;
1873
+ };
1874
+ };
1875
+ departmentEmployees: (departmentId: string | null | undefined) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
1876
+ badgeId: string;
1877
+ category: string;
1878
+ categoryGroup: "IDL" | "FD" | "FI";
1879
+ companyCode: string;
1880
+ contactPhone: string;
1881
+ departmentId: string;
1882
+ departmentDescription: string;
1883
+ emailString: string;
1884
+ employeeId: string;
1885
+ extensionNumber: string;
1886
+ firstName: string;
1887
+ gender: string;
1888
+ hiredDate: Date;
1889
+ lastName: string;
1890
+ managerId: string;
1891
+ middleName: string;
1892
+ name: string;
1893
+ nameTitleCase: string;
1894
+ nfcSn: string;
1895
+ plantId: string;
1896
+ position: string;
1897
+ previousEmployeeIds: string | null;
1898
+ reHiredDate: Date | null;
1899
+ recordNumber: number;
1900
+ status: "Active" | "Terminated" | "Leave of Absence";
1901
+ supervisorId: string;
1902
+ terminationDate: Date | null;
1903
+ terminationFutureDate: Date | null;
1904
+ type: string;
1905
+ upperDepartmentId: string;
1906
+ jobCode: string;
1907
+ jobDescription: string;
1908
+ terminationReason: string | null;
1909
+ supervisorRecordNumber: number;
1910
+ }[], Error, {
1911
+ badgeId: string;
1912
+ category: string;
1913
+ categoryGroup: "IDL" | "FD" | "FI";
1914
+ companyCode: string;
1915
+ contactPhone: string;
1916
+ departmentId: string;
1917
+ departmentDescription: string;
1918
+ emailString: string;
1919
+ employeeId: string;
1920
+ extensionNumber: string;
1921
+ firstName: string;
1922
+ gender: string;
1923
+ hiredDate: Date;
1924
+ lastName: string;
1925
+ managerId: string;
1926
+ middleName: string;
1927
+ name: string;
1928
+ nameTitleCase: string;
1929
+ nfcSn: string;
1930
+ plantId: string;
1931
+ position: string;
1932
+ previousEmployeeIds: string | null;
1933
+ reHiredDate: Date | null;
1934
+ recordNumber: number;
1935
+ status: "Active" | "Terminated" | "Leave of Absence";
1936
+ supervisorId: string;
1937
+ terminationDate: Date | null;
1938
+ terminationFutureDate: Date | null;
1939
+ type: string;
1940
+ upperDepartmentId: string;
1941
+ jobCode: string;
1942
+ jobDescription: string;
1943
+ terminationReason: string | null;
1944
+ supervisorRecordNumber: number;
1945
+ }[], (string | null | undefined)[]>, "queryFn"> & {
1946
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
1947
+ badgeId: string;
1948
+ category: string;
1949
+ categoryGroup: "IDL" | "FD" | "FI";
1950
+ companyCode: string;
1951
+ contactPhone: string;
1952
+ departmentId: string;
1953
+ departmentDescription: string;
1954
+ emailString: string;
1955
+ employeeId: string;
1956
+ extensionNumber: string;
1957
+ firstName: string;
1958
+ gender: string;
1959
+ hiredDate: Date;
1960
+ lastName: string;
1961
+ managerId: string;
1962
+ middleName: string;
1963
+ name: string;
1964
+ nameTitleCase: string;
1965
+ nfcSn: string;
1966
+ plantId: string;
1967
+ position: string;
1968
+ previousEmployeeIds: string | null;
1969
+ reHiredDate: Date | null;
1970
+ recordNumber: number;
1971
+ status: "Active" | "Terminated" | "Leave of Absence";
1972
+ supervisorId: string;
1973
+ terminationDate: Date | null;
1974
+ terminationFutureDate: Date | null;
1975
+ type: string;
1976
+ upperDepartmentId: string;
1977
+ jobCode: string;
1978
+ jobDescription: string;
1979
+ terminationReason: string | null;
1980
+ supervisorRecordNumber: number;
1981
+ }[], (string | null | undefined)[], never> | undefined;
1982
+ } & {
1983
+ queryKey: (string | null | undefined)[] & {
1984
+ [dataTagSymbol]: {
1985
+ badgeId: string;
1986
+ category: string;
1987
+ categoryGroup: "IDL" | "FD" | "FI";
1988
+ companyCode: string;
1989
+ contactPhone: string;
1990
+ departmentId: string;
1991
+ departmentDescription: string;
1992
+ emailString: string;
1993
+ employeeId: string;
1994
+ extensionNumber: string;
1995
+ firstName: string;
1996
+ gender: string;
1997
+ hiredDate: Date;
1998
+ lastName: string;
1999
+ managerId: string;
2000
+ middleName: string;
2001
+ name: string;
2002
+ nameTitleCase: string;
2003
+ nfcSn: string;
2004
+ plantId: string;
2005
+ position: string;
2006
+ previousEmployeeIds: string | null;
2007
+ reHiredDate: Date | null;
2008
+ recordNumber: number;
2009
+ status: "Active" | "Terminated" | "Leave of Absence";
2010
+ supervisorId: string;
2011
+ terminationDate: Date | null;
2012
+ terminationFutureDate: Date | null;
2013
+ type: string;
2014
+ upperDepartmentId: string;
2015
+ jobCode: string;
2016
+ jobDescription: string;
2017
+ terminationReason: string | null;
2018
+ supervisorRecordNumber: number;
2019
+ }[];
2020
+ [dataTagErrorSymbol]: Error;
2021
+ };
2022
+ };
2023
+ companyGeneralManager: (companyCode: string | null | undefined) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
2024
+ badgeId: string;
2025
+ category: string;
2026
+ categoryGroup: "IDL" | "FD" | "FI";
2027
+ companyCode: string;
2028
+ contactPhone: string;
2029
+ departmentId: string;
2030
+ departmentDescription: string;
2031
+ emailString: string;
2032
+ employeeId: string;
2033
+ extensionNumber: string;
2034
+ firstName: string;
2035
+ gender: string;
2036
+ hiredDate: Date;
2037
+ lastName: string;
2038
+ managerId: string;
2039
+ middleName: string;
2040
+ name: string;
2041
+ nameTitleCase: string;
2042
+ nfcSn: string;
2043
+ plantId: string;
2044
+ position: string;
2045
+ previousEmployeeIds: string | null;
2046
+ reHiredDate: Date | null;
2047
+ recordNumber: number;
2048
+ status: "Active" | "Terminated" | "Leave of Absence";
2049
+ supervisorId: string;
2050
+ terminationDate: Date | null;
2051
+ terminationFutureDate: Date | null;
2052
+ type: string;
2053
+ upperDepartmentId: string;
2054
+ jobCode: string;
2055
+ jobDescription: string;
2056
+ terminationReason: string | null;
2057
+ supervisorRecordNumber: number;
2058
+ }, Error, {
2059
+ badgeId: string;
2060
+ category: string;
2061
+ categoryGroup: "IDL" | "FD" | "FI";
2062
+ companyCode: string;
2063
+ contactPhone: string;
2064
+ departmentId: string;
2065
+ departmentDescription: string;
2066
+ emailString: string;
2067
+ employeeId: string;
2068
+ extensionNumber: string;
2069
+ firstName: string;
2070
+ gender: string;
2071
+ hiredDate: Date;
2072
+ lastName: string;
2073
+ managerId: string;
2074
+ middleName: string;
2075
+ name: string;
2076
+ nameTitleCase: string;
2077
+ nfcSn: string;
2078
+ plantId: string;
2079
+ position: string;
2080
+ previousEmployeeIds: string | null;
2081
+ reHiredDate: Date | null;
2082
+ recordNumber: number;
2083
+ status: "Active" | "Terminated" | "Leave of Absence";
2084
+ supervisorId: string;
2085
+ terminationDate: Date | null;
2086
+ terminationFutureDate: Date | null;
2087
+ type: string;
2088
+ upperDepartmentId: string;
2089
+ jobCode: string;
2090
+ jobDescription: string;
2091
+ terminationReason: string | null;
2092
+ supervisorRecordNumber: number;
2093
+ }, (string | null | undefined)[]>, "queryFn"> & {
2094
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
2095
+ badgeId: string;
2096
+ category: string;
2097
+ categoryGroup: "IDL" | "FD" | "FI";
2098
+ companyCode: string;
2099
+ contactPhone: string;
2100
+ departmentId: string;
2101
+ departmentDescription: string;
2102
+ emailString: string;
2103
+ employeeId: string;
2104
+ extensionNumber: string;
2105
+ firstName: string;
2106
+ gender: string;
2107
+ hiredDate: Date;
2108
+ lastName: string;
2109
+ managerId: string;
2110
+ middleName: string;
2111
+ name: string;
2112
+ nameTitleCase: string;
2113
+ nfcSn: string;
2114
+ plantId: string;
2115
+ position: string;
2116
+ previousEmployeeIds: string | null;
2117
+ reHiredDate: Date | null;
2118
+ recordNumber: number;
2119
+ status: "Active" | "Terminated" | "Leave of Absence";
2120
+ supervisorId: string;
2121
+ terminationDate: Date | null;
2122
+ terminationFutureDate: Date | null;
2123
+ type: string;
2124
+ upperDepartmentId: string;
2125
+ jobCode: string;
2126
+ jobDescription: string;
2127
+ terminationReason: string | null;
2128
+ supervisorRecordNumber: number;
2129
+ }, (string | null | undefined)[], never> | undefined;
2130
+ } & {
2131
+ queryKey: (string | null | undefined)[] & {
2132
+ [dataTagSymbol]: {
2133
+ badgeId: string;
2134
+ category: string;
2135
+ categoryGroup: "IDL" | "FD" | "FI";
2136
+ companyCode: string;
2137
+ contactPhone: string;
2138
+ departmentId: string;
2139
+ departmentDescription: string;
2140
+ emailString: string;
2141
+ employeeId: string;
2142
+ extensionNumber: string;
2143
+ firstName: string;
2144
+ gender: string;
2145
+ hiredDate: Date;
2146
+ lastName: string;
2147
+ managerId: string;
2148
+ middleName: string;
2149
+ name: string;
2150
+ nameTitleCase: string;
2151
+ nfcSn: string;
2152
+ plantId: string;
2153
+ position: string;
2154
+ previousEmployeeIds: string | null;
2155
+ reHiredDate: Date | null;
2156
+ recordNumber: number;
2157
+ status: "Active" | "Terminated" | "Leave of Absence";
2158
+ supervisorId: string;
2159
+ terminationDate: Date | null;
2160
+ terminationFutureDate: Date | null;
2161
+ type: string;
2162
+ upperDepartmentId: string;
2163
+ jobCode: string;
2164
+ jobDescription: string;
2165
+ terminationReason: string | null;
2166
+ supervisorRecordNumber: number;
2167
+ };
2168
+ [dataTagErrorSymbol]: Error;
2169
+ };
2170
+ };
2171
+ };
2172
+ approval: {
2173
+ approvals: (params?: import('./ApprovalHooks').GetApprovalsParams) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
2174
+ id: string;
2175
+ applicationName: string;
2176
+ status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
2177
+ emailBody: string;
2178
+ created: Date;
2179
+ createdBy: {
2180
+ employeeId: string;
2181
+ name: string;
2182
+ email: string;
2183
+ };
2184
+ updated: Date;
2185
+ updatedBy: {
2186
+ employeeId: string;
2187
+ name: string;
2188
+ email: string;
2189
+ };
2190
+ approvalFlows: {
2191
+ id: string;
2192
+ approvalStage: number;
2193
+ approvalSequence: number;
2194
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2195
+ steps: {
2196
+ id: string;
2197
+ order: number;
2198
+ approver: {
2199
+ employeeId: string;
2200
+ name: string;
2201
+ email: string;
2202
+ };
2203
+ approverRole?: string | undefined;
2204
+ actualApprover?: {
2205
+ employeeId: string;
2206
+ name: string;
2207
+ email: string;
2208
+ } | undefined;
2209
+ result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2210
+ resultDate?: Date | undefined;
2211
+ resultComment?: string | undefined;
2212
+ }[];
2213
+ batchSequence?: number | undefined;
2214
+ isActive?: boolean | undefined;
2215
+ }[];
2216
+ currentApprovers: {
2217
+ employeeId: string;
2218
+ name: string;
2219
+ email: string;
2220
+ }[];
2221
+ number?: string | undefined;
2222
+ type?: "Single" | "Batch" | undefined;
2223
+ }[], Error, {
2224
+ id: string;
2225
+ applicationName: string;
2226
+ status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
2227
+ emailBody: string;
2228
+ created: Date;
2229
+ createdBy: {
2230
+ employeeId: string;
2231
+ name: string;
2232
+ email: string;
2233
+ };
2234
+ updated: Date;
2235
+ updatedBy: {
2236
+ employeeId: string;
2237
+ name: string;
2238
+ email: string;
2239
+ };
2240
+ approvalFlows: {
2241
+ id: string;
2242
+ approvalStage: number;
2243
+ approvalSequence: number;
2244
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2245
+ steps: {
2246
+ id: string;
2247
+ order: number;
2248
+ approver: {
2249
+ employeeId: string;
2250
+ name: string;
2251
+ email: string;
2252
+ };
2253
+ approverRole?: string | undefined;
2254
+ actualApprover?: {
2255
+ employeeId: string;
2256
+ name: string;
2257
+ email: string;
2258
+ } | undefined;
2259
+ result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2260
+ resultDate?: Date | undefined;
2261
+ resultComment?: string | undefined;
2262
+ }[];
2263
+ batchSequence?: number | undefined;
2264
+ isActive?: boolean | undefined;
2265
+ }[];
2266
+ currentApprovers: {
2267
+ employeeId: string;
2268
+ name: string;
2269
+ email: string;
2270
+ }[];
2271
+ number?: string | undefined;
2272
+ type?: "Single" | "Batch" | undefined;
2273
+ }[], (string | {
2274
+ appName?: string | undefined;
2275
+ status?: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved" | undefined;
2276
+ approverEmployeeId?: string | undefined;
2277
+ stepResult?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2278
+ } | undefined)[]>, "queryFn"> & {
2279
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
2280
+ id: string;
2281
+ applicationName: string;
2282
+ status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
2283
+ emailBody: string;
2284
+ created: Date;
2285
+ createdBy: {
2286
+ employeeId: string;
2287
+ name: string;
2288
+ email: string;
2289
+ };
2290
+ updated: Date;
2291
+ updatedBy: {
2292
+ employeeId: string;
2293
+ name: string;
2294
+ email: string;
2295
+ };
2296
+ approvalFlows: {
2297
+ id: string;
2298
+ approvalStage: number;
2299
+ approvalSequence: number;
2300
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2301
+ steps: {
2302
+ id: string;
2303
+ order: number;
2304
+ approver: {
2305
+ employeeId: string;
2306
+ name: string;
2307
+ email: string;
2308
+ };
2309
+ approverRole?: string | undefined;
2310
+ actualApprover?: {
2311
+ employeeId: string;
2312
+ name: string;
2313
+ email: string;
2314
+ } | undefined;
2315
+ result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2316
+ resultDate?: Date | undefined;
2317
+ resultComment?: string | undefined;
2318
+ }[];
2319
+ batchSequence?: number | undefined;
2320
+ isActive?: boolean | undefined;
2321
+ }[];
2322
+ currentApprovers: {
2323
+ employeeId: string;
2324
+ name: string;
2325
+ email: string;
2326
+ }[];
2327
+ number?: string | undefined;
2328
+ type?: "Single" | "Batch" | undefined;
2329
+ }[], (string | {
2330
+ appName?: string | undefined;
2331
+ status?: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved" | undefined;
2332
+ approverEmployeeId?: string | undefined;
2333
+ stepResult?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2334
+ } | undefined)[], never> | undefined;
2335
+ } & {
2336
+ queryKey: (string | {
2337
+ appName?: string | undefined;
2338
+ status?: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved" | undefined;
2339
+ approverEmployeeId?: string | undefined;
2340
+ stepResult?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2341
+ } | undefined)[] & {
2342
+ [dataTagSymbol]: {
2343
+ id: string;
2344
+ applicationName: string;
2345
+ status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
2346
+ emailBody: string;
2347
+ created: Date;
2348
+ createdBy: {
2349
+ employeeId: string;
2350
+ name: string;
2351
+ email: string;
2352
+ };
2353
+ updated: Date;
2354
+ updatedBy: {
2355
+ employeeId: string;
2356
+ name: string;
2357
+ email: string;
2358
+ };
2359
+ approvalFlows: {
2360
+ id: string;
2361
+ approvalStage: number;
2362
+ approvalSequence: number;
2363
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2364
+ steps: {
2365
+ id: string;
2366
+ order: number;
2367
+ approver: {
2368
+ employeeId: string;
2369
+ name: string;
2370
+ email: string;
2371
+ };
2372
+ approverRole?: string | undefined;
2373
+ actualApprover?: {
2374
+ employeeId: string;
2375
+ name: string;
2376
+ email: string;
2377
+ } | undefined;
2378
+ result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2379
+ resultDate?: Date | undefined;
2380
+ resultComment?: string | undefined;
2381
+ }[];
2382
+ batchSequence?: number | undefined;
2383
+ isActive?: boolean | undefined;
2384
+ }[];
2385
+ currentApprovers: {
2386
+ employeeId: string;
2387
+ name: string;
2388
+ email: string;
2389
+ }[];
2390
+ number?: string | undefined;
2391
+ type?: "Single" | "Batch" | undefined;
2392
+ }[];
2393
+ [dataTagErrorSymbol]: Error;
2394
+ };
2395
+ };
2396
+ approval: (id: string) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
2397
+ id: string;
2398
+ applicationName: string;
2399
+ status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
2400
+ emailBody: string;
2401
+ created: Date;
2402
+ createdBy: {
2403
+ employeeId: string;
2404
+ name: string;
2405
+ email: string;
2406
+ };
2407
+ updated: Date;
2408
+ updatedBy: {
2409
+ employeeId: string;
2410
+ name: string;
2411
+ email: string;
2412
+ };
2413
+ approvalFlows: {
2414
+ id: string;
2415
+ approvalStage: number;
2416
+ approvalSequence: number;
2417
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2418
+ steps: {
2419
+ id: string;
2420
+ order: number;
2421
+ approver: {
2422
+ employeeId: string;
2423
+ name: string;
2424
+ email: string;
2425
+ };
2426
+ approverRole?: string | undefined;
2427
+ actualApprover?: {
2428
+ employeeId: string;
2429
+ name: string;
2430
+ email: string;
2431
+ } | undefined;
2432
+ result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2433
+ resultDate?: Date | undefined;
2434
+ resultComment?: string | undefined;
2435
+ }[];
2436
+ batchSequence?: number | undefined;
2437
+ isActive?: boolean | undefined;
2438
+ }[];
2439
+ currentApprovers: {
2440
+ employeeId: string;
2441
+ name: string;
2442
+ email: string;
2443
+ }[];
2444
+ number?: string | undefined;
2445
+ type?: "Single" | "Batch" | undefined;
2446
+ }, Error, {
2447
+ id: string;
2448
+ applicationName: string;
2449
+ status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
2450
+ emailBody: string;
2451
+ created: Date;
2452
+ createdBy: {
2453
+ employeeId: string;
2454
+ name: string;
2455
+ email: string;
2456
+ };
2457
+ updated: Date;
2458
+ updatedBy: {
2459
+ employeeId: string;
2460
+ name: string;
2461
+ email: string;
2462
+ };
2463
+ approvalFlows: {
2464
+ id: string;
2465
+ approvalStage: number;
2466
+ approvalSequence: number;
2467
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2468
+ steps: {
2469
+ id: string;
2470
+ order: number;
2471
+ approver: {
2472
+ employeeId: string;
2473
+ name: string;
2474
+ email: string;
2475
+ };
2476
+ approverRole?: string | undefined;
2477
+ actualApprover?: {
2478
+ employeeId: string;
2479
+ name: string;
2480
+ email: string;
2481
+ } | undefined;
2482
+ result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2483
+ resultDate?: Date | undefined;
2484
+ resultComment?: string | undefined;
2485
+ }[];
2486
+ batchSequence?: number | undefined;
2487
+ isActive?: boolean | undefined;
2488
+ }[];
2489
+ currentApprovers: {
2490
+ employeeId: string;
2491
+ name: string;
2492
+ email: string;
2493
+ }[];
2494
+ number?: string | undefined;
2495
+ type?: "Single" | "Batch" | undefined;
2496
+ }, string[]>, "queryFn"> & {
2497
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
2498
+ id: string;
2499
+ applicationName: string;
2500
+ status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
2501
+ emailBody: string;
2502
+ created: Date;
2503
+ createdBy: {
2504
+ employeeId: string;
2505
+ name: string;
2506
+ email: string;
2507
+ };
2508
+ updated: Date;
2509
+ updatedBy: {
2510
+ employeeId: string;
2511
+ name: string;
2512
+ email: string;
2513
+ };
2514
+ approvalFlows: {
2515
+ id: string;
2516
+ approvalStage: number;
2517
+ approvalSequence: number;
2518
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2519
+ steps: {
2520
+ id: string;
2521
+ order: number;
2522
+ approver: {
2523
+ employeeId: string;
2524
+ name: string;
2525
+ email: string;
2526
+ };
2527
+ approverRole?: string | undefined;
2528
+ actualApprover?: {
2529
+ employeeId: string;
2530
+ name: string;
2531
+ email: string;
2532
+ } | undefined;
2533
+ result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2534
+ resultDate?: Date | undefined;
2535
+ resultComment?: string | undefined;
2536
+ }[];
2537
+ batchSequence?: number | undefined;
2538
+ isActive?: boolean | undefined;
2539
+ }[];
2540
+ currentApprovers: {
2541
+ employeeId: string;
2542
+ name: string;
2543
+ email: string;
2544
+ }[];
2545
+ number?: string | undefined;
2546
+ type?: "Single" | "Batch" | undefined;
2547
+ }, string[], never> | undefined;
2548
+ } & {
2549
+ queryKey: string[] & {
2550
+ [dataTagSymbol]: {
2551
+ id: string;
2552
+ applicationName: string;
2553
+ status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
2554
+ emailBody: string;
2555
+ created: Date;
2556
+ createdBy: {
2557
+ employeeId: string;
2558
+ name: string;
2559
+ email: string;
2560
+ };
2561
+ updated: Date;
2562
+ updatedBy: {
2563
+ employeeId: string;
2564
+ name: string;
2565
+ email: string;
2566
+ };
2567
+ approvalFlows: {
2568
+ id: string;
2569
+ approvalStage: number;
2570
+ approvalSequence: number;
2571
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2572
+ steps: {
2573
+ id: string;
2574
+ order: number;
2575
+ approver: {
2576
+ employeeId: string;
2577
+ name: string;
2578
+ email: string;
2579
+ };
2580
+ approverRole?: string | undefined;
2581
+ actualApprover?: {
2582
+ employeeId: string;
2583
+ name: string;
2584
+ email: string;
2585
+ } | undefined;
2586
+ result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2587
+ resultDate?: Date | undefined;
2588
+ resultComment?: string | undefined;
2589
+ }[];
2590
+ batchSequence?: number | undefined;
2591
+ isActive?: boolean | undefined;
2592
+ }[];
2593
+ currentApprovers: {
2594
+ employeeId: string;
2595
+ name: string;
2596
+ email: string;
2597
+ }[];
2598
+ number?: string | undefined;
2599
+ type?: "Single" | "Batch" | undefined;
2600
+ };
2601
+ [dataTagErrorSymbol]: Error;
2602
+ };
2603
+ };
2604
+ create: () => Omit<import('@tanstack/react-query').UseMutationOptions<{
2605
+ id: string;
2606
+ applicationName: string;
2607
+ status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
2608
+ emailBody: string;
2609
+ created: Date;
2610
+ createdBy: {
2611
+ employeeId: string;
2612
+ name: string;
2613
+ email: string;
2614
+ };
2615
+ updated: Date;
2616
+ updatedBy: {
2617
+ employeeId: string;
2618
+ name: string;
2619
+ email: string;
2620
+ };
2621
+ approvalFlows: {
2622
+ id: string;
2623
+ approvalStage: number;
2624
+ approvalSequence: number;
2625
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2626
+ steps: {
2627
+ id: string;
2628
+ order: number;
2629
+ approver: {
2630
+ employeeId: string;
2631
+ name: string;
2632
+ email: string;
2633
+ };
2634
+ approverRole?: string | undefined;
2635
+ actualApprover?: {
2636
+ employeeId: string;
2637
+ name: string;
2638
+ email: string;
2639
+ } | undefined;
2640
+ result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2641
+ resultDate?: Date | undefined;
2642
+ resultComment?: string | undefined;
2643
+ }[];
2644
+ batchSequence?: number | undefined;
2645
+ isActive?: boolean | undefined;
2646
+ }[];
2647
+ currentApprovers: {
2648
+ employeeId: string;
2649
+ name: string;
2650
+ email: string;
2651
+ }[];
2652
+ number?: string | undefined;
2653
+ type?: "Single" | "Batch" | undefined;
2654
+ }, Error, {
2655
+ id: string;
2656
+ applicationName: string;
2657
+ emailBody: string;
2658
+ approvalFlows: {
2659
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2660
+ approvalStage: number;
2661
+ steps: {
2662
+ approver: {
2663
+ employeeId: string;
2664
+ name: string;
2665
+ email: string;
2666
+ };
2667
+ approverRole?: string | undefined;
2668
+ }[];
2669
+ batchSequence?: number | undefined;
2670
+ }[];
2671
+ number?: string | undefined;
2672
+ type?: "Single" | "Batch" | undefined;
2673
+ }, unknown>, "mutationKey">;
2674
+ approve: () => Omit<import('@tanstack/react-query').UseMutationOptions<{
2675
+ id: string;
2676
+ applicationName: string;
2677
+ status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
2678
+ emailBody: string;
2679
+ created: Date;
2680
+ createdBy: {
2681
+ employeeId: string;
2682
+ name: string;
2683
+ email: string;
2684
+ };
2685
+ updated: Date;
2686
+ updatedBy: {
2687
+ employeeId: string;
2688
+ name: string;
2689
+ email: string;
2690
+ };
2691
+ approvalFlows: {
2692
+ id: string;
2693
+ approvalStage: number;
2694
+ approvalSequence: number;
2695
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2696
+ steps: {
2697
+ id: string;
2698
+ order: number;
2699
+ approver: {
2700
+ employeeId: string;
2701
+ name: string;
2702
+ email: string;
2703
+ };
2704
+ approverRole?: string | undefined;
2705
+ actualApprover?: {
2706
+ employeeId: string;
2707
+ name: string;
2708
+ email: string;
2709
+ } | undefined;
2710
+ result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2711
+ resultDate?: Date | undefined;
2712
+ resultComment?: string | undefined;
2713
+ }[];
2714
+ batchSequence?: number | undefined;
2715
+ isActive?: boolean | undefined;
2716
+ }[];
2717
+ currentApprovers: {
2718
+ employeeId: string;
2719
+ name: string;
2720
+ email: string;
2721
+ }[];
2722
+ number?: string | undefined;
2723
+ type?: "Single" | "Batch" | undefined;
2724
+ }, Error, {
2725
+ id: string;
2726
+ result: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled";
2727
+ emailBody: string;
2728
+ resultComment?: string | undefined;
2729
+ }, unknown>, "mutationKey">;
2730
+ resubmit: () => Omit<import('@tanstack/react-query').UseMutationOptions<{
2731
+ id: string;
2732
+ applicationName: string;
2733
+ status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
2734
+ emailBody: string;
2735
+ created: Date;
2736
+ createdBy: {
2737
+ employeeId: string;
2738
+ name: string;
2739
+ email: string;
2740
+ };
2741
+ updated: Date;
2742
+ updatedBy: {
2743
+ employeeId: string;
2744
+ name: string;
2745
+ email: string;
2746
+ };
2747
+ approvalFlows: {
2748
+ id: string;
2749
+ approvalStage: number;
2750
+ approvalSequence: number;
2751
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2752
+ steps: {
2753
+ id: string;
2754
+ order: number;
2755
+ approver: {
2756
+ employeeId: string;
2757
+ name: string;
2758
+ email: string;
2759
+ };
2760
+ approverRole?: string | undefined;
2761
+ actualApprover?: {
2762
+ employeeId: string;
2763
+ name: string;
2764
+ email: string;
2765
+ } | undefined;
2766
+ result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
2767
+ resultDate?: Date | undefined;
2768
+ resultComment?: string | undefined;
2769
+ }[];
2770
+ batchSequence?: number | undefined;
2771
+ isActive?: boolean | undefined;
2772
+ }[];
2773
+ currentApprovers: {
2774
+ employeeId: string;
2775
+ name: string;
2776
+ email: string;
2777
+ }[];
2778
+ number?: string | undefined;
2779
+ type?: "Single" | "Batch" | undefined;
2780
+ }, Error, {
2781
+ id: string;
2782
+ approvalFlows: {
2783
+ stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
2784
+ approvalStage: number;
2785
+ steps: {
2786
+ approver: {
2787
+ employeeId: string;
2788
+ name: string;
2789
+ email: string;
2790
+ };
2791
+ approverRole?: string | undefined;
2792
+ }[];
2793
+ batchSequence?: number | undefined;
2794
+ }[];
2795
+ }, unknown>, "mutationKey">;
2796
+ withdraw: () => Omit<import('@tanstack/react-query').UseMutationOptions<void, Error, {
2797
+ id: string;
2798
+ comment: string;
2799
+ emailBody: string;
2800
+ }, unknown>, "mutationKey">;
2801
+ cancel: () => Omit<import('@tanstack/react-query').UseMutationOptions<void, Error, {
2802
+ id: string;
2803
+ comment: string;
2804
+ emailBody: string;
2805
+ }, unknown>, "mutationKey">;
2806
+ };
2807
+ file: {
2808
+ metas: (params: import('./FileHooks').GetFileMetasParams) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
2809
+ id: string;
2810
+ subId: string;
2811
+ appName: string;
2812
+ fileName: string;
2813
+ fileExtension: string;
2814
+ fileSize: number;
2815
+ mediaSubType: string;
2816
+ mediaType: string;
2817
+ mimeType: string;
2818
+ createdBy: string;
2819
+ createdDate: Date;
2820
+ }[], Error, {
2821
+ id: string;
2822
+ subId: string;
2823
+ appName: string;
2824
+ fileName: string;
2825
+ fileExtension: string;
2826
+ fileSize: number;
2827
+ mediaSubType: string;
2828
+ mediaType: string;
2829
+ mimeType: string;
2830
+ createdBy: string;
2831
+ createdDate: Date;
2832
+ }[], string[]>, "queryFn"> & {
2833
+ queryFn?: import('@tanstack/query-core').QueryFunction<{
2834
+ id: string;
2835
+ subId: string;
2836
+ appName: string;
2837
+ fileName: string;
2838
+ fileExtension: string;
2839
+ fileSize: number;
2840
+ mediaSubType: string;
2841
+ mediaType: string;
2842
+ mimeType: string;
2843
+ createdBy: string;
2844
+ createdDate: Date;
2845
+ }[], string[], never> | undefined;
2846
+ } & {
2847
+ queryKey: string[] & {
2848
+ [dataTagSymbol]: {
2849
+ id: string;
2850
+ subId: string;
2851
+ appName: string;
2852
+ fileName: string;
2853
+ fileExtension: string;
2854
+ fileSize: number;
2855
+ mediaSubType: string;
2856
+ mediaType: string;
2857
+ mimeType: string;
2858
+ createdBy: string;
2859
+ createdDate: Date;
2860
+ }[];
2861
+ [dataTagErrorSymbol]: Error;
2862
+ };
2863
+ };
2864
+ thumbnail: (params: import('./FileHooks').GetFileThumbnailParams) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<Blob, Error, string, (string | undefined)[]>, "queryFn"> & {
2865
+ queryFn?: import('@tanstack/query-core').QueryFunction<Blob, (string | undefined)[], never> | undefined;
2866
+ } & {
2867
+ queryKey: (string | undefined)[] & {
2868
+ [dataTagSymbol]: Blob;
2869
+ [dataTagErrorSymbol]: Error;
2870
+ };
2871
+ };
2872
+ getOne: (params: import('./FileHooks').GetFileParams) => import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<Blob, Error, string, (string | undefined)[]>, "queryFn"> & {
2873
+ queryFn?: import('@tanstack/query-core').QueryFunction<Blob, (string | undefined)[], never> | undefined;
2874
+ } & {
2875
+ queryKey: (string | undefined)[] & {
2876
+ [dataTagSymbol]: Blob;
2877
+ [dataTagErrorSymbol]: Error;
2878
+ };
2879
+ };
2880
+ download: () => Omit<import('@tanstack/react-query').UseMutationOptions<Blob, Error, {
2881
+ id: string;
2882
+ subId: string;
2883
+ appName: string;
2884
+ fileName: string;
2885
+ fileExtension: string;
2886
+ fileSize: number;
2887
+ mediaSubType: string;
2888
+ mediaType: string;
2889
+ mimeType: string;
2890
+ createdBy: string;
2891
+ createdDate: Date;
2892
+ }, unknown>, "mutationKey">;
2893
+ open: () => Omit<import('@tanstack/react-query').UseMutationOptions<Blob, Error, {
2894
+ id: string;
2895
+ subId: string;
2896
+ appName: string;
2897
+ fileName: string;
2898
+ fileExtension: string;
2899
+ fileSize: number;
2900
+ mediaSubType: string;
2901
+ mediaType: string;
2902
+ mimeType: string;
2903
+ createdBy: string;
2904
+ createdDate: Date;
2905
+ }, unknown>, "mutationKey">;
2906
+ updateMeta: () => Omit<import('@tanstack/react-query').UseMutationOptions<{
2907
+ id: string;
2908
+ subId: string;
2909
+ appName: string;
2910
+ fileName: string;
2911
+ fileExtension: string;
2912
+ fileSize: number;
2913
+ mediaSubType: string;
2914
+ mediaType: string;
2915
+ mimeType: string;
2916
+ createdBy: string;
2917
+ createdDate: Date;
2918
+ }, Error, {
2919
+ id: string;
2920
+ subId: string;
2921
+ appName: string;
2922
+ fileName: string;
2923
+ fileExtension: string;
2924
+ fileSize: number;
2925
+ mediaSubType: string;
2926
+ mediaType: string;
2927
+ mimeType: string;
2928
+ createdBy: string;
2929
+ createdDate: Date;
2930
+ }, unknown>, "mutationKey">;
2931
+ delete: () => Omit<import('@tanstack/react-query').UseMutationOptions<{
2932
+ id: string;
2933
+ subId: string;
2934
+ appName: string;
2935
+ fileName: string;
2936
+ fileExtension: string;
2937
+ fileSize: number;
2938
+ mediaSubType: string;
2939
+ mediaType: string;
2940
+ mimeType: string;
2941
+ createdBy: string;
2942
+ createdDate: Date;
2943
+ }, Error, {
2944
+ id: string;
2945
+ subId: string;
2946
+ appName: string;
2947
+ fileName: string;
2948
+ fileExtension: string;
2949
+ fileSize: number;
2950
+ mediaSubType: string;
2951
+ mediaType: string;
2952
+ mimeType: string;
2953
+ createdBy: string;
2954
+ createdDate: Date;
2955
+ }, unknown>, "mutationKey">;
2956
+ batchDelete: () => Omit<import('@tanstack/react-query').UseMutationOptions<string, Error, string, unknown>, "mutationKey">;
2957
+ };
2958
+ };