wcz-test 6.22.2 → 6.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/compiler-runtime.js +6 -0
- package/dist/_virtual/compiler-runtime.js.map +1 -0
- package/dist/_virtual/compiler-runtime2.js +5 -0
- package/dist/_virtual/compiler-runtime2.js.map +1 -0
- package/dist/_virtual/jsx-runtime.js +6 -0
- package/dist/_virtual/jsx-runtime.js.map +1 -0
- package/dist/_virtual/jsx-runtime2.js +5 -0
- package/dist/_virtual/jsx-runtime2.js.map +1 -0
- package/dist/_virtual/react-compiler-runtime.development.js +5 -0
- package/dist/_virtual/react-compiler-runtime.development.js.map +1 -0
- package/dist/_virtual/react-compiler-runtime.production.js +5 -0
- package/dist/_virtual/react-compiler-runtime.production.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.development.js +5 -0
- package/dist/_virtual/react-jsx-runtime.development.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.js +5 -0
- package/dist/_virtual/react-jsx-runtime.production.js.map +1 -0
- package/dist/client.js +4 -4
- package/dist/components/core/AppTitle.d.ts +2 -0
- package/dist/components/core/AppTitle.js +23 -0
- package/dist/components/core/AppTitle.js.map +1 -0
- package/dist/components/core/Fullscreen.d.ts +3 -0
- package/dist/components/core/Fullscreen.js +104 -0
- package/dist/components/core/Fullscreen.js.map +1 -0
- package/dist/components/core/Layout.d.ts +8 -0
- package/dist/components/core/Layout.js +215 -0
- package/dist/components/core/Layout.js.map +1 -0
- package/dist/components/core/ToolbarAccount.d.ts +2 -0
- package/dist/components/core/ToolbarAccount.js +602 -0
- package/dist/components/core/ToolbarAccount.js.map +1 -0
- package/dist/components/core/TypographyWithIcon.d.ts +7 -0
- package/dist/components/core/TypographyWithIcon.js +117 -0
- package/dist/components/core/TypographyWithIcon.js.map +1 -0
- package/dist/components/core/navigation/NavigationList.d.ts +22 -0
- package/dist/components/core/navigation/NavigationList.js +166 -0
- package/dist/components/core/navigation/NavigationList.js.map +1 -0
- package/dist/components/core/navigation/NavigationListItem.d.ts +16 -0
- package/dist/components/core/navigation/NavigationListItem.js +467 -0
- package/dist/components/core/navigation/NavigationListItem.js.map +1 -0
- package/dist/components/core/navigation/NavigationRail.d.ts +12 -0
- package/dist/components/core/navigation/NavigationRail.js +141 -0
- package/dist/components/core/navigation/NavigationRail.js.map +1 -0
- package/dist/components/data-grid/ChipInputCell.d.ts +9 -0
- package/dist/components/data-grid/ChipInputCell.js +95 -0
- package/dist/components/data-grid/ChipInputCell.js.map +1 -0
- package/dist/components/data-grid/EditableColumnHeader.d.ts +2 -0
- package/dist/components/data-grid/EditableColumnHeader.js +30 -0
- package/dist/components/data-grid/EditableColumnHeader.js.map +1 -0
- package/dist/components/file/Dropzone.d.ts +8 -0
- package/dist/components/file/Dropzone.js +151 -0
- package/dist/components/file/Dropzone.js.map +1 -0
- package/dist/components/file/FileViewer.d.ts +20 -0
- package/dist/components/file/FileViewer.js +127 -0
- package/dist/components/file/FileViewer.js.map +1 -0
- package/dist/components/file/fileViewer/FileViewerGrid.d.ts +17 -0
- package/dist/components/file/fileViewer/FileViewerGrid.js +282 -0
- package/dist/components/file/fileViewer/FileViewerGrid.js.map +1 -0
- package/dist/components/file/fileViewer/FileViewerList.d.ts +12 -0
- package/dist/components/file/fileViewer/FileViewerList.js +191 -0
- package/dist/components/file/fileViewer/FileViewerList.js.map +1 -0
- package/dist/components/file/fileViewer/ImageViewer.d.ts +6 -0
- package/dist/components/file/fileViewer/ImageViewer.js +75 -0
- package/dist/components/file/fileViewer/ImageViewer.js.map +1 -0
- package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +15 -0
- package/dist/components/file/fileViewer/common/ActionsMenu.js +159 -0
- package/dist/components/file/fileViewer/common/ActionsMenu.js.map +1 -0
- package/dist/components/form/FormAutocomplete.d.ts +7 -0
- package/dist/components/form/FormAutocomplete.js +80 -0
- package/dist/components/form/FormAutocomplete.js.map +1 -0
- package/dist/components/form/FormCheckbox.d.ts +7 -0
- package/dist/components/form/FormCheckbox.js +81 -0
- package/dist/components/form/FormCheckbox.js.map +1 -0
- package/dist/components/form/FormDatePicker.d.ts +8 -0
- package/dist/components/form/FormDatePicker.js +77 -0
- package/dist/components/form/FormDatePicker.js.map +1 -0
- package/dist/components/form/FormDateRangePicker.d.ts +8 -0
- package/dist/components/form/FormDateRangePicker.js +77 -0
- package/dist/components/form/FormDateRangePicker.js.map +1 -0
- package/dist/components/form/FormDateTimePicker.d.ts +8 -0
- package/dist/components/form/FormDateTimePicker.js +77 -0
- package/dist/components/form/FormDateTimePicker.js.map +1 -0
- package/dist/components/form/FormDateTimeRangePicker.d.ts +8 -0
- package/dist/components/form/FormDateTimeRangePicker.js +77 -0
- package/dist/components/form/FormDateTimeRangePicker.js.map +1 -0
- package/dist/components/form/FormNumberField.d.ts +9 -0
- package/dist/components/form/FormNumberField.js +73 -0
- package/dist/components/form/FormNumberField.js.map +1 -0
- package/dist/components/form/FormRadioGroup.d.ts +13 -0
- package/dist/components/form/FormRadioGroup.js +113 -0
- package/dist/components/form/FormRadioGroup.js.map +1 -0
- package/dist/components/form/FormSlider.d.ts +7 -0
- package/dist/components/form/FormSlider.js +94 -0
- package/dist/components/form/FormSlider.js.map +1 -0
- package/dist/components/form/FormSubmitButton.d.ts +4 -0
- package/dist/components/form/FormSubmitButton.js +50 -0
- package/dist/components/form/FormSubmitButton.js.map +1 -0
- package/dist/components/form/FormSwitch.d.ts +7 -0
- package/dist/components/form/FormSwitch.js +81 -0
- package/dist/components/form/FormSwitch.js.map +1 -0
- package/dist/components/form/FormTextField.d.ts +7 -0
- package/dist/components/form/FormTextField.js +52 -0
- package/dist/components/form/FormTextField.js.map +1 -0
- package/dist/components/form/FormTimePicker.d.ts +8 -0
- package/dist/components/form/FormTimePicker.js +77 -0
- package/dist/components/form/FormTimePicker.js.map +1 -0
- package/dist/components/form/FormTimeRangePicker.d.ts +8 -0
- package/dist/components/form/FormTimeRangePicker.js +77 -0
- package/dist/components/form/FormTimeRangePicker.js.map +1 -0
- package/dist/components/router/RouterButton.d.ts +6 -0
- package/dist/components/router/RouterButton.js +35 -0
- package/dist/components/router/RouterButton.js.map +1 -0
- package/dist/components/router/RouterError.d.ts +7 -0
- package/dist/components/router/RouterError.js +62 -0
- package/dist/components/router/RouterError.js.map +1 -0
- package/dist/components/router/RouterGridActionsCellItem.d.ts +6 -0
- package/dist/components/router/RouterGridActionsCellItem.js +35 -0
- package/dist/components/router/RouterGridActionsCellItem.js.map +1 -0
- package/dist/components/router/RouterIconButton.d.ts +6 -0
- package/dist/components/router/RouterIconButton.js +35 -0
- package/dist/components/router/RouterIconButton.js.map +1 -0
- package/dist/components/router/RouterLink.d.ts +6 -0
- package/dist/components/router/RouterLink.js +35 -0
- package/dist/components/router/RouterLink.js.map +1 -0
- package/dist/components/router/RouterListItemButton.d.ts +6 -0
- package/dist/{RouterListItemButton-CagMd8F_.js → components/router/RouterListItemButton.js} +4 -4
- package/dist/components/router/RouterListItemButton.js.map +1 -0
- package/dist/components/router/RouterNotFound.d.ts +1 -0
- package/dist/components/router/RouterNotFound.js +53 -0
- package/dist/components/router/RouterNotFound.js.map +1 -0
- package/dist/components/router/RouterTab.d.ts +6 -0
- package/dist/components/router/RouterTab.js +35 -0
- package/dist/components/router/RouterTab.js.map +1 -0
- package/dist/components.js +15 -1486
- package/dist/components.js.map +1 -1
- package/dist/contexts/DialogsContext.d.ts +6 -0
- package/dist/contexts/DialogsContext.js +6 -0
- package/dist/contexts/DialogsContext.js.map +1 -0
- package/dist/contexts/FileContext.d.ts +13 -0
- package/dist/contexts/FileContext.js +14 -0
- package/dist/contexts/FileContext.js.map +1 -0
- package/dist/contexts/UserContext.d.ts +7 -0
- package/dist/contexts/UserContext.js +6 -0
- package/dist/contexts/UserContext.js.map +1 -0
- package/dist/env.d.ts +10 -0
- package/dist/env.js +26 -0
- package/dist/env.js.map +1 -0
- package/dist/exports/client.d.ts +4 -0
- package/dist/exports/components.d.ts +14 -0
- package/dist/exports/hooks.d.ts +5 -0
- package/dist/exports/index.d.ts +3 -0
- package/dist/exports/models.d.ts +24 -0
- package/dist/exports/queries.d.ts +4 -0
- package/dist/exports/server.d.ts +1 -0
- package/dist/exports/utils.d.ts +3 -0
- package/dist/exports/vite.d.ts +1 -0
- package/dist/hooks/DialogsHooks.d.ts +42 -0
- package/dist/{DialogsHooks-BEZgPVSk.js → hooks/DialogsHooks.js} +7 -4
- package/dist/hooks/DialogsHooks.js.map +1 -0
- package/dist/hooks/FormHooks.d.ts +52 -0
- package/dist/hooks/FormHooks.js +55 -0
- package/dist/hooks/FormHooks.js.map +1 -0
- package/dist/hooks/UseHook.d.ts +2 -0
- package/dist/hooks/UseHook.js +12 -0
- package/dist/hooks/UseHook.js.map +1 -0
- package/dist/hooks.js +5 -1002
- package/dist/hooks.js.map +1 -1
- package/dist/index.js +3 -1962
- package/dist/index.js.map +1 -1
- package/dist/lib/auth/client.d.ts +13 -0
- package/dist/lib/auth/client.js +63 -0
- package/dist/lib/auth/client.js.map +1 -0
- package/dist/lib/auth/server.d.ts +9 -0
- package/dist/lib/utils.d.ts +52 -0
- package/dist/{utils-CCjnelFb.js → lib/utils.js} +9 -24
- package/dist/lib/utils.js.map +1 -0
- package/dist/lib/vite-plugin.d.ts +2 -0
- package/dist/lib/vite-plugin.js +65 -0
- package/dist/lib/vite-plugin.js.map +1 -0
- package/dist/middleware/auth.d.ts +13 -0
- package/dist/models/Navigation.d.ts +18 -0
- package/dist/models/User.d.ts +11 -0
- package/dist/models/approval/Approval.d.ts +177 -0
- package/dist/models/approval/Approval.js +81 -0
- package/dist/models/approval/Approval.js.map +1 -0
- package/dist/models/approval/ApprovalEmployee.d.ts +7 -0
- package/dist/models/approval/ApprovalEmployee.js +10 -0
- package/dist/models/approval/ApprovalEmployee.js.map +1 -0
- package/dist/models/approval/ApprovalFlow.d.ts +49 -0
- package/dist/models/approval/ApprovalFlow.js +15 -0
- package/dist/models/approval/ApprovalFlow.js.map +1 -0
- package/dist/models/approval/ApprovalFlowStep.d.ts +29 -0
- package/dist/models/approval/ApprovalFlowStep.js +17 -0
- package/dist/models/approval/ApprovalFlowStep.js.map +1 -0
- package/dist/models/approval/ApprovalRequestType.d.ts +5 -0
- package/dist/models/approval/ApprovalRequestType.js +6 -0
- package/dist/models/approval/ApprovalRequestType.js.map +1 -0
- package/dist/models/approval/ApprovalStatus.d.ts +9 -0
- package/dist/models/approval/ApprovalStatus.js +6 -0
- package/dist/models/approval/ApprovalStatus.js.map +1 -0
- package/dist/models/approval/ApprovalStepResult.d.ts +11 -0
- package/dist/models/approval/ApprovalStepResult.js +6 -0
- package/dist/models/approval/ApprovalStepResult.js.map +1 -0
- package/dist/models/approval/StepApprovalOrder.d.ts +6 -0
- package/dist/models/approval/StepApprovalOrder.js +6 -0
- package/dist/models/approval/StepApprovalOrder.js.map +1 -0
- package/dist/models/email/Email.d.ts +13 -0
- package/dist/models/email/Email.js +14 -0
- package/dist/models/email/Email.js.map +1 -0
- package/dist/models/email/EmailAttachment.d.ts +6 -0
- package/dist/models/email/EmailAttachment.js +9 -0
- package/dist/models/email/EmailAttachment.js.map +1 -0
- package/dist/models/file/FileActions.d.ts +6 -0
- package/dist/models/file/FileMeta.d.ts +15 -0
- package/dist/{FileMeta-G1oT3mYK.js → models/file/FileMeta.js} +2 -2
- package/dist/models/file/FileMeta.js.map +1 -0
- package/dist/models/peoplesoft/Department.d.ts +58 -0
- package/dist/models/peoplesoft/Department.js +19 -0
- package/dist/models/peoplesoft/Department.js.map +1 -0
- package/dist/models/peoplesoft/Employee.d.ts +46 -0
- package/dist/models/peoplesoft/Employee.js +43 -0
- package/dist/models/peoplesoft/Employee.js.map +1 -0
- package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +6 -0
- package/dist/models/peoplesoft/EmployeeCategoryGroup.js +6 -0
- package/dist/models/peoplesoft/EmployeeCategoryGroup.js.map +1 -0
- package/dist/models/peoplesoft/EmployeeStatus.d.ts +6 -0
- package/dist/models/peoplesoft/EmployeeStatus.js +6 -0
- package/dist/models/peoplesoft/EmployeeStatus.js.map +1 -0
- package/dist/models.js +10 -159
- package/dist/models.js.map +1 -1
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +22 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js.map +1 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +16 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js.map +1 -0
- package/dist/{DialogsContext-DMZRefiY.js → node_modules/react/cjs/react-jsx-runtime.development.js} +4 -48
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +33 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +1 -0
- package/dist/node_modules/react/compiler-runtime.js +18 -0
- package/dist/node_modules/react/compiler-runtime.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.js +18 -0
- package/dist/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/providers/DialogsProvider.d.ts +5 -0
- package/dist/providers/DialogsProvider.js +79 -0
- package/dist/providers/DialogsProvider.js.map +1 -0
- package/dist/providers/LayoutProvider.d.ts +11 -0
- package/dist/providers/LayoutProvider.js +101 -0
- package/dist/providers/LayoutProvider.js.map +1 -0
- package/dist/providers/UserProvider.d.ts +4 -0
- package/dist/providers/UserProvider.js +94 -0
- package/dist/providers/UserProvider.js.map +1 -0
- package/dist/queries/Approval.d.ts +585 -0
- package/dist/queries/Approval.js +91 -0
- package/dist/queries/Approval.js.map +1 -0
- package/dist/queries/ApprovalHooks.d.ts +315 -0
- package/dist/queries/ApprovalHooks.js +243 -0
- package/dist/queries/ApprovalHooks.js.map +1 -0
- package/dist/queries/FileHooks.d.ts +151 -0
- package/dist/{FileHooks-BJdvBvBr.js → queries/FileHooks.js} +14 -13
- package/dist/queries/FileHooks.js.map +1 -0
- package/dist/queries/PeopleSoftHooks.d.ts +537 -0
- package/dist/queries/PeopleSoftHooks.js +586 -0
- package/dist/queries/PeopleSoftHooks.js.map +1 -0
- package/dist/queries/UserHooks.d.ts +11 -0
- package/dist/queries/UserHooks.js +157 -0
- package/dist/queries/UserHooks.js.map +1 -0
- package/dist/queries.js +13 -886
- package/dist/queries.js.map +1 -1
- package/dist/utils.js +2 -2
- package/dist/vite.js +1 -61
- package/dist/vite.js.map +1 -1
- package/package.json +13 -11
- package/dist/ApprovalStatus-BtAVFn5p.js +0 -8
- package/dist/ApprovalStatus-BtAVFn5p.js.map +0 -1
- package/dist/DialogsContext-DMZRefiY.js.map +0 -1
- package/dist/DialogsHooks-BEZgPVSk.js.map +0 -1
- package/dist/FileHooks-BJdvBvBr.js.map +0 -1
- package/dist/FileMeta-G1oT3mYK.js.map +0 -1
- package/dist/RouterListItemButton-CagMd8F_.js.map +0 -1
- package/dist/UseHook-CGSDGsbk.js +0 -13
- package/dist/UseHook-CGSDGsbk.js.map +0 -1
- package/dist/client.d.ts +0 -20
- package/dist/compiler-runtime-BGHur82y.js +0 -46
- package/dist/compiler-runtime-BGHur82y.js.map +0 -1
- package/dist/components.d.ts +0 -134
- package/dist/hooks.d.ts +0 -208
- package/dist/index.d.ts +0 -74
- package/dist/models.d.ts +0 -467
- package/dist/queries.d.ts +0 -1956
- package/dist/server.d.ts +0 -5
- package/dist/utils-CCjnelFb.js.map +0 -1
- package/dist/utils.d.ts +0 -11
- package/dist/vite.d.ts +0 -5
package/dist/queries.d.ts
DELETED
|
@@ -1,1956 +0,0 @@
|
|
|
1
|
-
import { default as default_2 } from 'zod';
|
|
2
|
-
import { DefinedInitialDataOptions } from '@tanstack/react-query';
|
|
3
|
-
import { DetailedError } from 'tus-js-client';
|
|
4
|
-
import { IsomorphicFn } from '@tanstack/start-client-core';
|
|
5
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
6
|
-
import { UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import { UseQueryResult } from '@tanstack/react-query';
|
|
8
|
-
import * as z from 'zod';
|
|
9
|
-
|
|
10
|
-
declare type Approval = default_2.infer<typeof ApprovalSchema>;
|
|
11
|
-
|
|
12
|
-
declare const ApprovalSchema: default_2.ZodObject<{
|
|
13
|
-
id: default_2.ZodUUID;
|
|
14
|
-
number: default_2.ZodOptional<default_2.ZodString>;
|
|
15
|
-
applicationName: default_2.ZodString;
|
|
16
|
-
type: default_2.ZodOptional<default_2.ZodDefault<default_2.ZodEnum<{
|
|
17
|
-
Single: "Single";
|
|
18
|
-
Batch: "Batch";
|
|
19
|
-
}>>>;
|
|
20
|
-
status: default_2.ZodEnum<{
|
|
21
|
-
WaitingForApproval: "WaitingForApproval";
|
|
22
|
-
Approved: "Approved";
|
|
23
|
-
Rejected: "Rejected";
|
|
24
|
-
Withdrawn: "Withdrawn";
|
|
25
|
-
Cancelled: "Cancelled";
|
|
26
|
-
PartiallyApproved: "PartiallyApproved";
|
|
27
|
-
}>;
|
|
28
|
-
emailBody: default_2.ZodString;
|
|
29
|
-
created: default_2.ZodDate;
|
|
30
|
-
createdBy: default_2.ZodCustom<{
|
|
31
|
-
employeeId: string;
|
|
32
|
-
name: string;
|
|
33
|
-
email: string;
|
|
34
|
-
}, {
|
|
35
|
-
employeeId: string;
|
|
36
|
-
name: string;
|
|
37
|
-
email: string;
|
|
38
|
-
}>;
|
|
39
|
-
updated: default_2.ZodDate;
|
|
40
|
-
updatedBy: default_2.ZodCustom<{
|
|
41
|
-
employeeId: string;
|
|
42
|
-
name: string;
|
|
43
|
-
email: string;
|
|
44
|
-
}, {
|
|
45
|
-
employeeId: string;
|
|
46
|
-
name: string;
|
|
47
|
-
email: string;
|
|
48
|
-
}>;
|
|
49
|
-
approvalFlows: default_2.ZodArray<default_2.ZodCustom<{
|
|
50
|
-
id: string;
|
|
51
|
-
approvalStage: number;
|
|
52
|
-
approvalSequence: number;
|
|
53
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
54
|
-
steps: {
|
|
55
|
-
id: string;
|
|
56
|
-
order: number;
|
|
57
|
-
approver: {
|
|
58
|
-
employeeId: string;
|
|
59
|
-
name: string;
|
|
60
|
-
email: string;
|
|
61
|
-
};
|
|
62
|
-
approverRole?: string | undefined;
|
|
63
|
-
actualApprover?: {
|
|
64
|
-
employeeId: string;
|
|
65
|
-
name: string;
|
|
66
|
-
email: string;
|
|
67
|
-
} | undefined;
|
|
68
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
69
|
-
resultDate?: Date | undefined;
|
|
70
|
-
resultComment?: string | undefined;
|
|
71
|
-
}[];
|
|
72
|
-
batchSequence?: number | undefined;
|
|
73
|
-
isActive?: boolean | undefined;
|
|
74
|
-
}, {
|
|
75
|
-
id: string;
|
|
76
|
-
approvalStage: number;
|
|
77
|
-
approvalSequence: number;
|
|
78
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
79
|
-
steps: {
|
|
80
|
-
id: string;
|
|
81
|
-
order: number;
|
|
82
|
-
approver: {
|
|
83
|
-
employeeId: string;
|
|
84
|
-
name: string;
|
|
85
|
-
email: string;
|
|
86
|
-
};
|
|
87
|
-
approverRole?: string | undefined;
|
|
88
|
-
actualApprover?: {
|
|
89
|
-
employeeId: string;
|
|
90
|
-
name: string;
|
|
91
|
-
email: string;
|
|
92
|
-
} | undefined;
|
|
93
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
94
|
-
resultDate?: Date | undefined;
|
|
95
|
-
resultComment?: string | undefined;
|
|
96
|
-
}[];
|
|
97
|
-
batchSequence?: number | undefined;
|
|
98
|
-
isActive?: boolean | undefined;
|
|
99
|
-
}>>;
|
|
100
|
-
currentApprovers: default_2.ZodArray<default_2.ZodCustom<{
|
|
101
|
-
employeeId: string;
|
|
102
|
-
name: string;
|
|
103
|
-
email: string;
|
|
104
|
-
}, {
|
|
105
|
-
employeeId: string;
|
|
106
|
-
name: string;
|
|
107
|
-
email: string;
|
|
108
|
-
}>>;
|
|
109
|
-
}, default_2.core.$strip>;
|
|
110
|
-
|
|
111
|
-
declare type ApproveApproval = default_2.infer<typeof ApproveApprovalSchema>;
|
|
112
|
-
|
|
113
|
-
export declare const approveApproval: IsomorphicFn<[data: {
|
|
114
|
-
id: string;
|
|
115
|
-
result: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled";
|
|
116
|
-
emailBody: string;
|
|
117
|
-
resultComment?: string | undefined;
|
|
118
|
-
}], Promise<{
|
|
119
|
-
id: string;
|
|
120
|
-
applicationName: string;
|
|
121
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
122
|
-
emailBody: string;
|
|
123
|
-
created: Date;
|
|
124
|
-
createdBy: {
|
|
125
|
-
employeeId: string;
|
|
126
|
-
name: string;
|
|
127
|
-
email: string;
|
|
128
|
-
};
|
|
129
|
-
updated: Date;
|
|
130
|
-
updatedBy: {
|
|
131
|
-
employeeId: string;
|
|
132
|
-
name: string;
|
|
133
|
-
email: string;
|
|
134
|
-
};
|
|
135
|
-
approvalFlows: {
|
|
136
|
-
id: string;
|
|
137
|
-
approvalStage: number;
|
|
138
|
-
approvalSequence: number;
|
|
139
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
140
|
-
steps: {
|
|
141
|
-
id: string;
|
|
142
|
-
order: number;
|
|
143
|
-
approver: {
|
|
144
|
-
employeeId: string;
|
|
145
|
-
name: string;
|
|
146
|
-
email: string;
|
|
147
|
-
};
|
|
148
|
-
approverRole?: string | undefined;
|
|
149
|
-
actualApprover?: {
|
|
150
|
-
employeeId: string;
|
|
151
|
-
name: string;
|
|
152
|
-
email: string;
|
|
153
|
-
} | undefined;
|
|
154
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
155
|
-
resultDate?: Date | undefined;
|
|
156
|
-
resultComment?: string | undefined;
|
|
157
|
-
}[];
|
|
158
|
-
batchSequence?: number | undefined;
|
|
159
|
-
isActive?: boolean | undefined;
|
|
160
|
-
}[];
|
|
161
|
-
currentApprovers: {
|
|
162
|
-
employeeId: string;
|
|
163
|
-
name: string;
|
|
164
|
-
email: string;
|
|
165
|
-
}[];
|
|
166
|
-
number?: string | undefined;
|
|
167
|
-
type?: "Single" | "Batch" | undefined;
|
|
168
|
-
}>, Promise<{
|
|
169
|
-
id: string;
|
|
170
|
-
applicationName: string;
|
|
171
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
172
|
-
emailBody: string;
|
|
173
|
-
created: Date;
|
|
174
|
-
createdBy: {
|
|
175
|
-
employeeId: string;
|
|
176
|
-
name: string;
|
|
177
|
-
email: string;
|
|
178
|
-
};
|
|
179
|
-
updated: Date;
|
|
180
|
-
updatedBy: {
|
|
181
|
-
employeeId: string;
|
|
182
|
-
name: string;
|
|
183
|
-
email: string;
|
|
184
|
-
};
|
|
185
|
-
approvalFlows: {
|
|
186
|
-
id: string;
|
|
187
|
-
approvalStage: number;
|
|
188
|
-
approvalSequence: number;
|
|
189
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
190
|
-
steps: {
|
|
191
|
-
id: string;
|
|
192
|
-
order: number;
|
|
193
|
-
approver: {
|
|
194
|
-
employeeId: string;
|
|
195
|
-
name: string;
|
|
196
|
-
email: string;
|
|
197
|
-
};
|
|
198
|
-
approverRole?: string | undefined;
|
|
199
|
-
actualApprover?: {
|
|
200
|
-
employeeId: string;
|
|
201
|
-
name: string;
|
|
202
|
-
email: string;
|
|
203
|
-
} | undefined;
|
|
204
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
205
|
-
resultDate?: Date | undefined;
|
|
206
|
-
resultComment?: string | undefined;
|
|
207
|
-
}[];
|
|
208
|
-
batchSequence?: number | undefined;
|
|
209
|
-
isActive?: boolean | undefined;
|
|
210
|
-
}[];
|
|
211
|
-
currentApprovers: {
|
|
212
|
-
employeeId: string;
|
|
213
|
-
name: string;
|
|
214
|
-
email: string;
|
|
215
|
-
}[];
|
|
216
|
-
number?: string | undefined;
|
|
217
|
-
type?: "Single" | "Batch" | undefined;
|
|
218
|
-
}>>;
|
|
219
|
-
|
|
220
|
-
declare const ApproveApprovalSchema: default_2.ZodObject<{
|
|
221
|
-
id: default_2.ZodUUID;
|
|
222
|
-
result: default_2.ZodEnum<{
|
|
223
|
-
NotAvailable: "NotAvailable";
|
|
224
|
-
FutureApproval: "FutureApproval";
|
|
225
|
-
WaitingForApproval: "WaitingForApproval";
|
|
226
|
-
Approved: "Approved";
|
|
227
|
-
Rejected: "Rejected";
|
|
228
|
-
Skipped: "Skipped";
|
|
229
|
-
Withdrawn: "Withdrawn";
|
|
230
|
-
Cancelled: "Cancelled";
|
|
231
|
-
}>;
|
|
232
|
-
resultComment: default_2.ZodOptional<default_2.ZodString>;
|
|
233
|
-
emailBody: default_2.ZodString;
|
|
234
|
-
}, default_2.core.$strip>;
|
|
235
|
-
|
|
236
|
-
declare type BaseBlobMutationOptions = Omit<UseMutationOptions<Blob, Error, FileMeta>, "mutationFn" | "onSuccess">;
|
|
237
|
-
|
|
238
|
-
declare type BaseBlobQueryOptions = Omit<DefinedInitialDataOptions<Blob, Error, string>, "queryKey" | "queryFn" | "select" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
|
239
|
-
|
|
240
|
-
declare type BaseDepartmentArrayQueryOptions = Omit<DefinedInitialDataOptions<Array<Department>>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
|
241
|
-
|
|
242
|
-
declare type BaseDepartmentQueryOptions = Omit<DefinedInitialDataOptions<Department>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
|
243
|
-
|
|
244
|
-
declare type BaseEmployeeArrayQueryOptions = Omit<DefinedInitialDataOptions<Array<Employee>>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
|
245
|
-
|
|
246
|
-
declare type BaseEmployeeQueryOptions = Omit<DefinedInitialDataOptions<Employee>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
|
247
|
-
|
|
248
|
-
declare type BaseFileMetaArrayQueryOptions = Omit<DefinedInitialDataOptions<Array<FileMeta>>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
|
249
|
-
|
|
250
|
-
declare type BaseFileMetaMutationOptions = Omit<UseMutationOptions<FileMeta, Error, FileMeta>, "mutationFn" | "onSettled">;
|
|
251
|
-
|
|
252
|
-
declare type BaseStringMutationOptions = Omit<UseMutationOptions<string, Error, string>, "mutationFn" | "onSettled">;
|
|
253
|
-
|
|
254
|
-
declare type CancelApproval = default_2.infer<typeof CancelApprovalSchema>;
|
|
255
|
-
|
|
256
|
-
export declare const cancelApproval: IsomorphicFn<[data: {
|
|
257
|
-
id: string;
|
|
258
|
-
comment: string;
|
|
259
|
-
emailBody: string;
|
|
260
|
-
}], Promise<void>, Promise<void>>;
|
|
261
|
-
|
|
262
|
-
declare const CancelApprovalSchema: default_2.ZodObject<{
|
|
263
|
-
id: default_2.ZodUUID;
|
|
264
|
-
comment: default_2.ZodString;
|
|
265
|
-
emailBody: default_2.ZodString;
|
|
266
|
-
}, default_2.core.$strip>;
|
|
267
|
-
|
|
268
|
-
declare type CreateApproval = default_2.infer<typeof CreateApprovalSchema>;
|
|
269
|
-
|
|
270
|
-
export declare const createApproval: IsomorphicFn<[data: {
|
|
271
|
-
id: string;
|
|
272
|
-
applicationName: string;
|
|
273
|
-
emailBody: string;
|
|
274
|
-
approvalFlows: {
|
|
275
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
276
|
-
approvalStage: number;
|
|
277
|
-
steps: {
|
|
278
|
-
approver: {
|
|
279
|
-
employeeId: string;
|
|
280
|
-
name: string;
|
|
281
|
-
email: string;
|
|
282
|
-
};
|
|
283
|
-
approverRole?: string | undefined;
|
|
284
|
-
}[];
|
|
285
|
-
batchSequence?: number | undefined;
|
|
286
|
-
}[];
|
|
287
|
-
number?: string | undefined;
|
|
288
|
-
type?: "Single" | "Batch" | undefined;
|
|
289
|
-
}], Promise<{
|
|
290
|
-
id: string;
|
|
291
|
-
applicationName: string;
|
|
292
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
293
|
-
emailBody: string;
|
|
294
|
-
created: Date;
|
|
295
|
-
createdBy: {
|
|
296
|
-
employeeId: string;
|
|
297
|
-
name: string;
|
|
298
|
-
email: string;
|
|
299
|
-
};
|
|
300
|
-
updated: Date;
|
|
301
|
-
updatedBy: {
|
|
302
|
-
employeeId: string;
|
|
303
|
-
name: string;
|
|
304
|
-
email: string;
|
|
305
|
-
};
|
|
306
|
-
approvalFlows: {
|
|
307
|
-
id: string;
|
|
308
|
-
approvalStage: number;
|
|
309
|
-
approvalSequence: number;
|
|
310
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
311
|
-
steps: {
|
|
312
|
-
id: string;
|
|
313
|
-
order: number;
|
|
314
|
-
approver: {
|
|
315
|
-
employeeId: string;
|
|
316
|
-
name: string;
|
|
317
|
-
email: string;
|
|
318
|
-
};
|
|
319
|
-
approverRole?: string | undefined;
|
|
320
|
-
actualApprover?: {
|
|
321
|
-
employeeId: string;
|
|
322
|
-
name: string;
|
|
323
|
-
email: string;
|
|
324
|
-
} | undefined;
|
|
325
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
326
|
-
resultDate?: Date | undefined;
|
|
327
|
-
resultComment?: string | undefined;
|
|
328
|
-
}[];
|
|
329
|
-
batchSequence?: number | undefined;
|
|
330
|
-
isActive?: boolean | undefined;
|
|
331
|
-
}[];
|
|
332
|
-
currentApprovers: {
|
|
333
|
-
employeeId: string;
|
|
334
|
-
name: string;
|
|
335
|
-
email: string;
|
|
336
|
-
}[];
|
|
337
|
-
number?: string | undefined;
|
|
338
|
-
type?: "Single" | "Batch" | undefined;
|
|
339
|
-
}>, Promise<{
|
|
340
|
-
id: string;
|
|
341
|
-
applicationName: string;
|
|
342
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
343
|
-
emailBody: string;
|
|
344
|
-
created: Date;
|
|
345
|
-
createdBy: {
|
|
346
|
-
employeeId: string;
|
|
347
|
-
name: string;
|
|
348
|
-
email: string;
|
|
349
|
-
};
|
|
350
|
-
updated: Date;
|
|
351
|
-
updatedBy: {
|
|
352
|
-
employeeId: string;
|
|
353
|
-
name: string;
|
|
354
|
-
email: string;
|
|
355
|
-
};
|
|
356
|
-
approvalFlows: {
|
|
357
|
-
id: string;
|
|
358
|
-
approvalStage: number;
|
|
359
|
-
approvalSequence: number;
|
|
360
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
361
|
-
steps: {
|
|
362
|
-
id: string;
|
|
363
|
-
order: number;
|
|
364
|
-
approver: {
|
|
365
|
-
employeeId: string;
|
|
366
|
-
name: string;
|
|
367
|
-
email: string;
|
|
368
|
-
};
|
|
369
|
-
approverRole?: string | undefined;
|
|
370
|
-
actualApprover?: {
|
|
371
|
-
employeeId: string;
|
|
372
|
-
name: string;
|
|
373
|
-
email: string;
|
|
374
|
-
} | undefined;
|
|
375
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
376
|
-
resultDate?: Date | undefined;
|
|
377
|
-
resultComment?: string | undefined;
|
|
378
|
-
}[];
|
|
379
|
-
batchSequence?: number | undefined;
|
|
380
|
-
isActive?: boolean | undefined;
|
|
381
|
-
}[];
|
|
382
|
-
currentApprovers: {
|
|
383
|
-
employeeId: string;
|
|
384
|
-
name: string;
|
|
385
|
-
email: string;
|
|
386
|
-
}[];
|
|
387
|
-
number?: string | undefined;
|
|
388
|
-
type?: "Single" | "Batch" | undefined;
|
|
389
|
-
}>>;
|
|
390
|
-
|
|
391
|
-
declare const CreateApprovalSchema: default_2.ZodObject<{
|
|
392
|
-
number: default_2.ZodOptional<default_2.ZodString>;
|
|
393
|
-
id: default_2.ZodUUID;
|
|
394
|
-
type: default_2.ZodOptional<default_2.ZodDefault<default_2.ZodEnum<{
|
|
395
|
-
Single: "Single";
|
|
396
|
-
Batch: "Batch";
|
|
397
|
-
}>>>;
|
|
398
|
-
applicationName: default_2.ZodString;
|
|
399
|
-
emailBody: default_2.ZodString;
|
|
400
|
-
approvalFlows: default_2.ZodArray<default_2.ZodObject<{
|
|
401
|
-
stepApprovalOrder: default_2.ZodEnum<{
|
|
402
|
-
Serial: "Serial";
|
|
403
|
-
Parallel: "Parallel";
|
|
404
|
-
OneOfThem: "OneOfThem";
|
|
405
|
-
}>;
|
|
406
|
-
approvalStage: default_2.ZodNumber;
|
|
407
|
-
batchSequence: default_2.ZodOptional<default_2.ZodNumber>;
|
|
408
|
-
steps: default_2.ZodArray<default_2.ZodObject<{
|
|
409
|
-
approver: default_2.ZodObject<{
|
|
410
|
-
employeeId: default_2.ZodString;
|
|
411
|
-
name: default_2.ZodString;
|
|
412
|
-
email: default_2.ZodEmail;
|
|
413
|
-
}, default_2.core.$strip>;
|
|
414
|
-
approverRole: default_2.ZodOptional<default_2.ZodDefault<default_2.ZodString>>;
|
|
415
|
-
}, default_2.core.$strip>>;
|
|
416
|
-
}, default_2.core.$strip>>;
|
|
417
|
-
}, default_2.core.$strip>;
|
|
418
|
-
|
|
419
|
-
declare type Department = default_2.infer<typeof DepartmentSchema>;
|
|
420
|
-
|
|
421
|
-
declare const DepartmentSchema: default_2.ZodObject<{
|
|
422
|
-
departmentId: default_2.ZodString;
|
|
423
|
-
description: default_2.ZodString;
|
|
424
|
-
managerId: default_2.ZodString;
|
|
425
|
-
managerRecordNumber: default_2.ZodString;
|
|
426
|
-
treeLevel: default_2.ZodNumber;
|
|
427
|
-
upperDepartmentId: default_2.ZodString;
|
|
428
|
-
companyCode: default_2.ZodString;
|
|
429
|
-
location: default_2.ZodString;
|
|
430
|
-
salLocation: default_2.ZodString;
|
|
431
|
-
plantId: default_2.ZodString;
|
|
432
|
-
manager: default_2.ZodObject<{
|
|
433
|
-
badgeId: default_2.ZodString;
|
|
434
|
-
category: default_2.ZodString;
|
|
435
|
-
categoryGroup: default_2.ZodEnum<{
|
|
436
|
-
IDL: "IDL";
|
|
437
|
-
FD: "FD";
|
|
438
|
-
FI: "FI";
|
|
439
|
-
}>;
|
|
440
|
-
companyCode: default_2.ZodString;
|
|
441
|
-
contactPhone: default_2.ZodString;
|
|
442
|
-
departmentId: default_2.ZodString;
|
|
443
|
-
departmentDescription: default_2.ZodString;
|
|
444
|
-
emailString: default_2.ZodString;
|
|
445
|
-
employeeId: default_2.ZodString;
|
|
446
|
-
extensionNumber: default_2.ZodString;
|
|
447
|
-
firstName: default_2.ZodString;
|
|
448
|
-
gender: default_2.ZodString;
|
|
449
|
-
hiredDate: default_2.ZodDate;
|
|
450
|
-
lastName: default_2.ZodString;
|
|
451
|
-
managerId: default_2.ZodString;
|
|
452
|
-
middleName: default_2.ZodString;
|
|
453
|
-
name: default_2.ZodString;
|
|
454
|
-
nameTitleCase: default_2.ZodString;
|
|
455
|
-
nfcSn: default_2.ZodString;
|
|
456
|
-
plantId: default_2.ZodString;
|
|
457
|
-
position: default_2.ZodString;
|
|
458
|
-
previousEmployeeIds: default_2.ZodNullable<default_2.ZodString>;
|
|
459
|
-
reHiredDate: default_2.ZodNullable<default_2.ZodDate>;
|
|
460
|
-
recordNumber: default_2.ZodNumber;
|
|
461
|
-
status: default_2.ZodEnum<{
|
|
462
|
-
Active: "Active";
|
|
463
|
-
Terminated: "Terminated";
|
|
464
|
-
"Leave of Absence": "Leave of Absence";
|
|
465
|
-
}>;
|
|
466
|
-
supervisorId: default_2.ZodString;
|
|
467
|
-
terminationDate: default_2.ZodNullable<default_2.ZodDate>;
|
|
468
|
-
terminationFutureDate: default_2.ZodNullable<default_2.ZodDate>;
|
|
469
|
-
type: default_2.ZodString;
|
|
470
|
-
upperDepartmentId: default_2.ZodString;
|
|
471
|
-
jobCode: default_2.ZodString;
|
|
472
|
-
jobDescription: default_2.ZodString;
|
|
473
|
-
terminationReason: default_2.ZodNullable<default_2.ZodString>;
|
|
474
|
-
supervisorRecordNumber: default_2.ZodNumber;
|
|
475
|
-
}, default_2.core.$strip>;
|
|
476
|
-
}, default_2.core.$strip>;
|
|
477
|
-
|
|
478
|
-
declare type Employee = default_2.infer<typeof EmployeeSchema>;
|
|
479
|
-
|
|
480
|
-
declare const EmployeeSchema: default_2.ZodObject<{
|
|
481
|
-
badgeId: default_2.ZodString;
|
|
482
|
-
category: default_2.ZodString;
|
|
483
|
-
categoryGroup: default_2.ZodEnum<{
|
|
484
|
-
IDL: "IDL";
|
|
485
|
-
FD: "FD";
|
|
486
|
-
FI: "FI";
|
|
487
|
-
}>;
|
|
488
|
-
companyCode: default_2.ZodString;
|
|
489
|
-
contactPhone: default_2.ZodString;
|
|
490
|
-
departmentId: default_2.ZodString;
|
|
491
|
-
departmentDescription: default_2.ZodString;
|
|
492
|
-
emailString: default_2.ZodString;
|
|
493
|
-
employeeId: default_2.ZodString;
|
|
494
|
-
extensionNumber: default_2.ZodString;
|
|
495
|
-
firstName: default_2.ZodString;
|
|
496
|
-
gender: default_2.ZodString;
|
|
497
|
-
hiredDate: default_2.ZodDate;
|
|
498
|
-
lastName: default_2.ZodString;
|
|
499
|
-
managerId: default_2.ZodString;
|
|
500
|
-
middleName: default_2.ZodString;
|
|
501
|
-
name: default_2.ZodString;
|
|
502
|
-
nameTitleCase: default_2.ZodString;
|
|
503
|
-
nfcSn: default_2.ZodString;
|
|
504
|
-
plantId: default_2.ZodString;
|
|
505
|
-
position: default_2.ZodString;
|
|
506
|
-
previousEmployeeIds: default_2.ZodNullable<default_2.ZodString>;
|
|
507
|
-
reHiredDate: default_2.ZodNullable<default_2.ZodDate>;
|
|
508
|
-
recordNumber: default_2.ZodNumber;
|
|
509
|
-
status: default_2.ZodEnum<{
|
|
510
|
-
Active: "Active";
|
|
511
|
-
Terminated: "Terminated";
|
|
512
|
-
"Leave of Absence": "Leave of Absence";
|
|
513
|
-
}>;
|
|
514
|
-
supervisorId: default_2.ZodString;
|
|
515
|
-
terminationDate: default_2.ZodNullable<default_2.ZodDate>;
|
|
516
|
-
terminationFutureDate: default_2.ZodNullable<default_2.ZodDate>;
|
|
517
|
-
type: default_2.ZodString;
|
|
518
|
-
upperDepartmentId: default_2.ZodString;
|
|
519
|
-
jobCode: default_2.ZodString;
|
|
520
|
-
jobDescription: default_2.ZodString;
|
|
521
|
-
terminationReason: default_2.ZodNullable<default_2.ZodString>;
|
|
522
|
-
supervisorRecordNumber: default_2.ZodNumber;
|
|
523
|
-
}, default_2.core.$strip>;
|
|
524
|
-
|
|
525
|
-
declare type FileMeta = z.infer<typeof FileMetaSchema>;
|
|
526
|
-
|
|
527
|
-
declare const FileMetaSchema: z.ZodObject<{
|
|
528
|
-
id: z.ZodUUID;
|
|
529
|
-
subId: z.ZodUUID;
|
|
530
|
-
appName: z.ZodString;
|
|
531
|
-
fileName: z.ZodString;
|
|
532
|
-
fileExtension: z.ZodString;
|
|
533
|
-
fileSize: z.ZodNumber;
|
|
534
|
-
mediaSubType: z.ZodString;
|
|
535
|
-
mediaType: z.ZodString;
|
|
536
|
-
mimeType: z.ZodString;
|
|
537
|
-
createdBy: z.ZodString;
|
|
538
|
-
createdDate: z.ZodDate;
|
|
539
|
-
}, z.core.$strip>;
|
|
540
|
-
|
|
541
|
-
export declare const getApproval: IsomorphicFn<[id: string, signal?: AbortSignal | undefined], Promise<{
|
|
542
|
-
id: string;
|
|
543
|
-
applicationName: string;
|
|
544
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
545
|
-
emailBody: string;
|
|
546
|
-
created: Date;
|
|
547
|
-
createdBy: {
|
|
548
|
-
employeeId: string;
|
|
549
|
-
name: string;
|
|
550
|
-
email: string;
|
|
551
|
-
};
|
|
552
|
-
updated: Date;
|
|
553
|
-
updatedBy: {
|
|
554
|
-
employeeId: string;
|
|
555
|
-
name: string;
|
|
556
|
-
email: string;
|
|
557
|
-
};
|
|
558
|
-
approvalFlows: {
|
|
559
|
-
id: string;
|
|
560
|
-
approvalStage: number;
|
|
561
|
-
approvalSequence: number;
|
|
562
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
563
|
-
steps: {
|
|
564
|
-
id: string;
|
|
565
|
-
order: number;
|
|
566
|
-
approver: {
|
|
567
|
-
employeeId: string;
|
|
568
|
-
name: string;
|
|
569
|
-
email: string;
|
|
570
|
-
};
|
|
571
|
-
approverRole?: string | undefined;
|
|
572
|
-
actualApprover?: {
|
|
573
|
-
employeeId: string;
|
|
574
|
-
name: string;
|
|
575
|
-
email: string;
|
|
576
|
-
} | undefined;
|
|
577
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
578
|
-
resultDate?: Date | undefined;
|
|
579
|
-
resultComment?: string | undefined;
|
|
580
|
-
}[];
|
|
581
|
-
batchSequence?: number | undefined;
|
|
582
|
-
isActive?: boolean | undefined;
|
|
583
|
-
}[];
|
|
584
|
-
currentApprovers: {
|
|
585
|
-
employeeId: string;
|
|
586
|
-
name: string;
|
|
587
|
-
email: string;
|
|
588
|
-
}[];
|
|
589
|
-
number?: string | undefined;
|
|
590
|
-
type?: "Single" | "Batch" | undefined;
|
|
591
|
-
}>, Promise<{
|
|
592
|
-
id: string;
|
|
593
|
-
applicationName: string;
|
|
594
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
595
|
-
emailBody: string;
|
|
596
|
-
created: Date;
|
|
597
|
-
createdBy: {
|
|
598
|
-
employeeId: string;
|
|
599
|
-
name: string;
|
|
600
|
-
email: string;
|
|
601
|
-
};
|
|
602
|
-
updated: Date;
|
|
603
|
-
updatedBy: {
|
|
604
|
-
employeeId: string;
|
|
605
|
-
name: string;
|
|
606
|
-
email: string;
|
|
607
|
-
};
|
|
608
|
-
approvalFlows: {
|
|
609
|
-
id: string;
|
|
610
|
-
approvalStage: number;
|
|
611
|
-
approvalSequence: number;
|
|
612
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
613
|
-
steps: {
|
|
614
|
-
id: string;
|
|
615
|
-
order: number;
|
|
616
|
-
approver: {
|
|
617
|
-
employeeId: string;
|
|
618
|
-
name: string;
|
|
619
|
-
email: string;
|
|
620
|
-
};
|
|
621
|
-
approverRole?: string | undefined;
|
|
622
|
-
actualApprover?: {
|
|
623
|
-
employeeId: string;
|
|
624
|
-
name: string;
|
|
625
|
-
email: string;
|
|
626
|
-
} | undefined;
|
|
627
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
628
|
-
resultDate?: Date | undefined;
|
|
629
|
-
resultComment?: string | undefined;
|
|
630
|
-
}[];
|
|
631
|
-
batchSequence?: number | undefined;
|
|
632
|
-
isActive?: boolean | undefined;
|
|
633
|
-
}[];
|
|
634
|
-
currentApprovers: {
|
|
635
|
-
employeeId: string;
|
|
636
|
-
name: string;
|
|
637
|
-
email: string;
|
|
638
|
-
}[];
|
|
639
|
-
number?: string | undefined;
|
|
640
|
-
type?: "Single" | "Batch" | undefined;
|
|
641
|
-
}>>;
|
|
642
|
-
|
|
643
|
-
export declare const getApprovals: IsomorphicFn<[params?: {
|
|
644
|
-
appName?: string | undefined;
|
|
645
|
-
status?: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved" | undefined;
|
|
646
|
-
approverEmployeeId?: string | undefined;
|
|
647
|
-
stepResult?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
648
|
-
} | undefined, signal?: AbortSignal | undefined], Promise<{
|
|
649
|
-
id: string;
|
|
650
|
-
applicationName: string;
|
|
651
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
652
|
-
emailBody: string;
|
|
653
|
-
created: Date;
|
|
654
|
-
createdBy: {
|
|
655
|
-
employeeId: string;
|
|
656
|
-
name: string;
|
|
657
|
-
email: string;
|
|
658
|
-
};
|
|
659
|
-
updated: Date;
|
|
660
|
-
updatedBy: {
|
|
661
|
-
employeeId: string;
|
|
662
|
-
name: string;
|
|
663
|
-
email: string;
|
|
664
|
-
};
|
|
665
|
-
approvalFlows: {
|
|
666
|
-
id: string;
|
|
667
|
-
approvalStage: number;
|
|
668
|
-
approvalSequence: number;
|
|
669
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
670
|
-
steps: {
|
|
671
|
-
id: string;
|
|
672
|
-
order: number;
|
|
673
|
-
approver: {
|
|
674
|
-
employeeId: string;
|
|
675
|
-
name: string;
|
|
676
|
-
email: string;
|
|
677
|
-
};
|
|
678
|
-
approverRole?: string | undefined;
|
|
679
|
-
actualApprover?: {
|
|
680
|
-
employeeId: string;
|
|
681
|
-
name: string;
|
|
682
|
-
email: string;
|
|
683
|
-
} | undefined;
|
|
684
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
685
|
-
resultDate?: Date | undefined;
|
|
686
|
-
resultComment?: string | undefined;
|
|
687
|
-
}[];
|
|
688
|
-
batchSequence?: number | undefined;
|
|
689
|
-
isActive?: boolean | undefined;
|
|
690
|
-
}[];
|
|
691
|
-
currentApprovers: {
|
|
692
|
-
employeeId: string;
|
|
693
|
-
name: string;
|
|
694
|
-
email: string;
|
|
695
|
-
}[];
|
|
696
|
-
number?: string | undefined;
|
|
697
|
-
type?: "Single" | "Batch" | undefined;
|
|
698
|
-
}[]>, Promise<{
|
|
699
|
-
id: string;
|
|
700
|
-
applicationName: string;
|
|
701
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
702
|
-
emailBody: string;
|
|
703
|
-
created: Date;
|
|
704
|
-
createdBy: {
|
|
705
|
-
employeeId: string;
|
|
706
|
-
name: string;
|
|
707
|
-
email: string;
|
|
708
|
-
};
|
|
709
|
-
updated: Date;
|
|
710
|
-
updatedBy: {
|
|
711
|
-
employeeId: string;
|
|
712
|
-
name: string;
|
|
713
|
-
email: string;
|
|
714
|
-
};
|
|
715
|
-
approvalFlows: {
|
|
716
|
-
id: string;
|
|
717
|
-
approvalStage: number;
|
|
718
|
-
approvalSequence: number;
|
|
719
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
720
|
-
steps: {
|
|
721
|
-
id: string;
|
|
722
|
-
order: number;
|
|
723
|
-
approver: {
|
|
724
|
-
employeeId: string;
|
|
725
|
-
name: string;
|
|
726
|
-
email: string;
|
|
727
|
-
};
|
|
728
|
-
approverRole?: string | undefined;
|
|
729
|
-
actualApprover?: {
|
|
730
|
-
employeeId: string;
|
|
731
|
-
name: string;
|
|
732
|
-
email: string;
|
|
733
|
-
} | undefined;
|
|
734
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
735
|
-
resultDate?: Date | undefined;
|
|
736
|
-
resultComment?: string | undefined;
|
|
737
|
-
}[];
|
|
738
|
-
batchSequence?: number | undefined;
|
|
739
|
-
isActive?: boolean | undefined;
|
|
740
|
-
}[];
|
|
741
|
-
currentApprovers: {
|
|
742
|
-
employeeId: string;
|
|
743
|
-
name: string;
|
|
744
|
-
email: string;
|
|
745
|
-
}[];
|
|
746
|
-
number?: string | undefined;
|
|
747
|
-
type?: "Single" | "Batch" | undefined;
|
|
748
|
-
}[]>>;
|
|
749
|
-
|
|
750
|
-
declare type GetApprovalsParams = default_2.infer<typeof GetApprovalsParamsSchema>;
|
|
751
|
-
|
|
752
|
-
declare const GetApprovalsParamsSchema: default_2.ZodObject<{
|
|
753
|
-
appName: default_2.ZodOptional<default_2.ZodDefault<default_2.ZodString>>;
|
|
754
|
-
status: default_2.ZodOptional<default_2.ZodEnum<{
|
|
755
|
-
WaitingForApproval: "WaitingForApproval";
|
|
756
|
-
Approved: "Approved";
|
|
757
|
-
Rejected: "Rejected";
|
|
758
|
-
Withdrawn: "Withdrawn";
|
|
759
|
-
Cancelled: "Cancelled";
|
|
760
|
-
PartiallyApproved: "PartiallyApproved";
|
|
761
|
-
}>>;
|
|
762
|
-
approverEmployeeId: default_2.ZodOptional<default_2.ZodString>;
|
|
763
|
-
stepResult: default_2.ZodOptional<default_2.ZodEnum<{
|
|
764
|
-
NotAvailable: "NotAvailable";
|
|
765
|
-
FutureApproval: "FutureApproval";
|
|
766
|
-
WaitingForApproval: "WaitingForApproval";
|
|
767
|
-
Approved: "Approved";
|
|
768
|
-
Rejected: "Rejected";
|
|
769
|
-
Skipped: "Skipped";
|
|
770
|
-
Withdrawn: "Withdrawn";
|
|
771
|
-
Cancelled: "Cancelled";
|
|
772
|
-
}>>;
|
|
773
|
-
}, default_2.core.$strip>;
|
|
774
|
-
|
|
775
|
-
declare type GetFileMetasParams = default_2.infer<typeof GetFileMetasParamsSchema>;
|
|
776
|
-
|
|
777
|
-
declare const GetFileMetasParamsSchema: default_2.ZodObject<{
|
|
778
|
-
appName: default_2.ZodOptional<default_2.ZodDefault<default_2.ZodString>>;
|
|
779
|
-
subId: default_2.ZodUUID;
|
|
780
|
-
}, default_2.core.$strip>;
|
|
781
|
-
|
|
782
|
-
declare type GetFileParams = default_2.infer<typeof GetFileParamsSchema>;
|
|
783
|
-
|
|
784
|
-
declare const GetFileParamsSchema: default_2.ZodObject<{
|
|
785
|
-
appName: default_2.ZodOptional<default_2.ZodDefault<default_2.ZodString>>;
|
|
786
|
-
meta: default_2.ZodOptional<default_2.ZodNullable<default_2.ZodObject<{
|
|
787
|
-
id: default_2.ZodUUID;
|
|
788
|
-
subId: default_2.ZodUUID;
|
|
789
|
-
appName: default_2.ZodString;
|
|
790
|
-
fileName: default_2.ZodString;
|
|
791
|
-
fileExtension: default_2.ZodString;
|
|
792
|
-
fileSize: default_2.ZodNumber;
|
|
793
|
-
mediaSubType: default_2.ZodString;
|
|
794
|
-
mediaType: default_2.ZodString;
|
|
795
|
-
mimeType: default_2.ZodString;
|
|
796
|
-
createdBy: default_2.ZodString;
|
|
797
|
-
createdDate: default_2.ZodDate;
|
|
798
|
-
}, default_2.core.$strip>>>;
|
|
799
|
-
}, default_2.core.$strip>;
|
|
800
|
-
|
|
801
|
-
declare type GetFileThumbnailParams = default_2.infer<typeof GetFileThumbnailParamsSchema>;
|
|
802
|
-
|
|
803
|
-
declare const GetFileThumbnailParamsSchema: default_2.ZodObject<{
|
|
804
|
-
appName: default_2.ZodOptional<default_2.ZodDefault<default_2.ZodString>>;
|
|
805
|
-
meta: default_2.ZodOptional<default_2.ZodNullable<default_2.ZodObject<{
|
|
806
|
-
id: default_2.ZodUUID;
|
|
807
|
-
subId: default_2.ZodUUID;
|
|
808
|
-
appName: default_2.ZodString;
|
|
809
|
-
fileName: default_2.ZodString;
|
|
810
|
-
fileExtension: default_2.ZodString;
|
|
811
|
-
fileSize: default_2.ZodNumber;
|
|
812
|
-
mediaSubType: default_2.ZodString;
|
|
813
|
-
mediaType: default_2.ZodString;
|
|
814
|
-
mimeType: default_2.ZodString;
|
|
815
|
-
createdBy: default_2.ZodString;
|
|
816
|
-
createdDate: default_2.ZodDate;
|
|
817
|
-
}, default_2.core.$strip>>>;
|
|
818
|
-
}, default_2.core.$strip>;
|
|
819
|
-
|
|
820
|
-
declare type OptionalId = string | undefined | null;
|
|
821
|
-
|
|
822
|
-
declare type OptionalId_2 = string | undefined | null;
|
|
823
|
-
|
|
824
|
-
declare type ResubmitApproval = default_2.infer<typeof ResubmitApprovalSchema>;
|
|
825
|
-
|
|
826
|
-
export declare const resubmitApproval: IsomorphicFn<[data: {
|
|
827
|
-
id: string;
|
|
828
|
-
approvalFlows: {
|
|
829
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
830
|
-
approvalStage: number;
|
|
831
|
-
steps: {
|
|
832
|
-
approver: {
|
|
833
|
-
employeeId: string;
|
|
834
|
-
name: string;
|
|
835
|
-
email: string;
|
|
836
|
-
};
|
|
837
|
-
approverRole?: string | undefined;
|
|
838
|
-
}[];
|
|
839
|
-
batchSequence?: number | undefined;
|
|
840
|
-
}[];
|
|
841
|
-
}], Promise<{
|
|
842
|
-
id: string;
|
|
843
|
-
applicationName: string;
|
|
844
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
845
|
-
emailBody: string;
|
|
846
|
-
created: Date;
|
|
847
|
-
createdBy: {
|
|
848
|
-
employeeId: string;
|
|
849
|
-
name: string;
|
|
850
|
-
email: string;
|
|
851
|
-
};
|
|
852
|
-
updated: Date;
|
|
853
|
-
updatedBy: {
|
|
854
|
-
employeeId: string;
|
|
855
|
-
name: string;
|
|
856
|
-
email: string;
|
|
857
|
-
};
|
|
858
|
-
approvalFlows: {
|
|
859
|
-
id: string;
|
|
860
|
-
approvalStage: number;
|
|
861
|
-
approvalSequence: number;
|
|
862
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
863
|
-
steps: {
|
|
864
|
-
id: string;
|
|
865
|
-
order: number;
|
|
866
|
-
approver: {
|
|
867
|
-
employeeId: string;
|
|
868
|
-
name: string;
|
|
869
|
-
email: string;
|
|
870
|
-
};
|
|
871
|
-
approverRole?: string | undefined;
|
|
872
|
-
actualApprover?: {
|
|
873
|
-
employeeId: string;
|
|
874
|
-
name: string;
|
|
875
|
-
email: string;
|
|
876
|
-
} | undefined;
|
|
877
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
878
|
-
resultDate?: Date | undefined;
|
|
879
|
-
resultComment?: string | undefined;
|
|
880
|
-
}[];
|
|
881
|
-
batchSequence?: number | undefined;
|
|
882
|
-
isActive?: boolean | undefined;
|
|
883
|
-
}[];
|
|
884
|
-
currentApprovers: {
|
|
885
|
-
employeeId: string;
|
|
886
|
-
name: string;
|
|
887
|
-
email: string;
|
|
888
|
-
}[];
|
|
889
|
-
number?: string | undefined;
|
|
890
|
-
type?: "Single" | "Batch" | undefined;
|
|
891
|
-
}>, Promise<{
|
|
892
|
-
id: string;
|
|
893
|
-
applicationName: string;
|
|
894
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
895
|
-
emailBody: string;
|
|
896
|
-
created: Date;
|
|
897
|
-
createdBy: {
|
|
898
|
-
employeeId: string;
|
|
899
|
-
name: string;
|
|
900
|
-
email: string;
|
|
901
|
-
};
|
|
902
|
-
updated: Date;
|
|
903
|
-
updatedBy: {
|
|
904
|
-
employeeId: string;
|
|
905
|
-
name: string;
|
|
906
|
-
email: string;
|
|
907
|
-
};
|
|
908
|
-
approvalFlows: {
|
|
909
|
-
id: string;
|
|
910
|
-
approvalStage: number;
|
|
911
|
-
approvalSequence: number;
|
|
912
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
913
|
-
steps: {
|
|
914
|
-
id: string;
|
|
915
|
-
order: number;
|
|
916
|
-
approver: {
|
|
917
|
-
employeeId: string;
|
|
918
|
-
name: string;
|
|
919
|
-
email: string;
|
|
920
|
-
};
|
|
921
|
-
approverRole?: string | undefined;
|
|
922
|
-
actualApprover?: {
|
|
923
|
-
employeeId: string;
|
|
924
|
-
name: string;
|
|
925
|
-
email: string;
|
|
926
|
-
} | undefined;
|
|
927
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
928
|
-
resultDate?: Date | undefined;
|
|
929
|
-
resultComment?: string | undefined;
|
|
930
|
-
}[];
|
|
931
|
-
batchSequence?: number | undefined;
|
|
932
|
-
isActive?: boolean | undefined;
|
|
933
|
-
}[];
|
|
934
|
-
currentApprovers: {
|
|
935
|
-
employeeId: string;
|
|
936
|
-
name: string;
|
|
937
|
-
email: string;
|
|
938
|
-
}[];
|
|
939
|
-
number?: string | undefined;
|
|
940
|
-
type?: "Single" | "Batch" | undefined;
|
|
941
|
-
}>>;
|
|
942
|
-
|
|
943
|
-
declare const ResubmitApprovalSchema: default_2.ZodObject<{
|
|
944
|
-
id: default_2.ZodUUID;
|
|
945
|
-
approvalFlows: default_2.ZodArray<default_2.ZodObject<{
|
|
946
|
-
stepApprovalOrder: default_2.ZodEnum<{
|
|
947
|
-
Serial: "Serial";
|
|
948
|
-
Parallel: "Parallel";
|
|
949
|
-
OneOfThem: "OneOfThem";
|
|
950
|
-
}>;
|
|
951
|
-
approvalStage: default_2.ZodNumber;
|
|
952
|
-
batchSequence: default_2.ZodOptional<default_2.ZodNumber>;
|
|
953
|
-
steps: default_2.ZodArray<default_2.ZodObject<{
|
|
954
|
-
approver: default_2.ZodObject<{
|
|
955
|
-
employeeId: default_2.ZodString;
|
|
956
|
-
name: default_2.ZodString;
|
|
957
|
-
email: default_2.ZodEmail;
|
|
958
|
-
}, default_2.core.$strip>;
|
|
959
|
-
approverRole: default_2.ZodOptional<default_2.ZodDefault<default_2.ZodString>>;
|
|
960
|
-
}, default_2.core.$strip>>;
|
|
961
|
-
}, default_2.core.$strip>>;
|
|
962
|
-
}, default_2.core.$strip>;
|
|
963
|
-
|
|
964
|
-
export declare const useApproveApproval: (options?: UseApproveApprovalOptions) => UseMutationResult< {
|
|
965
|
-
id: string;
|
|
966
|
-
applicationName: string;
|
|
967
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
968
|
-
emailBody: string;
|
|
969
|
-
created: Date;
|
|
970
|
-
createdBy: {
|
|
971
|
-
employeeId: string;
|
|
972
|
-
name: string;
|
|
973
|
-
email: string;
|
|
974
|
-
};
|
|
975
|
-
updated: Date;
|
|
976
|
-
updatedBy: {
|
|
977
|
-
employeeId: string;
|
|
978
|
-
name: string;
|
|
979
|
-
email: string;
|
|
980
|
-
};
|
|
981
|
-
approvalFlows: {
|
|
982
|
-
id: string;
|
|
983
|
-
approvalStage: number;
|
|
984
|
-
approvalSequence: number;
|
|
985
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
986
|
-
steps: {
|
|
987
|
-
id: string;
|
|
988
|
-
order: number;
|
|
989
|
-
approver: {
|
|
990
|
-
employeeId: string;
|
|
991
|
-
name: string;
|
|
992
|
-
email: string;
|
|
993
|
-
};
|
|
994
|
-
approverRole?: string | undefined;
|
|
995
|
-
actualApprover?: {
|
|
996
|
-
employeeId: string;
|
|
997
|
-
name: string;
|
|
998
|
-
email: string;
|
|
999
|
-
} | undefined;
|
|
1000
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1001
|
-
resultDate?: Date | undefined;
|
|
1002
|
-
resultComment?: string | undefined;
|
|
1003
|
-
}[];
|
|
1004
|
-
batchSequence?: number | undefined;
|
|
1005
|
-
isActive?: boolean | undefined;
|
|
1006
|
-
}[];
|
|
1007
|
-
currentApprovers: {
|
|
1008
|
-
employeeId: string;
|
|
1009
|
-
name: string;
|
|
1010
|
-
email: string;
|
|
1011
|
-
}[];
|
|
1012
|
-
number?: string | undefined;
|
|
1013
|
-
type?: "Single" | "Batch" | undefined;
|
|
1014
|
-
}, Error, {
|
|
1015
|
-
id: string;
|
|
1016
|
-
result: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled";
|
|
1017
|
-
emailBody: string;
|
|
1018
|
-
resultComment?: string | undefined;
|
|
1019
|
-
}, unknown>;
|
|
1020
|
-
|
|
1021
|
-
declare type UseApproveApprovalOptions = Omit<UseMutationOptions<Approval, Error, ApproveApproval>, "mutationFn" | "onSettled">;
|
|
1022
|
-
|
|
1023
|
-
export declare const useCancelApproval: (options?: UseCancelApprovalOptions) => UseMutationResult<void, Error, {
|
|
1024
|
-
id: string;
|
|
1025
|
-
comment: string;
|
|
1026
|
-
emailBody: string;
|
|
1027
|
-
}, unknown>;
|
|
1028
|
-
|
|
1029
|
-
declare type UseCancelApprovalOptions = Omit<UseMutationOptions<void, Error, CancelApproval>, "mutationFn" | "onSettled">;
|
|
1030
|
-
|
|
1031
|
-
export declare const useCreateApproval: (options?: UseCreateApprovalOptions) => UseMutationResult< {
|
|
1032
|
-
id: string;
|
|
1033
|
-
applicationName: string;
|
|
1034
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1035
|
-
emailBody: string;
|
|
1036
|
-
created: Date;
|
|
1037
|
-
createdBy: {
|
|
1038
|
-
employeeId: string;
|
|
1039
|
-
name: string;
|
|
1040
|
-
email: string;
|
|
1041
|
-
};
|
|
1042
|
-
updated: Date;
|
|
1043
|
-
updatedBy: {
|
|
1044
|
-
employeeId: string;
|
|
1045
|
-
name: string;
|
|
1046
|
-
email: string;
|
|
1047
|
-
};
|
|
1048
|
-
approvalFlows: {
|
|
1049
|
-
id: string;
|
|
1050
|
-
approvalStage: number;
|
|
1051
|
-
approvalSequence: number;
|
|
1052
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1053
|
-
steps: {
|
|
1054
|
-
id: string;
|
|
1055
|
-
order: number;
|
|
1056
|
-
approver: {
|
|
1057
|
-
employeeId: string;
|
|
1058
|
-
name: string;
|
|
1059
|
-
email: string;
|
|
1060
|
-
};
|
|
1061
|
-
approverRole?: string | undefined;
|
|
1062
|
-
actualApprover?: {
|
|
1063
|
-
employeeId: string;
|
|
1064
|
-
name: string;
|
|
1065
|
-
email: string;
|
|
1066
|
-
} | undefined;
|
|
1067
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1068
|
-
resultDate?: Date | undefined;
|
|
1069
|
-
resultComment?: string | undefined;
|
|
1070
|
-
}[];
|
|
1071
|
-
batchSequence?: number | undefined;
|
|
1072
|
-
isActive?: boolean | undefined;
|
|
1073
|
-
}[];
|
|
1074
|
-
currentApprovers: {
|
|
1075
|
-
employeeId: string;
|
|
1076
|
-
name: string;
|
|
1077
|
-
email: string;
|
|
1078
|
-
}[];
|
|
1079
|
-
number?: string | undefined;
|
|
1080
|
-
type?: "Single" | "Batch" | undefined;
|
|
1081
|
-
}, Error, {
|
|
1082
|
-
id: string;
|
|
1083
|
-
applicationName: string;
|
|
1084
|
-
emailBody: string;
|
|
1085
|
-
approvalFlows: {
|
|
1086
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1087
|
-
approvalStage: number;
|
|
1088
|
-
steps: {
|
|
1089
|
-
approver: {
|
|
1090
|
-
employeeId: string;
|
|
1091
|
-
name: string;
|
|
1092
|
-
email: string;
|
|
1093
|
-
};
|
|
1094
|
-
approverRole?: string | undefined;
|
|
1095
|
-
}[];
|
|
1096
|
-
batchSequence?: number | undefined;
|
|
1097
|
-
}[];
|
|
1098
|
-
number?: string | undefined;
|
|
1099
|
-
type?: "Single" | "Batch" | undefined;
|
|
1100
|
-
}, unknown>;
|
|
1101
|
-
|
|
1102
|
-
declare type UseCreateApprovalOptions = Omit<UseMutationOptions<Approval, Error, CreateApproval>, "mutationFn" | "onSettled">;
|
|
1103
|
-
|
|
1104
|
-
export declare const useDeleteFile: (options?: BaseFileMetaMutationOptions) => UseMutationResult< {
|
|
1105
|
-
id: string;
|
|
1106
|
-
subId: string;
|
|
1107
|
-
appName: string;
|
|
1108
|
-
fileName: string;
|
|
1109
|
-
fileExtension: string;
|
|
1110
|
-
fileSize: number;
|
|
1111
|
-
mediaSubType: string;
|
|
1112
|
-
mediaType: string;
|
|
1113
|
-
mimeType: string;
|
|
1114
|
-
createdBy: string;
|
|
1115
|
-
createdDate: Date;
|
|
1116
|
-
}, Error, {
|
|
1117
|
-
id: string;
|
|
1118
|
-
subId: string;
|
|
1119
|
-
appName: string;
|
|
1120
|
-
fileName: string;
|
|
1121
|
-
fileExtension: string;
|
|
1122
|
-
fileSize: number;
|
|
1123
|
-
mediaSubType: string;
|
|
1124
|
-
mediaType: string;
|
|
1125
|
-
mimeType: string;
|
|
1126
|
-
createdBy: string;
|
|
1127
|
-
createdDate: Date;
|
|
1128
|
-
}, unknown>;
|
|
1129
|
-
|
|
1130
|
-
export declare const useDeleteFiles: (options?: BaseStringMutationOptions) => UseMutationResult<string, Error, string, unknown>;
|
|
1131
|
-
|
|
1132
|
-
export declare const useDownloadFile: (options?: BaseBlobMutationOptions) => UseMutationResult<Blob, Error, {
|
|
1133
|
-
id: string;
|
|
1134
|
-
subId: string;
|
|
1135
|
-
appName: string;
|
|
1136
|
-
fileName: string;
|
|
1137
|
-
fileExtension: string;
|
|
1138
|
-
fileSize: number;
|
|
1139
|
-
mediaSubType: string;
|
|
1140
|
-
mediaType: string;
|
|
1141
|
-
mimeType: string;
|
|
1142
|
-
createdBy: string;
|
|
1143
|
-
createdDate: Date;
|
|
1144
|
-
}, unknown>;
|
|
1145
|
-
|
|
1146
|
-
export declare const useGetApproval: (id: string, options?: UseGetApprovalOptions) => UseQueryResult< {
|
|
1147
|
-
id: string;
|
|
1148
|
-
applicationName: string;
|
|
1149
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1150
|
-
emailBody: string;
|
|
1151
|
-
created: Date;
|
|
1152
|
-
createdBy: {
|
|
1153
|
-
employeeId: string;
|
|
1154
|
-
name: string;
|
|
1155
|
-
email: string;
|
|
1156
|
-
};
|
|
1157
|
-
updated: Date;
|
|
1158
|
-
updatedBy: {
|
|
1159
|
-
employeeId: string;
|
|
1160
|
-
name: string;
|
|
1161
|
-
email: string;
|
|
1162
|
-
};
|
|
1163
|
-
approvalFlows: {
|
|
1164
|
-
id: string;
|
|
1165
|
-
approvalStage: number;
|
|
1166
|
-
approvalSequence: number;
|
|
1167
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1168
|
-
steps: {
|
|
1169
|
-
id: string;
|
|
1170
|
-
order: number;
|
|
1171
|
-
approver: {
|
|
1172
|
-
employeeId: string;
|
|
1173
|
-
name: string;
|
|
1174
|
-
email: string;
|
|
1175
|
-
};
|
|
1176
|
-
approverRole?: string | undefined;
|
|
1177
|
-
actualApprover?: {
|
|
1178
|
-
employeeId: string;
|
|
1179
|
-
name: string;
|
|
1180
|
-
email: string;
|
|
1181
|
-
} | undefined;
|
|
1182
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1183
|
-
resultDate?: Date | undefined;
|
|
1184
|
-
resultComment?: string | undefined;
|
|
1185
|
-
}[];
|
|
1186
|
-
batchSequence?: number | undefined;
|
|
1187
|
-
isActive?: boolean | undefined;
|
|
1188
|
-
}[];
|
|
1189
|
-
currentApprovers: {
|
|
1190
|
-
employeeId: string;
|
|
1191
|
-
name: string;
|
|
1192
|
-
email: string;
|
|
1193
|
-
}[];
|
|
1194
|
-
number?: string | undefined;
|
|
1195
|
-
type?: "Single" | "Batch" | undefined;
|
|
1196
|
-
}, Error>;
|
|
1197
|
-
|
|
1198
|
-
declare type UseGetApprovalOptions = Omit<DefinedInitialDataOptions<Approval>, "queryKey" | "queryFn" | "initialData">;
|
|
1199
|
-
|
|
1200
|
-
export declare const useGetApprovals: (params?: GetApprovalsParams, options?: UseGetApprovalsOptions) => UseQueryResult< {
|
|
1201
|
-
id: string;
|
|
1202
|
-
applicationName: string;
|
|
1203
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1204
|
-
emailBody: string;
|
|
1205
|
-
created: Date;
|
|
1206
|
-
createdBy: {
|
|
1207
|
-
employeeId: string;
|
|
1208
|
-
name: string;
|
|
1209
|
-
email: string;
|
|
1210
|
-
};
|
|
1211
|
-
updated: Date;
|
|
1212
|
-
updatedBy: {
|
|
1213
|
-
employeeId: string;
|
|
1214
|
-
name: string;
|
|
1215
|
-
email: string;
|
|
1216
|
-
};
|
|
1217
|
-
approvalFlows: {
|
|
1218
|
-
id: string;
|
|
1219
|
-
approvalStage: number;
|
|
1220
|
-
approvalSequence: number;
|
|
1221
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1222
|
-
steps: {
|
|
1223
|
-
id: string;
|
|
1224
|
-
order: number;
|
|
1225
|
-
approver: {
|
|
1226
|
-
employeeId: string;
|
|
1227
|
-
name: string;
|
|
1228
|
-
email: string;
|
|
1229
|
-
};
|
|
1230
|
-
approverRole?: string | undefined;
|
|
1231
|
-
actualApprover?: {
|
|
1232
|
-
employeeId: string;
|
|
1233
|
-
name: string;
|
|
1234
|
-
email: string;
|
|
1235
|
-
} | undefined;
|
|
1236
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1237
|
-
resultDate?: Date | undefined;
|
|
1238
|
-
resultComment?: string | undefined;
|
|
1239
|
-
}[];
|
|
1240
|
-
batchSequence?: number | undefined;
|
|
1241
|
-
isActive?: boolean | undefined;
|
|
1242
|
-
}[];
|
|
1243
|
-
currentApprovers: {
|
|
1244
|
-
employeeId: string;
|
|
1245
|
-
name: string;
|
|
1246
|
-
email: string;
|
|
1247
|
-
}[];
|
|
1248
|
-
number?: string | undefined;
|
|
1249
|
-
type?: "Single" | "Batch" | undefined;
|
|
1250
|
-
}[], Error>;
|
|
1251
|
-
|
|
1252
|
-
declare type UseGetApprovalsOptions = Omit<DefinedInitialDataOptions<Array<Approval>>, "queryKey" | "queryFn" | "initialData">;
|
|
1253
|
-
|
|
1254
|
-
export declare const useGetFile: (params: GetFileParams, options?: BaseBlobQueryOptions) => UseQueryResult<string, Error>;
|
|
1255
|
-
|
|
1256
|
-
export declare const useGetFileMetas: (params: GetFileMetasParams, options?: BaseFileMetaArrayQueryOptions) => UseQueryResult< {
|
|
1257
|
-
id: string;
|
|
1258
|
-
subId: string;
|
|
1259
|
-
appName: string;
|
|
1260
|
-
fileName: string;
|
|
1261
|
-
fileExtension: string;
|
|
1262
|
-
fileSize: number;
|
|
1263
|
-
mediaSubType: string;
|
|
1264
|
-
mediaType: string;
|
|
1265
|
-
mimeType: string;
|
|
1266
|
-
createdBy: string;
|
|
1267
|
-
createdDate: Date;
|
|
1268
|
-
}[], Error>;
|
|
1269
|
-
|
|
1270
|
-
export declare const useGetFileThumbnail: (params: GetFileThumbnailParams, options?: BaseBlobQueryOptions) => UseQueryResult<string, Error>;
|
|
1271
|
-
|
|
1272
|
-
export declare const useGetPeopleSoftActiveEmployees: (options?: BaseEmployeeArrayQueryOptions) => UseQueryResult< {
|
|
1273
|
-
badgeId: string;
|
|
1274
|
-
category: string;
|
|
1275
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1276
|
-
companyCode: string;
|
|
1277
|
-
contactPhone: string;
|
|
1278
|
-
departmentId: string;
|
|
1279
|
-
departmentDescription: string;
|
|
1280
|
-
emailString: string;
|
|
1281
|
-
employeeId: string;
|
|
1282
|
-
extensionNumber: string;
|
|
1283
|
-
firstName: string;
|
|
1284
|
-
gender: string;
|
|
1285
|
-
hiredDate: Date;
|
|
1286
|
-
lastName: string;
|
|
1287
|
-
managerId: string;
|
|
1288
|
-
middleName: string;
|
|
1289
|
-
name: string;
|
|
1290
|
-
nameTitleCase: string;
|
|
1291
|
-
nfcSn: string;
|
|
1292
|
-
plantId: string;
|
|
1293
|
-
position: string;
|
|
1294
|
-
previousEmployeeIds: string | null;
|
|
1295
|
-
reHiredDate: Date | null;
|
|
1296
|
-
recordNumber: number;
|
|
1297
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1298
|
-
supervisorId: string;
|
|
1299
|
-
terminationDate: Date | null;
|
|
1300
|
-
terminationFutureDate: Date | null;
|
|
1301
|
-
type: string;
|
|
1302
|
-
upperDepartmentId: string;
|
|
1303
|
-
jobCode: string;
|
|
1304
|
-
jobDescription: string;
|
|
1305
|
-
terminationReason: string | null;
|
|
1306
|
-
supervisorRecordNumber: number;
|
|
1307
|
-
}[], Error>;
|
|
1308
|
-
|
|
1309
|
-
export declare const useGetPeopleSoftCompanyGeneralManager: (companyCode: OptionalId_2, options?: BaseEmployeeQueryOptions) => UseQueryResult< {
|
|
1310
|
-
badgeId: string;
|
|
1311
|
-
category: string;
|
|
1312
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1313
|
-
companyCode: string;
|
|
1314
|
-
contactPhone: string;
|
|
1315
|
-
departmentId: string;
|
|
1316
|
-
departmentDescription: string;
|
|
1317
|
-
emailString: string;
|
|
1318
|
-
employeeId: string;
|
|
1319
|
-
extensionNumber: string;
|
|
1320
|
-
firstName: string;
|
|
1321
|
-
gender: string;
|
|
1322
|
-
hiredDate: Date;
|
|
1323
|
-
lastName: string;
|
|
1324
|
-
managerId: string;
|
|
1325
|
-
middleName: string;
|
|
1326
|
-
name: string;
|
|
1327
|
-
nameTitleCase: string;
|
|
1328
|
-
nfcSn: string;
|
|
1329
|
-
plantId: string;
|
|
1330
|
-
position: string;
|
|
1331
|
-
previousEmployeeIds: string | null;
|
|
1332
|
-
reHiredDate: Date | null;
|
|
1333
|
-
recordNumber: number;
|
|
1334
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1335
|
-
supervisorId: string;
|
|
1336
|
-
terminationDate: Date | null;
|
|
1337
|
-
terminationFutureDate: Date | null;
|
|
1338
|
-
type: string;
|
|
1339
|
-
upperDepartmentId: string;
|
|
1340
|
-
jobCode: string;
|
|
1341
|
-
jobDescription: string;
|
|
1342
|
-
terminationReason: string | null;
|
|
1343
|
-
supervisorRecordNumber: number;
|
|
1344
|
-
}, Error>;
|
|
1345
|
-
|
|
1346
|
-
export declare const useGetPeopleSoftDepartmentById: (departmentId: OptionalId_2, options?: BaseDepartmentQueryOptions) => UseQueryResult< {
|
|
1347
|
-
departmentId: string;
|
|
1348
|
-
description: string;
|
|
1349
|
-
managerId: string;
|
|
1350
|
-
managerRecordNumber: string;
|
|
1351
|
-
treeLevel: number;
|
|
1352
|
-
upperDepartmentId: string;
|
|
1353
|
-
companyCode: string;
|
|
1354
|
-
location: string;
|
|
1355
|
-
salLocation: string;
|
|
1356
|
-
plantId: string;
|
|
1357
|
-
manager: {
|
|
1358
|
-
badgeId: string;
|
|
1359
|
-
category: string;
|
|
1360
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1361
|
-
companyCode: string;
|
|
1362
|
-
contactPhone: string;
|
|
1363
|
-
departmentId: string;
|
|
1364
|
-
departmentDescription: string;
|
|
1365
|
-
emailString: string;
|
|
1366
|
-
employeeId: string;
|
|
1367
|
-
extensionNumber: string;
|
|
1368
|
-
firstName: string;
|
|
1369
|
-
gender: string;
|
|
1370
|
-
hiredDate: Date;
|
|
1371
|
-
lastName: string;
|
|
1372
|
-
managerId: string;
|
|
1373
|
-
middleName: string;
|
|
1374
|
-
name: string;
|
|
1375
|
-
nameTitleCase: string;
|
|
1376
|
-
nfcSn: string;
|
|
1377
|
-
plantId: string;
|
|
1378
|
-
position: string;
|
|
1379
|
-
previousEmployeeIds: string | null;
|
|
1380
|
-
reHiredDate: Date | null;
|
|
1381
|
-
recordNumber: number;
|
|
1382
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1383
|
-
supervisorId: string;
|
|
1384
|
-
terminationDate: Date | null;
|
|
1385
|
-
terminationFutureDate: Date | null;
|
|
1386
|
-
type: string;
|
|
1387
|
-
upperDepartmentId: string;
|
|
1388
|
-
jobCode: string;
|
|
1389
|
-
jobDescription: string;
|
|
1390
|
-
terminationReason: string | null;
|
|
1391
|
-
supervisorRecordNumber: number;
|
|
1392
|
-
};
|
|
1393
|
-
}, Error>;
|
|
1394
|
-
|
|
1395
|
-
export declare const useGetPeopleSoftDepartmentEmployees: (departmentId: OptionalId_2, options?: BaseEmployeeArrayQueryOptions) => UseQueryResult< {
|
|
1396
|
-
badgeId: string;
|
|
1397
|
-
category: string;
|
|
1398
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1399
|
-
companyCode: string;
|
|
1400
|
-
contactPhone: string;
|
|
1401
|
-
departmentId: string;
|
|
1402
|
-
departmentDescription: string;
|
|
1403
|
-
emailString: string;
|
|
1404
|
-
employeeId: string;
|
|
1405
|
-
extensionNumber: string;
|
|
1406
|
-
firstName: string;
|
|
1407
|
-
gender: string;
|
|
1408
|
-
hiredDate: Date;
|
|
1409
|
-
lastName: string;
|
|
1410
|
-
managerId: string;
|
|
1411
|
-
middleName: string;
|
|
1412
|
-
name: string;
|
|
1413
|
-
nameTitleCase: string;
|
|
1414
|
-
nfcSn: string;
|
|
1415
|
-
plantId: string;
|
|
1416
|
-
position: string;
|
|
1417
|
-
previousEmployeeIds: string | null;
|
|
1418
|
-
reHiredDate: Date | null;
|
|
1419
|
-
recordNumber: number;
|
|
1420
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1421
|
-
supervisorId: string;
|
|
1422
|
-
terminationDate: Date | null;
|
|
1423
|
-
terminationFutureDate: Date | null;
|
|
1424
|
-
type: string;
|
|
1425
|
-
upperDepartmentId: string;
|
|
1426
|
-
jobCode: string;
|
|
1427
|
-
jobDescription: string;
|
|
1428
|
-
terminationReason: string | null;
|
|
1429
|
-
supervisorRecordNumber: number;
|
|
1430
|
-
}[], Error>;
|
|
1431
|
-
|
|
1432
|
-
export declare const useGetPeopleSoftDepartmentManager: (departmentId: OptionalId_2, options?: BaseEmployeeQueryOptions) => UseQueryResult< {
|
|
1433
|
-
badgeId: string;
|
|
1434
|
-
category: string;
|
|
1435
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1436
|
-
companyCode: string;
|
|
1437
|
-
contactPhone: string;
|
|
1438
|
-
departmentId: string;
|
|
1439
|
-
departmentDescription: string;
|
|
1440
|
-
emailString: string;
|
|
1441
|
-
employeeId: string;
|
|
1442
|
-
extensionNumber: string;
|
|
1443
|
-
firstName: string;
|
|
1444
|
-
gender: string;
|
|
1445
|
-
hiredDate: Date;
|
|
1446
|
-
lastName: string;
|
|
1447
|
-
managerId: string;
|
|
1448
|
-
middleName: string;
|
|
1449
|
-
name: string;
|
|
1450
|
-
nameTitleCase: string;
|
|
1451
|
-
nfcSn: string;
|
|
1452
|
-
plantId: string;
|
|
1453
|
-
position: string;
|
|
1454
|
-
previousEmployeeIds: string | null;
|
|
1455
|
-
reHiredDate: Date | null;
|
|
1456
|
-
recordNumber: number;
|
|
1457
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1458
|
-
supervisorId: string;
|
|
1459
|
-
terminationDate: Date | null;
|
|
1460
|
-
terminationFutureDate: Date | null;
|
|
1461
|
-
type: string;
|
|
1462
|
-
upperDepartmentId: string;
|
|
1463
|
-
jobCode: string;
|
|
1464
|
-
jobDescription: string;
|
|
1465
|
-
terminationReason: string | null;
|
|
1466
|
-
supervisorRecordNumber: number;
|
|
1467
|
-
}, Error>;
|
|
1468
|
-
|
|
1469
|
-
export declare const useGetPeopleSoftDepartments: (options?: BaseDepartmentArrayQueryOptions) => UseQueryResult< {
|
|
1470
|
-
departmentId: string;
|
|
1471
|
-
description: string;
|
|
1472
|
-
managerId: string;
|
|
1473
|
-
managerRecordNumber: string;
|
|
1474
|
-
treeLevel: number;
|
|
1475
|
-
upperDepartmentId: string;
|
|
1476
|
-
companyCode: string;
|
|
1477
|
-
location: string;
|
|
1478
|
-
salLocation: string;
|
|
1479
|
-
plantId: string;
|
|
1480
|
-
manager: {
|
|
1481
|
-
badgeId: string;
|
|
1482
|
-
category: string;
|
|
1483
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1484
|
-
companyCode: string;
|
|
1485
|
-
contactPhone: string;
|
|
1486
|
-
departmentId: string;
|
|
1487
|
-
departmentDescription: string;
|
|
1488
|
-
emailString: string;
|
|
1489
|
-
employeeId: string;
|
|
1490
|
-
extensionNumber: string;
|
|
1491
|
-
firstName: string;
|
|
1492
|
-
gender: string;
|
|
1493
|
-
hiredDate: Date;
|
|
1494
|
-
lastName: string;
|
|
1495
|
-
managerId: string;
|
|
1496
|
-
middleName: string;
|
|
1497
|
-
name: string;
|
|
1498
|
-
nameTitleCase: string;
|
|
1499
|
-
nfcSn: string;
|
|
1500
|
-
plantId: string;
|
|
1501
|
-
position: string;
|
|
1502
|
-
previousEmployeeIds: string | null;
|
|
1503
|
-
reHiredDate: Date | null;
|
|
1504
|
-
recordNumber: number;
|
|
1505
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1506
|
-
supervisorId: string;
|
|
1507
|
-
terminationDate: Date | null;
|
|
1508
|
-
terminationFutureDate: Date | null;
|
|
1509
|
-
type: string;
|
|
1510
|
-
upperDepartmentId: string;
|
|
1511
|
-
jobCode: string;
|
|
1512
|
-
jobDescription: string;
|
|
1513
|
-
terminationReason: string | null;
|
|
1514
|
-
supervisorRecordNumber: number;
|
|
1515
|
-
};
|
|
1516
|
-
}[], Error>;
|
|
1517
|
-
|
|
1518
|
-
export declare const useGetPeopleSoftEmployeeById: (employeeId: OptionalId_2, options?: BaseEmployeeQueryOptions) => UseQueryResult< {
|
|
1519
|
-
badgeId: string;
|
|
1520
|
-
category: string;
|
|
1521
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1522
|
-
companyCode: string;
|
|
1523
|
-
contactPhone: string;
|
|
1524
|
-
departmentId: string;
|
|
1525
|
-
departmentDescription: string;
|
|
1526
|
-
emailString: string;
|
|
1527
|
-
employeeId: string;
|
|
1528
|
-
extensionNumber: string;
|
|
1529
|
-
firstName: string;
|
|
1530
|
-
gender: string;
|
|
1531
|
-
hiredDate: Date;
|
|
1532
|
-
lastName: string;
|
|
1533
|
-
managerId: string;
|
|
1534
|
-
middleName: string;
|
|
1535
|
-
name: string;
|
|
1536
|
-
nameTitleCase: string;
|
|
1537
|
-
nfcSn: string;
|
|
1538
|
-
plantId: string;
|
|
1539
|
-
position: string;
|
|
1540
|
-
previousEmployeeIds: string | null;
|
|
1541
|
-
reHiredDate: Date | null;
|
|
1542
|
-
recordNumber: number;
|
|
1543
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1544
|
-
supervisorId: string;
|
|
1545
|
-
terminationDate: Date | null;
|
|
1546
|
-
terminationFutureDate: Date | null;
|
|
1547
|
-
type: string;
|
|
1548
|
-
upperDepartmentId: string;
|
|
1549
|
-
jobCode: string;
|
|
1550
|
-
jobDescription: string;
|
|
1551
|
-
terminationReason: string | null;
|
|
1552
|
-
supervisorRecordNumber: number;
|
|
1553
|
-
}, Error>;
|
|
1554
|
-
|
|
1555
|
-
export declare const useGetPeopleSoftEmployeeGeneralManager: (employeeId: OptionalId_2, options?: BaseEmployeeQueryOptions) => UseQueryResult< {
|
|
1556
|
-
badgeId: string;
|
|
1557
|
-
category: string;
|
|
1558
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1559
|
-
companyCode: string;
|
|
1560
|
-
contactPhone: string;
|
|
1561
|
-
departmentId: string;
|
|
1562
|
-
departmentDescription: string;
|
|
1563
|
-
emailString: string;
|
|
1564
|
-
employeeId: string;
|
|
1565
|
-
extensionNumber: string;
|
|
1566
|
-
firstName: string;
|
|
1567
|
-
gender: string;
|
|
1568
|
-
hiredDate: Date;
|
|
1569
|
-
lastName: string;
|
|
1570
|
-
managerId: string;
|
|
1571
|
-
middleName: string;
|
|
1572
|
-
name: string;
|
|
1573
|
-
nameTitleCase: string;
|
|
1574
|
-
nfcSn: string;
|
|
1575
|
-
plantId: string;
|
|
1576
|
-
position: string;
|
|
1577
|
-
previousEmployeeIds: string | null;
|
|
1578
|
-
reHiredDate: Date | null;
|
|
1579
|
-
recordNumber: number;
|
|
1580
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1581
|
-
supervisorId: string;
|
|
1582
|
-
terminationDate: Date | null;
|
|
1583
|
-
terminationFutureDate: Date | null;
|
|
1584
|
-
type: string;
|
|
1585
|
-
upperDepartmentId: string;
|
|
1586
|
-
jobCode: string;
|
|
1587
|
-
jobDescription: string;
|
|
1588
|
-
terminationReason: string | null;
|
|
1589
|
-
supervisorRecordNumber: number;
|
|
1590
|
-
}, Error>;
|
|
1591
|
-
|
|
1592
|
-
export declare const useGetPeopleSoftEmployeeManager: (employeeId: OptionalId_2, options?: BaseEmployeeQueryOptions) => UseQueryResult< {
|
|
1593
|
-
badgeId: string;
|
|
1594
|
-
category: string;
|
|
1595
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1596
|
-
companyCode: string;
|
|
1597
|
-
contactPhone: string;
|
|
1598
|
-
departmentId: string;
|
|
1599
|
-
departmentDescription: string;
|
|
1600
|
-
emailString: string;
|
|
1601
|
-
employeeId: string;
|
|
1602
|
-
extensionNumber: string;
|
|
1603
|
-
firstName: string;
|
|
1604
|
-
gender: string;
|
|
1605
|
-
hiredDate: Date;
|
|
1606
|
-
lastName: string;
|
|
1607
|
-
managerId: string;
|
|
1608
|
-
middleName: string;
|
|
1609
|
-
name: string;
|
|
1610
|
-
nameTitleCase: string;
|
|
1611
|
-
nfcSn: string;
|
|
1612
|
-
plantId: string;
|
|
1613
|
-
position: string;
|
|
1614
|
-
previousEmployeeIds: string | null;
|
|
1615
|
-
reHiredDate: Date | null;
|
|
1616
|
-
recordNumber: number;
|
|
1617
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1618
|
-
supervisorId: string;
|
|
1619
|
-
terminationDate: Date | null;
|
|
1620
|
-
terminationFutureDate: Date | null;
|
|
1621
|
-
type: string;
|
|
1622
|
-
upperDepartmentId: string;
|
|
1623
|
-
jobCode: string;
|
|
1624
|
-
jobDescription: string;
|
|
1625
|
-
terminationReason: string | null;
|
|
1626
|
-
supervisorRecordNumber: number;
|
|
1627
|
-
}, Error>;
|
|
1628
|
-
|
|
1629
|
-
export declare const useGetPeopleSoftEmployees: (options?: BaseEmployeeArrayQueryOptions) => UseQueryResult< {
|
|
1630
|
-
badgeId: string;
|
|
1631
|
-
category: string;
|
|
1632
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1633
|
-
companyCode: string;
|
|
1634
|
-
contactPhone: string;
|
|
1635
|
-
departmentId: string;
|
|
1636
|
-
departmentDescription: string;
|
|
1637
|
-
emailString: string;
|
|
1638
|
-
employeeId: string;
|
|
1639
|
-
extensionNumber: string;
|
|
1640
|
-
firstName: string;
|
|
1641
|
-
gender: string;
|
|
1642
|
-
hiredDate: Date;
|
|
1643
|
-
lastName: string;
|
|
1644
|
-
managerId: string;
|
|
1645
|
-
middleName: string;
|
|
1646
|
-
name: string;
|
|
1647
|
-
nameTitleCase: string;
|
|
1648
|
-
nfcSn: string;
|
|
1649
|
-
plantId: string;
|
|
1650
|
-
position: string;
|
|
1651
|
-
previousEmployeeIds: string | null;
|
|
1652
|
-
reHiredDate: Date | null;
|
|
1653
|
-
recordNumber: number;
|
|
1654
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1655
|
-
supervisorId: string;
|
|
1656
|
-
terminationDate: Date | null;
|
|
1657
|
-
terminationFutureDate: Date | null;
|
|
1658
|
-
type: string;
|
|
1659
|
-
upperDepartmentId: string;
|
|
1660
|
-
jobCode: string;
|
|
1661
|
-
jobDescription: string;
|
|
1662
|
-
terminationReason: string | null;
|
|
1663
|
-
supervisorRecordNumber: number;
|
|
1664
|
-
}[], Error>;
|
|
1665
|
-
|
|
1666
|
-
export declare const useGetPeopleSoftEmployeesSearch: (searchTerm: string, options?: BaseEmployeeArrayQueryOptions) => UseQueryResult< {
|
|
1667
|
-
badgeId: string;
|
|
1668
|
-
category: string;
|
|
1669
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1670
|
-
companyCode: string;
|
|
1671
|
-
contactPhone: string;
|
|
1672
|
-
departmentId: string;
|
|
1673
|
-
departmentDescription: string;
|
|
1674
|
-
emailString: string;
|
|
1675
|
-
employeeId: string;
|
|
1676
|
-
extensionNumber: string;
|
|
1677
|
-
firstName: string;
|
|
1678
|
-
gender: string;
|
|
1679
|
-
hiredDate: Date;
|
|
1680
|
-
lastName: string;
|
|
1681
|
-
managerId: string;
|
|
1682
|
-
middleName: string;
|
|
1683
|
-
name: string;
|
|
1684
|
-
nameTitleCase: string;
|
|
1685
|
-
nfcSn: string;
|
|
1686
|
-
plantId: string;
|
|
1687
|
-
position: string;
|
|
1688
|
-
previousEmployeeIds: string | null;
|
|
1689
|
-
reHiredDate: Date | null;
|
|
1690
|
-
recordNumber: number;
|
|
1691
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1692
|
-
supervisorId: string;
|
|
1693
|
-
terminationDate: Date | null;
|
|
1694
|
-
terminationFutureDate: Date | null;
|
|
1695
|
-
type: string;
|
|
1696
|
-
upperDepartmentId: string;
|
|
1697
|
-
jobCode: string;
|
|
1698
|
-
jobDescription: string;
|
|
1699
|
-
terminationReason: string | null;
|
|
1700
|
-
supervisorRecordNumber: number;
|
|
1701
|
-
}[], Error>;
|
|
1702
|
-
|
|
1703
|
-
export declare const useGetPeopleSoftEmployeeSubordinates: (employeeId: OptionalId_2, options?: BaseEmployeeArrayQueryOptions) => UseQueryResult< {
|
|
1704
|
-
badgeId: string;
|
|
1705
|
-
category: string;
|
|
1706
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1707
|
-
companyCode: string;
|
|
1708
|
-
contactPhone: string;
|
|
1709
|
-
departmentId: string;
|
|
1710
|
-
departmentDescription: string;
|
|
1711
|
-
emailString: string;
|
|
1712
|
-
employeeId: string;
|
|
1713
|
-
extensionNumber: string;
|
|
1714
|
-
firstName: string;
|
|
1715
|
-
gender: string;
|
|
1716
|
-
hiredDate: Date;
|
|
1717
|
-
lastName: string;
|
|
1718
|
-
managerId: string;
|
|
1719
|
-
middleName: string;
|
|
1720
|
-
name: string;
|
|
1721
|
-
nameTitleCase: string;
|
|
1722
|
-
nfcSn: string;
|
|
1723
|
-
plantId: string;
|
|
1724
|
-
position: string;
|
|
1725
|
-
previousEmployeeIds: string | null;
|
|
1726
|
-
reHiredDate: Date | null;
|
|
1727
|
-
recordNumber: number;
|
|
1728
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1729
|
-
supervisorId: string;
|
|
1730
|
-
terminationDate: Date | null;
|
|
1731
|
-
terminationFutureDate: Date | null;
|
|
1732
|
-
type: string;
|
|
1733
|
-
upperDepartmentId: string;
|
|
1734
|
-
jobCode: string;
|
|
1735
|
-
jobDescription: string;
|
|
1736
|
-
terminationReason: string | null;
|
|
1737
|
-
supervisorRecordNumber: number;
|
|
1738
|
-
}[], Error>;
|
|
1739
|
-
|
|
1740
|
-
export declare const useGetPeopleSoftEmployeeSupervisor: (employeeId: OptionalId_2, options?: BaseEmployeeQueryOptions) => UseQueryResult< {
|
|
1741
|
-
badgeId: string;
|
|
1742
|
-
category: string;
|
|
1743
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1744
|
-
companyCode: string;
|
|
1745
|
-
contactPhone: string;
|
|
1746
|
-
departmentId: string;
|
|
1747
|
-
departmentDescription: string;
|
|
1748
|
-
emailString: string;
|
|
1749
|
-
employeeId: string;
|
|
1750
|
-
extensionNumber: string;
|
|
1751
|
-
firstName: string;
|
|
1752
|
-
gender: string;
|
|
1753
|
-
hiredDate: Date;
|
|
1754
|
-
lastName: string;
|
|
1755
|
-
managerId: string;
|
|
1756
|
-
middleName: string;
|
|
1757
|
-
name: string;
|
|
1758
|
-
nameTitleCase: string;
|
|
1759
|
-
nfcSn: string;
|
|
1760
|
-
plantId: string;
|
|
1761
|
-
position: string;
|
|
1762
|
-
previousEmployeeIds: string | null;
|
|
1763
|
-
reHiredDate: Date | null;
|
|
1764
|
-
recordNumber: number;
|
|
1765
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1766
|
-
supervisorId: string;
|
|
1767
|
-
terminationDate: Date | null;
|
|
1768
|
-
terminationFutureDate: Date | null;
|
|
1769
|
-
type: string;
|
|
1770
|
-
upperDepartmentId: string;
|
|
1771
|
-
jobCode: string;
|
|
1772
|
-
jobDescription: string;
|
|
1773
|
-
terminationReason: string | null;
|
|
1774
|
-
supervisorRecordNumber: number;
|
|
1775
|
-
}, Error>;
|
|
1776
|
-
|
|
1777
|
-
export declare const useGetPeopleSoftPreviousEmployeeIds: (options?: BaseEmployeeArrayQueryOptions) => UseQueryResult< {
|
|
1778
|
-
badgeId: string;
|
|
1779
|
-
category: string;
|
|
1780
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
1781
|
-
companyCode: string;
|
|
1782
|
-
contactPhone: string;
|
|
1783
|
-
departmentId: string;
|
|
1784
|
-
departmentDescription: string;
|
|
1785
|
-
emailString: string;
|
|
1786
|
-
employeeId: string;
|
|
1787
|
-
extensionNumber: string;
|
|
1788
|
-
firstName: string;
|
|
1789
|
-
gender: string;
|
|
1790
|
-
hiredDate: Date;
|
|
1791
|
-
lastName: string;
|
|
1792
|
-
managerId: string;
|
|
1793
|
-
middleName: string;
|
|
1794
|
-
name: string;
|
|
1795
|
-
nameTitleCase: string;
|
|
1796
|
-
nfcSn: string;
|
|
1797
|
-
plantId: string;
|
|
1798
|
-
position: string;
|
|
1799
|
-
previousEmployeeIds: string | null;
|
|
1800
|
-
reHiredDate: Date | null;
|
|
1801
|
-
recordNumber: number;
|
|
1802
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
1803
|
-
supervisorId: string;
|
|
1804
|
-
terminationDate: Date | null;
|
|
1805
|
-
terminationFutureDate: Date | null;
|
|
1806
|
-
type: string;
|
|
1807
|
-
upperDepartmentId: string;
|
|
1808
|
-
jobCode: string;
|
|
1809
|
-
jobDescription: string;
|
|
1810
|
-
terminationReason: string | null;
|
|
1811
|
-
supervisorRecordNumber: number;
|
|
1812
|
-
}[], Error>;
|
|
1813
|
-
|
|
1814
|
-
export declare const useOpenFile: (options?: BaseBlobMutationOptions) => UseMutationResult<Blob, Error, {
|
|
1815
|
-
id: string;
|
|
1816
|
-
subId: string;
|
|
1817
|
-
appName: string;
|
|
1818
|
-
fileName: string;
|
|
1819
|
-
fileExtension: string;
|
|
1820
|
-
fileSize: number;
|
|
1821
|
-
mediaSubType: string;
|
|
1822
|
-
mediaType: string;
|
|
1823
|
-
mimeType: string;
|
|
1824
|
-
createdBy: string;
|
|
1825
|
-
createdDate: Date;
|
|
1826
|
-
}, unknown>;
|
|
1827
|
-
|
|
1828
|
-
export declare const useResubmitApproval: (options?: UseResubmitApprovalOptions) => UseMutationResult< {
|
|
1829
|
-
id: string;
|
|
1830
|
-
applicationName: string;
|
|
1831
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1832
|
-
emailBody: string;
|
|
1833
|
-
created: Date;
|
|
1834
|
-
createdBy: {
|
|
1835
|
-
employeeId: string;
|
|
1836
|
-
name: string;
|
|
1837
|
-
email: string;
|
|
1838
|
-
};
|
|
1839
|
-
updated: Date;
|
|
1840
|
-
updatedBy: {
|
|
1841
|
-
employeeId: string;
|
|
1842
|
-
name: string;
|
|
1843
|
-
email: string;
|
|
1844
|
-
};
|
|
1845
|
-
approvalFlows: {
|
|
1846
|
-
id: string;
|
|
1847
|
-
approvalStage: number;
|
|
1848
|
-
approvalSequence: number;
|
|
1849
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1850
|
-
steps: {
|
|
1851
|
-
id: string;
|
|
1852
|
-
order: number;
|
|
1853
|
-
approver: {
|
|
1854
|
-
employeeId: string;
|
|
1855
|
-
name: string;
|
|
1856
|
-
email: string;
|
|
1857
|
-
};
|
|
1858
|
-
approverRole?: string | undefined;
|
|
1859
|
-
actualApprover?: {
|
|
1860
|
-
employeeId: string;
|
|
1861
|
-
name: string;
|
|
1862
|
-
email: string;
|
|
1863
|
-
} | undefined;
|
|
1864
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1865
|
-
resultDate?: Date | undefined;
|
|
1866
|
-
resultComment?: string | undefined;
|
|
1867
|
-
}[];
|
|
1868
|
-
batchSequence?: number | undefined;
|
|
1869
|
-
isActive?: boolean | undefined;
|
|
1870
|
-
}[];
|
|
1871
|
-
currentApprovers: {
|
|
1872
|
-
employeeId: string;
|
|
1873
|
-
name: string;
|
|
1874
|
-
email: string;
|
|
1875
|
-
}[];
|
|
1876
|
-
number?: string | undefined;
|
|
1877
|
-
type?: "Single" | "Batch" | undefined;
|
|
1878
|
-
}, Error, {
|
|
1879
|
-
id: string;
|
|
1880
|
-
approvalFlows: {
|
|
1881
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1882
|
-
approvalStage: number;
|
|
1883
|
-
steps: {
|
|
1884
|
-
approver: {
|
|
1885
|
-
employeeId: string;
|
|
1886
|
-
name: string;
|
|
1887
|
-
email: string;
|
|
1888
|
-
};
|
|
1889
|
-
approverRole?: string | undefined;
|
|
1890
|
-
}[];
|
|
1891
|
-
batchSequence?: number | undefined;
|
|
1892
|
-
}[];
|
|
1893
|
-
}, unknown>;
|
|
1894
|
-
|
|
1895
|
-
declare type UseResubmitApprovalOptions = Omit<UseMutationOptions<Approval, Error, ResubmitApproval>, "mutationFn" | "onSettled">;
|
|
1896
|
-
|
|
1897
|
-
export declare const useUpdateFileMeta: (options?: BaseFileMetaMutationOptions) => UseMutationResult< {
|
|
1898
|
-
id: string;
|
|
1899
|
-
subId: string;
|
|
1900
|
-
appName: string;
|
|
1901
|
-
fileName: string;
|
|
1902
|
-
fileExtension: string;
|
|
1903
|
-
fileSize: number;
|
|
1904
|
-
mediaSubType: string;
|
|
1905
|
-
mediaType: string;
|
|
1906
|
-
mimeType: string;
|
|
1907
|
-
createdBy: string;
|
|
1908
|
-
createdDate: Date;
|
|
1909
|
-
}, Error, {
|
|
1910
|
-
id: string;
|
|
1911
|
-
subId: string;
|
|
1912
|
-
appName: string;
|
|
1913
|
-
fileName: string;
|
|
1914
|
-
fileExtension: string;
|
|
1915
|
-
fileSize: number;
|
|
1916
|
-
mediaSubType: string;
|
|
1917
|
-
mediaType: string;
|
|
1918
|
-
mimeType: string;
|
|
1919
|
-
createdBy: string;
|
|
1920
|
-
createdDate: Date;
|
|
1921
|
-
}, unknown>;
|
|
1922
|
-
|
|
1923
|
-
export declare const useUploadFile: ({ subId, onSuccess, onError }: UseUploadFileProps) => {
|
|
1924
|
-
mutate: (file: File) => Promise<void>;
|
|
1925
|
-
progress: number;
|
|
1926
|
-
};
|
|
1927
|
-
|
|
1928
|
-
declare interface UseUploadFileProps {
|
|
1929
|
-
subId: OptionalId;
|
|
1930
|
-
onSuccess?: (meta: Pick<FileMeta, "id" | "appName" | "subId" | "fileName">) => void;
|
|
1931
|
-
onError?: (error: Error | DetailedError) => void;
|
|
1932
|
-
}
|
|
1933
|
-
|
|
1934
|
-
export declare const useWithdrawApproval: (options?: UseWithdrawApprovalOptions) => UseMutationResult<void, Error, {
|
|
1935
|
-
id: string;
|
|
1936
|
-
comment: string;
|
|
1937
|
-
emailBody: string;
|
|
1938
|
-
}, unknown>;
|
|
1939
|
-
|
|
1940
|
-
declare type UseWithdrawApprovalOptions = Omit<UseMutationOptions<void, Error, WithdrawApproval>, "mutationFn" | "onSettled">;
|
|
1941
|
-
|
|
1942
|
-
declare type WithdrawApproval = default_2.infer<typeof WithdrawApprovalSchema>;
|
|
1943
|
-
|
|
1944
|
-
export declare const withdrawApproval: IsomorphicFn<[data: {
|
|
1945
|
-
id: string;
|
|
1946
|
-
comment: string;
|
|
1947
|
-
emailBody: string;
|
|
1948
|
-
}], Promise<void>, Promise<void>>;
|
|
1949
|
-
|
|
1950
|
-
declare const WithdrawApprovalSchema: default_2.ZodObject<{
|
|
1951
|
-
id: default_2.ZodUUID;
|
|
1952
|
-
comment: default_2.ZodString;
|
|
1953
|
-
emailBody: default_2.ZodString;
|
|
1954
|
-
}, default_2.core.$strip>;
|
|
1955
|
-
|
|
1956
|
-
export { }
|