wcz-test 6.7.7 → 6.8.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/ApprovalStatus-C9HPyMiS.js +24 -0
- package/dist/ApprovalStatus-C9HPyMiS.js.map +1 -0
- package/dist/{chunk-4UULRYGW.js → DialogsHooks-BlUsVlfv.js} +7 -14
- package/dist/DialogsHooks-BlUsVlfv.js.map +1 -0
- package/dist/{chunk-MIVD2XWB.js → FileHooks-hWKTwLCr.js} +36 -46
- package/dist/FileHooks-hWKTwLCr.js.map +1 -0
- package/dist/{chunk-TME53DAF.js → FileMeta-G1oT3mYK.js} +3 -5
- package/dist/FileMeta-G1oT3mYK.js.map +1 -0
- package/dist/{chunk-ZMWQQXZT.js → RouterListItemButton-Cx7rXEfm.js} +6 -8
- package/dist/RouterListItemButton-Cx7rXEfm.js.map +1 -0
- package/dist/android-chrome-192x192.png +0 -0
- package/dist/android-chrome-512x512.png +0 -0
- package/dist/apple-touch-icon.png +0 -0
- package/dist/auth-client-D9snEe6B.js +79 -0
- package/dist/auth-client-D9snEe6B.js.map +1 -0
- package/dist/client-utils.d.ts +3 -702
- package/dist/client-utils.js +7 -17
- package/dist/client-utils.js.map +1 -1
- package/dist/components/core/AppTitle.d.ts +2 -0
- package/dist/components/core/Fullscreen.d.ts +3 -0
- package/dist/components/core/Layout.d.ts +8 -0
- package/dist/components/core/ToolbarAccount.d.ts +2 -0
- package/dist/components/core/TypographyWithIcon.d.ts +7 -0
- package/dist/components/core/navigation/NavigationList.d.ts +22 -0
- package/dist/components/core/navigation/NavigationListItem.d.ts +16 -0
- package/dist/components/core/navigation/NavigationRail.d.ts +12 -0
- package/dist/components/data-grid/ChipInputCell.d.ts +9 -0
- package/dist/components/data-grid/EditableColumnHeader.d.ts +2 -0
- package/dist/components/file/Dropzone.d.ts +8 -0
- package/dist/components/file/FileViewer.d.ts +20 -0
- package/dist/components/file/fileViewer/FileViewerGrid.d.ts +17 -0
- package/dist/components/file/fileViewer/FileViewerList.d.ts +12 -0
- package/dist/components/file/fileViewer/ImageViewer.d.ts +6 -0
- package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +15 -0
- package/dist/components/form/FormAutocomplete.d.ts +7 -0
- package/dist/components/form/FormCheckbox.d.ts +7 -0
- package/dist/components/form/FormDatePicker.d.ts +8 -0
- package/dist/components/form/FormDateRangePicker.d.ts +8 -0
- package/dist/components/form/FormDateTimePicker.d.ts +8 -0
- package/dist/components/form/FormDateTimeRangePicker.d.ts +8 -0
- package/dist/components/form/FormNumberField.d.ts +9 -0
- package/dist/components/form/FormRadioGroup.d.ts +13 -0
- package/dist/components/form/FormSlider.d.ts +7 -0
- package/dist/components/form/FormSubmitButton.d.ts +4 -0
- package/dist/components/form/FormSwitch.d.ts +7 -0
- package/dist/components/form/FormTextField.d.ts +7 -0
- package/dist/components/form/FormTimePicker.d.ts +8 -0
- package/dist/components/form/FormTimeRangePicker.d.ts +8 -0
- package/dist/components/router/RouterButton.d.ts +6 -0
- package/dist/components/router/RouterError.d.ts +7 -0
- package/dist/components/router/RouterGridActionsCellItem.d.ts +6 -0
- package/dist/components/router/RouterIconButton.d.ts +6 -0
- package/dist/components/router/RouterLink.d.ts +6 -0
- package/dist/components/router/RouterListItemButton.d.ts +6 -0
- package/dist/components/router/RouterNotFound.d.ts +1 -0
- package/dist/components/router/RouterTab.d.ts +6 -0
- package/dist/components.d.ts +14 -89
- package/dist/components.js +124 -227
- package/dist/components.js.map +1 -1
- package/dist/contexts/DialogsContext.d.ts +6 -0
- package/dist/contexts/FileContext.d.ts +13 -0
- package/dist/env-CoxTjaDr.js +27 -0
- package/dist/env-CoxTjaDr.js.map +1 -0
- package/dist/env.d.ts +10 -0
- package/dist/favicon-16x16.png +0 -0
- package/dist/favicon-32x32.png +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/favicon.png +0 -0
- package/dist/hooks/DialogsHooks.d.ts +42 -0
- package/dist/hooks/FormHooks.d.ts +52 -0
- package/dist/hooks/ThemeHook.d.ts +4 -0
- package/dist/hooks.d.ts +3 -159
- package/dist/hooks.js +56 -121
- package/dist/hooks.js.map +1 -1
- package/dist/index.d.ts +3 -36
- package/dist/index.js +173 -1882
- package/dist/index.js.map +1 -1
- package/dist/{client-utils.d.cts → lib/auth/auth-client.d.ts} +110 -126
- package/dist/lib/auth/auth.d.ts +24 -0
- package/dist/lib/db/index.d.ts +4 -0
- package/dist/lib/db/schemas/auth.d.ts +606 -0
- package/dist/{utils-ChipkRJ9.d.ts → lib/utils.d.ts} +11 -10
- package/dist/lib/vite-plugin.d.ts +2 -0
- package/dist/manifest.webmanifest +18 -0
- package/dist/models/Navigation.d.ts +18 -0
- package/dist/models/User.d.ts +8 -0
- package/dist/models/approval/Approval.d.ts +177 -0
- package/dist/models/approval/ApprovalEmployee.d.ts +7 -0
- package/dist/models/approval/ApprovalFlow.d.ts +49 -0
- package/dist/models/approval/ApprovalFlowStep.d.ts +29 -0
- package/dist/models/approval/ApprovalRequestType.d.ts +5 -0
- package/dist/models/approval/ApprovalStatus.d.ts +9 -0
- package/dist/models/approval/ApprovalStepResult.d.ts +11 -0
- package/dist/models/approval/StepApprovalOrder.d.ts +6 -0
- package/dist/models/email/Email.d.ts +13 -0
- package/dist/models/email/EmailAttachment.d.ts +6 -0
- package/dist/models/file/FileActions.d.ts +6 -0
- package/dist/{FileMeta-CC014fnB.d.cts → models/file/FileMeta.d.ts} +3 -6
- package/dist/models/peoplesoft/Department.d.ts +58 -0
- package/dist/models/peoplesoft/Employee.d.ts +46 -0
- package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +6 -0
- package/dist/models/peoplesoft/EmployeeStatus.d.ts +6 -0
- package/dist/models.d.ts +25 -161
- package/dist/models.js +109 -160
- package/dist/models.js.map +1 -1
- package/dist/providers/DialogsProvider.d.ts +6 -0
- package/dist/providers/LayoutProvider.d.ts +11 -0
- package/dist/queries/Approval.d.ts +585 -0
- package/dist/queries/ApprovalHooks.d.ts +315 -0
- package/dist/queries/FileHooks.d.ts +151 -0
- package/dist/queries/PeopleSoftHooks.d.ts +537 -0
- package/dist/queries.d.ts +4 -1585
- package/dist/queries.js +59 -86
- package/dist/queries.js.map +1 -1
- package/dist/robots.txt +3 -0
- package/dist/server-utils.d.ts +2 -35
- package/dist/server-utils.js +13 -26
- package/dist/server-utils.js.map +1 -1
- package/dist/{chunk-2ROTNT7W.js → utils-DKyKGba7.js} +13 -18
- package/dist/utils-DKyKGba7.js.map +1 -0
- package/dist/utils.d.ts +1 -2
- package/dist/utils.js +3 -9
- package/dist/utils.js.map +1 -1
- package/dist/vite.d.ts +1 -5
- package/dist/vite.js +3 -6
- package/dist/vite.js.map +1 -1
- package/package.json +15 -23
- package/dist/Approval-CWQn-kah.d.cts +0 -284
- package/dist/Approval-CWQn-kah.d.ts +0 -284
- package/dist/FileMeta-CC014fnB.d.ts +0 -18
- package/dist/chunk-2ROTNT7W.js.map +0 -1
- package/dist/chunk-4FRZRIAO.js +0 -29
- package/dist/chunk-4FRZRIAO.js.map +0 -1
- package/dist/chunk-4UULRYGW.js.map +0 -1
- package/dist/chunk-5WRI5ZAA.js +0 -31
- package/dist/chunk-5WRI5ZAA.js.map +0 -1
- package/dist/chunk-CNDRHYQK.js +0 -883
- package/dist/chunk-CNDRHYQK.js.map +0 -1
- package/dist/chunk-DXXZZHAK.js +0 -28
- package/dist/chunk-DXXZZHAK.js.map +0 -1
- package/dist/chunk-MIVD2XWB.js.map +0 -1
- package/dist/chunk-TME53DAF.js.map +0 -1
- package/dist/chunk-ZMWQQXZT.js.map +0 -1
- package/dist/client-utils.cjs +0 -118
- package/dist/client-utils.cjs.map +0 -1
- package/dist/components.cjs +0 -802
- package/dist/components.cjs.map +0 -1
- package/dist/components.d.cts +0 -89
- package/dist/hooks.cjs +0 -534
- package/dist/hooks.cjs.map +0 -1
- package/dist/hooks.d.cts +0 -160
- package/dist/index.cjs +0 -3373
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -36
- package/dist/models.cjs +0 -330
- package/dist/models.cjs.map +0 -1
- package/dist/models.d.cts +0 -161
- package/dist/queries.cjs +0 -706
- package/dist/queries.cjs.map +0 -1
- package/dist/queries.d.cts +0 -1585
- package/dist/server-utils.cjs +0 -145
- package/dist/server-utils.cjs.map +0 -1
- package/dist/server-utils.d.cts +0 -36
- package/dist/utils-ChipkRJ9.d.cts +0 -49
- package/dist/utils.cjs +0 -81
- package/dist/utils.cjs.map +0 -1
- package/dist/utils.d.cts +0 -4
- package/dist/vite.cjs +0 -94
- package/dist/vite.cjs.map +0 -1
- package/dist/vite.d.cts +0 -5
package/dist/queries.d.cts
DELETED
|
@@ -1,1585 +0,0 @@
|
|
|
1
|
-
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { DefinedInitialDataOptions, UseMutationOptions } from '@tanstack/react-query';
|
|
3
|
-
import z__default from 'zod';
|
|
4
|
-
import { DetailedError } from 'tus-js-client';
|
|
5
|
-
import { F as FileMeta } from './FileMeta-CC014fnB.cjs';
|
|
6
|
-
import { E as Employee, D as Department, A as Approval, C as CreateApproval, a as ApproveApproval, R as ResubmitApproval, W as WithdrawApproval, b as CancelApproval } from './Approval-CWQn-kah.cjs';
|
|
7
|
-
import * as _tanstack_start_client_core from '@tanstack/start-client-core';
|
|
8
|
-
|
|
9
|
-
type OptionalId$1 = string | undefined | null;
|
|
10
|
-
type BaseFileMetaArrayQueryOptions = Omit<DefinedInitialDataOptions<Array<FileMeta>>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
|
11
|
-
type BaseBlobQueryOptions = Omit<DefinedInitialDataOptions<Blob, Error, string>, "queryKey" | "queryFn" | "select" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
|
12
|
-
type BaseFileMetaMutationOptions = Omit<UseMutationOptions<FileMeta, Error, FileMeta>, "mutationFn" | "onSettled">;
|
|
13
|
-
type BaseBlobMutationOptions = Omit<UseMutationOptions<Blob, Error, FileMeta>, "mutationFn" | "onSuccess">;
|
|
14
|
-
type BaseStringMutationOptions = Omit<UseMutationOptions<string, Error, string>, "mutationFn" | "onSettled">;
|
|
15
|
-
declare const GetFileMetasParamsSchema: z__default.ZodObject<{
|
|
16
|
-
appName: z__default.ZodOptional<z__default.ZodDefault<z__default.ZodString>>;
|
|
17
|
-
subId: z__default.ZodUUID;
|
|
18
|
-
}, z__default.core.$strip>;
|
|
19
|
-
type GetFileMetasParams = z__default.infer<typeof GetFileMetasParamsSchema>;
|
|
20
|
-
declare const useGetFileMetas: (params: GetFileMetasParams, options?: BaseFileMetaArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
21
|
-
id: string;
|
|
22
|
-
subId: string;
|
|
23
|
-
appName: string;
|
|
24
|
-
fileName: string;
|
|
25
|
-
fileExtension: string;
|
|
26
|
-
fileSize: number;
|
|
27
|
-
mediaSubType: string;
|
|
28
|
-
mediaType: string;
|
|
29
|
-
mimeType: string;
|
|
30
|
-
createdBy: string;
|
|
31
|
-
createdDate: Date;
|
|
32
|
-
}[], Error>;
|
|
33
|
-
declare const GetFileThumbnailParamsSchema: z__default.ZodObject<{
|
|
34
|
-
appName: z__default.ZodOptional<z__default.ZodDefault<z__default.ZodString>>;
|
|
35
|
-
meta: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodObject<{
|
|
36
|
-
id: z__default.ZodUUID;
|
|
37
|
-
subId: z__default.ZodUUID;
|
|
38
|
-
appName: z__default.ZodString;
|
|
39
|
-
fileName: z__default.ZodString;
|
|
40
|
-
fileExtension: z__default.ZodString;
|
|
41
|
-
fileSize: z__default.ZodNumber;
|
|
42
|
-
mediaSubType: z__default.ZodString;
|
|
43
|
-
mediaType: z__default.ZodString;
|
|
44
|
-
mimeType: z__default.ZodString;
|
|
45
|
-
createdBy: z__default.ZodString;
|
|
46
|
-
createdDate: z__default.ZodDate;
|
|
47
|
-
}, z__default.core.$strip>>>;
|
|
48
|
-
}, z__default.core.$strip>;
|
|
49
|
-
type GetFileThumbnailParams = z__default.infer<typeof GetFileThumbnailParamsSchema>;
|
|
50
|
-
declare const useGetFileThumbnail: (params: GetFileThumbnailParams, options?: BaseBlobQueryOptions) => _tanstack_react_query.UseQueryResult<string, Error>;
|
|
51
|
-
declare const GetFileParamsSchema: z__default.ZodObject<{
|
|
52
|
-
appName: z__default.ZodOptional<z__default.ZodDefault<z__default.ZodString>>;
|
|
53
|
-
meta: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodObject<{
|
|
54
|
-
id: z__default.ZodUUID;
|
|
55
|
-
subId: z__default.ZodUUID;
|
|
56
|
-
appName: z__default.ZodString;
|
|
57
|
-
fileName: z__default.ZodString;
|
|
58
|
-
fileExtension: z__default.ZodString;
|
|
59
|
-
fileSize: z__default.ZodNumber;
|
|
60
|
-
mediaSubType: z__default.ZodString;
|
|
61
|
-
mediaType: z__default.ZodString;
|
|
62
|
-
mimeType: z__default.ZodString;
|
|
63
|
-
createdBy: z__default.ZodString;
|
|
64
|
-
createdDate: z__default.ZodDate;
|
|
65
|
-
}, z__default.core.$strip>>>;
|
|
66
|
-
}, z__default.core.$strip>;
|
|
67
|
-
type GetFileParams = z__default.infer<typeof GetFileParamsSchema>;
|
|
68
|
-
declare const useGetFile: (params: GetFileParams, options?: BaseBlobQueryOptions) => _tanstack_react_query.UseQueryResult<string, Error>;
|
|
69
|
-
declare const useDownloadFile: (options?: BaseBlobMutationOptions) => _tanstack_react_query.UseMutationResult<Blob, Error, {
|
|
70
|
-
id: string;
|
|
71
|
-
subId: string;
|
|
72
|
-
appName: string;
|
|
73
|
-
fileName: string;
|
|
74
|
-
fileExtension: string;
|
|
75
|
-
fileSize: number;
|
|
76
|
-
mediaSubType: string;
|
|
77
|
-
mediaType: string;
|
|
78
|
-
mimeType: string;
|
|
79
|
-
createdBy: string;
|
|
80
|
-
createdDate: Date;
|
|
81
|
-
}, unknown>;
|
|
82
|
-
declare const useOpenFile: (options?: BaseBlobMutationOptions) => _tanstack_react_query.UseMutationResult<Blob, Error, {
|
|
83
|
-
id: string;
|
|
84
|
-
subId: string;
|
|
85
|
-
appName: string;
|
|
86
|
-
fileName: string;
|
|
87
|
-
fileExtension: string;
|
|
88
|
-
fileSize: number;
|
|
89
|
-
mediaSubType: string;
|
|
90
|
-
mediaType: string;
|
|
91
|
-
mimeType: string;
|
|
92
|
-
createdBy: string;
|
|
93
|
-
createdDate: Date;
|
|
94
|
-
}, unknown>;
|
|
95
|
-
declare const useUpdateFileMeta: (options?: BaseFileMetaMutationOptions) => _tanstack_react_query.UseMutationResult<{
|
|
96
|
-
id: string;
|
|
97
|
-
subId: string;
|
|
98
|
-
appName: string;
|
|
99
|
-
fileName: string;
|
|
100
|
-
fileExtension: string;
|
|
101
|
-
fileSize: number;
|
|
102
|
-
mediaSubType: string;
|
|
103
|
-
mediaType: string;
|
|
104
|
-
mimeType: string;
|
|
105
|
-
createdBy: string;
|
|
106
|
-
createdDate: Date;
|
|
107
|
-
}, Error, {
|
|
108
|
-
id: string;
|
|
109
|
-
subId: string;
|
|
110
|
-
appName: string;
|
|
111
|
-
fileName: string;
|
|
112
|
-
fileExtension: string;
|
|
113
|
-
fileSize: number;
|
|
114
|
-
mediaSubType: string;
|
|
115
|
-
mediaType: string;
|
|
116
|
-
mimeType: string;
|
|
117
|
-
createdBy: string;
|
|
118
|
-
createdDate: Date;
|
|
119
|
-
}, unknown>;
|
|
120
|
-
declare const useDeleteFile: (options?: BaseFileMetaMutationOptions) => _tanstack_react_query.UseMutationResult<{
|
|
121
|
-
id: string;
|
|
122
|
-
subId: string;
|
|
123
|
-
appName: string;
|
|
124
|
-
fileName: string;
|
|
125
|
-
fileExtension: string;
|
|
126
|
-
fileSize: number;
|
|
127
|
-
mediaSubType: string;
|
|
128
|
-
mediaType: string;
|
|
129
|
-
mimeType: string;
|
|
130
|
-
createdBy: string;
|
|
131
|
-
createdDate: Date;
|
|
132
|
-
}, Error, {
|
|
133
|
-
id: string;
|
|
134
|
-
subId: string;
|
|
135
|
-
appName: string;
|
|
136
|
-
fileName: string;
|
|
137
|
-
fileExtension: string;
|
|
138
|
-
fileSize: number;
|
|
139
|
-
mediaSubType: string;
|
|
140
|
-
mediaType: string;
|
|
141
|
-
mimeType: string;
|
|
142
|
-
createdBy: string;
|
|
143
|
-
createdDate: Date;
|
|
144
|
-
}, unknown>;
|
|
145
|
-
declare const useDeleteFiles: (options?: BaseStringMutationOptions) => _tanstack_react_query.UseMutationResult<string, Error, string, unknown>;
|
|
146
|
-
interface UseUploadFileProps {
|
|
147
|
-
subId: OptionalId$1;
|
|
148
|
-
onSuccess?: (meta: Pick<FileMeta, "id" | "appName" | "subId" | "fileName">) => void;
|
|
149
|
-
onError?: (error: Error | DetailedError) => void;
|
|
150
|
-
}
|
|
151
|
-
declare const useUploadFile: ({ subId, onSuccess, onError }: UseUploadFileProps) => {
|
|
152
|
-
mutate: (file: File) => Promise<void>;
|
|
153
|
-
progress: number;
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
type OptionalId = string | undefined | null;
|
|
157
|
-
type BaseEmployeeArrayQueryOptions = Omit<DefinedInitialDataOptions<Array<Employee>>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
|
158
|
-
type BaseEmployeeQueryOptions = Omit<DefinedInitialDataOptions<Employee>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
|
159
|
-
type BaseDepartmentArrayQueryOptions = Omit<DefinedInitialDataOptions<Array<Department>>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
|
160
|
-
type BaseDepartmentQueryOptions = Omit<DefinedInitialDataOptions<Department>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
|
161
|
-
declare const useGetPeopleSoftEmployeesSearch: (searchTerm: string, options?: BaseEmployeeArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
162
|
-
badgeId: string;
|
|
163
|
-
category: string;
|
|
164
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
165
|
-
companyCode: string;
|
|
166
|
-
contactPhone: string;
|
|
167
|
-
departmentId: string;
|
|
168
|
-
departmentDescription: string;
|
|
169
|
-
emailString: string;
|
|
170
|
-
employeeId: string;
|
|
171
|
-
extensionNumber: string;
|
|
172
|
-
firstName: string;
|
|
173
|
-
gender: string;
|
|
174
|
-
hiredDate: Date;
|
|
175
|
-
lastName: string;
|
|
176
|
-
managerId: string;
|
|
177
|
-
middleName: string;
|
|
178
|
-
name: string;
|
|
179
|
-
nameTitleCase: string;
|
|
180
|
-
nfcSn: string;
|
|
181
|
-
plantId: string;
|
|
182
|
-
position: string;
|
|
183
|
-
previousEmployeeIds: string | null;
|
|
184
|
-
reHiredDate: Date | null;
|
|
185
|
-
recordNumber: number;
|
|
186
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
187
|
-
supervisorId: string;
|
|
188
|
-
terminationDate: Date | null;
|
|
189
|
-
terminationFutureDate: Date | null;
|
|
190
|
-
type: string;
|
|
191
|
-
upperDepartmentId: string;
|
|
192
|
-
jobCode: string;
|
|
193
|
-
jobDescription: string;
|
|
194
|
-
terminationReason: string | null;
|
|
195
|
-
supervisorRecordNumber: number;
|
|
196
|
-
}[], Error>;
|
|
197
|
-
declare const useGetPeopleSoftEmployees: (options?: BaseEmployeeArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
198
|
-
badgeId: string;
|
|
199
|
-
category: string;
|
|
200
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
201
|
-
companyCode: string;
|
|
202
|
-
contactPhone: string;
|
|
203
|
-
departmentId: string;
|
|
204
|
-
departmentDescription: string;
|
|
205
|
-
emailString: string;
|
|
206
|
-
employeeId: string;
|
|
207
|
-
extensionNumber: string;
|
|
208
|
-
firstName: string;
|
|
209
|
-
gender: string;
|
|
210
|
-
hiredDate: Date;
|
|
211
|
-
lastName: string;
|
|
212
|
-
managerId: string;
|
|
213
|
-
middleName: string;
|
|
214
|
-
name: string;
|
|
215
|
-
nameTitleCase: string;
|
|
216
|
-
nfcSn: string;
|
|
217
|
-
plantId: string;
|
|
218
|
-
position: string;
|
|
219
|
-
previousEmployeeIds: string | null;
|
|
220
|
-
reHiredDate: Date | null;
|
|
221
|
-
recordNumber: number;
|
|
222
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
223
|
-
supervisorId: string;
|
|
224
|
-
terminationDate: Date | null;
|
|
225
|
-
terminationFutureDate: Date | null;
|
|
226
|
-
type: string;
|
|
227
|
-
upperDepartmentId: string;
|
|
228
|
-
jobCode: string;
|
|
229
|
-
jobDescription: string;
|
|
230
|
-
terminationReason: string | null;
|
|
231
|
-
supervisorRecordNumber: number;
|
|
232
|
-
}[], Error>;
|
|
233
|
-
declare const useGetPeopleSoftActiveEmployees: (options?: BaseEmployeeArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
234
|
-
badgeId: string;
|
|
235
|
-
category: string;
|
|
236
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
237
|
-
companyCode: string;
|
|
238
|
-
contactPhone: string;
|
|
239
|
-
departmentId: string;
|
|
240
|
-
departmentDescription: string;
|
|
241
|
-
emailString: string;
|
|
242
|
-
employeeId: string;
|
|
243
|
-
extensionNumber: string;
|
|
244
|
-
firstName: string;
|
|
245
|
-
gender: string;
|
|
246
|
-
hiredDate: Date;
|
|
247
|
-
lastName: string;
|
|
248
|
-
managerId: string;
|
|
249
|
-
middleName: string;
|
|
250
|
-
name: string;
|
|
251
|
-
nameTitleCase: string;
|
|
252
|
-
nfcSn: string;
|
|
253
|
-
plantId: string;
|
|
254
|
-
position: string;
|
|
255
|
-
previousEmployeeIds: string | null;
|
|
256
|
-
reHiredDate: Date | null;
|
|
257
|
-
recordNumber: number;
|
|
258
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
259
|
-
supervisorId: string;
|
|
260
|
-
terminationDate: Date | null;
|
|
261
|
-
terminationFutureDate: Date | null;
|
|
262
|
-
type: string;
|
|
263
|
-
upperDepartmentId: string;
|
|
264
|
-
jobCode: string;
|
|
265
|
-
jobDescription: string;
|
|
266
|
-
terminationReason: string | null;
|
|
267
|
-
supervisorRecordNumber: number;
|
|
268
|
-
}[], Error>;
|
|
269
|
-
declare const useGetPeopleSoftEmployeeById: (employeeId: OptionalId, options?: BaseEmployeeQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
270
|
-
badgeId: string;
|
|
271
|
-
category: string;
|
|
272
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
273
|
-
companyCode: string;
|
|
274
|
-
contactPhone: string;
|
|
275
|
-
departmentId: string;
|
|
276
|
-
departmentDescription: string;
|
|
277
|
-
emailString: string;
|
|
278
|
-
employeeId: string;
|
|
279
|
-
extensionNumber: string;
|
|
280
|
-
firstName: string;
|
|
281
|
-
gender: string;
|
|
282
|
-
hiredDate: Date;
|
|
283
|
-
lastName: string;
|
|
284
|
-
managerId: string;
|
|
285
|
-
middleName: string;
|
|
286
|
-
name: string;
|
|
287
|
-
nameTitleCase: string;
|
|
288
|
-
nfcSn: string;
|
|
289
|
-
plantId: string;
|
|
290
|
-
position: string;
|
|
291
|
-
previousEmployeeIds: string | null;
|
|
292
|
-
reHiredDate: Date | null;
|
|
293
|
-
recordNumber: number;
|
|
294
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
295
|
-
supervisorId: string;
|
|
296
|
-
terminationDate: Date | null;
|
|
297
|
-
terminationFutureDate: Date | null;
|
|
298
|
-
type: string;
|
|
299
|
-
upperDepartmentId: string;
|
|
300
|
-
jobCode: string;
|
|
301
|
-
jobDescription: string;
|
|
302
|
-
terminationReason: string | null;
|
|
303
|
-
supervisorRecordNumber: number;
|
|
304
|
-
}, Error>;
|
|
305
|
-
declare const useGetPeopleSoftPreviousEmployeeIds: (options?: BaseEmployeeArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
306
|
-
badgeId: string;
|
|
307
|
-
category: string;
|
|
308
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
309
|
-
companyCode: string;
|
|
310
|
-
contactPhone: string;
|
|
311
|
-
departmentId: string;
|
|
312
|
-
departmentDescription: string;
|
|
313
|
-
emailString: string;
|
|
314
|
-
employeeId: string;
|
|
315
|
-
extensionNumber: string;
|
|
316
|
-
firstName: string;
|
|
317
|
-
gender: string;
|
|
318
|
-
hiredDate: Date;
|
|
319
|
-
lastName: string;
|
|
320
|
-
managerId: string;
|
|
321
|
-
middleName: string;
|
|
322
|
-
name: string;
|
|
323
|
-
nameTitleCase: string;
|
|
324
|
-
nfcSn: string;
|
|
325
|
-
plantId: string;
|
|
326
|
-
position: string;
|
|
327
|
-
previousEmployeeIds: string | null;
|
|
328
|
-
reHiredDate: Date | null;
|
|
329
|
-
recordNumber: number;
|
|
330
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
331
|
-
supervisorId: string;
|
|
332
|
-
terminationDate: Date | null;
|
|
333
|
-
terminationFutureDate: Date | null;
|
|
334
|
-
type: string;
|
|
335
|
-
upperDepartmentId: string;
|
|
336
|
-
jobCode: string;
|
|
337
|
-
jobDescription: string;
|
|
338
|
-
terminationReason: string | null;
|
|
339
|
-
supervisorRecordNumber: number;
|
|
340
|
-
}[], Error>;
|
|
341
|
-
declare const useGetPeopleSoftEmployeeSupervisor: (employeeId: OptionalId, options?: BaseEmployeeQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
342
|
-
badgeId: string;
|
|
343
|
-
category: string;
|
|
344
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
345
|
-
companyCode: string;
|
|
346
|
-
contactPhone: string;
|
|
347
|
-
departmentId: string;
|
|
348
|
-
departmentDescription: string;
|
|
349
|
-
emailString: string;
|
|
350
|
-
employeeId: string;
|
|
351
|
-
extensionNumber: string;
|
|
352
|
-
firstName: string;
|
|
353
|
-
gender: string;
|
|
354
|
-
hiredDate: Date;
|
|
355
|
-
lastName: string;
|
|
356
|
-
managerId: string;
|
|
357
|
-
middleName: string;
|
|
358
|
-
name: string;
|
|
359
|
-
nameTitleCase: string;
|
|
360
|
-
nfcSn: string;
|
|
361
|
-
plantId: string;
|
|
362
|
-
position: string;
|
|
363
|
-
previousEmployeeIds: string | null;
|
|
364
|
-
reHiredDate: Date | null;
|
|
365
|
-
recordNumber: number;
|
|
366
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
367
|
-
supervisorId: string;
|
|
368
|
-
terminationDate: Date | null;
|
|
369
|
-
terminationFutureDate: Date | null;
|
|
370
|
-
type: string;
|
|
371
|
-
upperDepartmentId: string;
|
|
372
|
-
jobCode: string;
|
|
373
|
-
jobDescription: string;
|
|
374
|
-
terminationReason: string | null;
|
|
375
|
-
supervisorRecordNumber: number;
|
|
376
|
-
}, Error>;
|
|
377
|
-
declare const useGetPeopleSoftEmployeeSubordinates: (employeeId: OptionalId, options?: BaseEmployeeArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
378
|
-
badgeId: string;
|
|
379
|
-
category: string;
|
|
380
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
381
|
-
companyCode: string;
|
|
382
|
-
contactPhone: string;
|
|
383
|
-
departmentId: string;
|
|
384
|
-
departmentDescription: string;
|
|
385
|
-
emailString: string;
|
|
386
|
-
employeeId: string;
|
|
387
|
-
extensionNumber: string;
|
|
388
|
-
firstName: string;
|
|
389
|
-
gender: string;
|
|
390
|
-
hiredDate: Date;
|
|
391
|
-
lastName: string;
|
|
392
|
-
managerId: string;
|
|
393
|
-
middleName: string;
|
|
394
|
-
name: string;
|
|
395
|
-
nameTitleCase: string;
|
|
396
|
-
nfcSn: string;
|
|
397
|
-
plantId: string;
|
|
398
|
-
position: string;
|
|
399
|
-
previousEmployeeIds: string | null;
|
|
400
|
-
reHiredDate: Date | null;
|
|
401
|
-
recordNumber: number;
|
|
402
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
403
|
-
supervisorId: string;
|
|
404
|
-
terminationDate: Date | null;
|
|
405
|
-
terminationFutureDate: Date | null;
|
|
406
|
-
type: string;
|
|
407
|
-
upperDepartmentId: string;
|
|
408
|
-
jobCode: string;
|
|
409
|
-
jobDescription: string;
|
|
410
|
-
terminationReason: string | null;
|
|
411
|
-
supervisorRecordNumber: number;
|
|
412
|
-
}[], Error>;
|
|
413
|
-
declare const useGetPeopleSoftEmployeeManager: (employeeId: OptionalId, options?: BaseEmployeeQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
414
|
-
badgeId: string;
|
|
415
|
-
category: string;
|
|
416
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
417
|
-
companyCode: string;
|
|
418
|
-
contactPhone: string;
|
|
419
|
-
departmentId: string;
|
|
420
|
-
departmentDescription: string;
|
|
421
|
-
emailString: string;
|
|
422
|
-
employeeId: string;
|
|
423
|
-
extensionNumber: string;
|
|
424
|
-
firstName: string;
|
|
425
|
-
gender: string;
|
|
426
|
-
hiredDate: Date;
|
|
427
|
-
lastName: string;
|
|
428
|
-
managerId: string;
|
|
429
|
-
middleName: string;
|
|
430
|
-
name: string;
|
|
431
|
-
nameTitleCase: string;
|
|
432
|
-
nfcSn: string;
|
|
433
|
-
plantId: string;
|
|
434
|
-
position: string;
|
|
435
|
-
previousEmployeeIds: string | null;
|
|
436
|
-
reHiredDate: Date | null;
|
|
437
|
-
recordNumber: number;
|
|
438
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
439
|
-
supervisorId: string;
|
|
440
|
-
terminationDate: Date | null;
|
|
441
|
-
terminationFutureDate: Date | null;
|
|
442
|
-
type: string;
|
|
443
|
-
upperDepartmentId: string;
|
|
444
|
-
jobCode: string;
|
|
445
|
-
jobDescription: string;
|
|
446
|
-
terminationReason: string | null;
|
|
447
|
-
supervisorRecordNumber: number;
|
|
448
|
-
}, Error>;
|
|
449
|
-
declare const useGetPeopleSoftEmployeeGeneralManager: (employeeId: OptionalId, options?: BaseEmployeeQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
450
|
-
badgeId: string;
|
|
451
|
-
category: string;
|
|
452
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
453
|
-
companyCode: string;
|
|
454
|
-
contactPhone: string;
|
|
455
|
-
departmentId: string;
|
|
456
|
-
departmentDescription: string;
|
|
457
|
-
emailString: string;
|
|
458
|
-
employeeId: string;
|
|
459
|
-
extensionNumber: string;
|
|
460
|
-
firstName: string;
|
|
461
|
-
gender: string;
|
|
462
|
-
hiredDate: Date;
|
|
463
|
-
lastName: string;
|
|
464
|
-
managerId: string;
|
|
465
|
-
middleName: string;
|
|
466
|
-
name: string;
|
|
467
|
-
nameTitleCase: string;
|
|
468
|
-
nfcSn: string;
|
|
469
|
-
plantId: string;
|
|
470
|
-
position: string;
|
|
471
|
-
previousEmployeeIds: string | null;
|
|
472
|
-
reHiredDate: Date | null;
|
|
473
|
-
recordNumber: number;
|
|
474
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
475
|
-
supervisorId: string;
|
|
476
|
-
terminationDate: Date | null;
|
|
477
|
-
terminationFutureDate: Date | null;
|
|
478
|
-
type: string;
|
|
479
|
-
upperDepartmentId: string;
|
|
480
|
-
jobCode: string;
|
|
481
|
-
jobDescription: string;
|
|
482
|
-
terminationReason: string | null;
|
|
483
|
-
supervisorRecordNumber: number;
|
|
484
|
-
}, Error>;
|
|
485
|
-
declare const useGetPeopleSoftDepartments: (options?: BaseDepartmentArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
486
|
-
departmentId: string;
|
|
487
|
-
description: string;
|
|
488
|
-
managerId: string;
|
|
489
|
-
managerRecordNumber: string;
|
|
490
|
-
treeLevel: number;
|
|
491
|
-
upperDepartmentId: string;
|
|
492
|
-
companyCode: string;
|
|
493
|
-
location: string;
|
|
494
|
-
salLocation: string;
|
|
495
|
-
plantId: string;
|
|
496
|
-
manager: {
|
|
497
|
-
badgeId: string;
|
|
498
|
-
category: string;
|
|
499
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
500
|
-
companyCode: string;
|
|
501
|
-
contactPhone: string;
|
|
502
|
-
departmentId: string;
|
|
503
|
-
departmentDescription: string;
|
|
504
|
-
emailString: string;
|
|
505
|
-
employeeId: string;
|
|
506
|
-
extensionNumber: string;
|
|
507
|
-
firstName: string;
|
|
508
|
-
gender: string;
|
|
509
|
-
hiredDate: Date;
|
|
510
|
-
lastName: string;
|
|
511
|
-
managerId: string;
|
|
512
|
-
middleName: string;
|
|
513
|
-
name: string;
|
|
514
|
-
nameTitleCase: string;
|
|
515
|
-
nfcSn: string;
|
|
516
|
-
plantId: string;
|
|
517
|
-
position: string;
|
|
518
|
-
previousEmployeeIds: string | null;
|
|
519
|
-
reHiredDate: Date | null;
|
|
520
|
-
recordNumber: number;
|
|
521
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
522
|
-
supervisorId: string;
|
|
523
|
-
terminationDate: Date | null;
|
|
524
|
-
terminationFutureDate: Date | null;
|
|
525
|
-
type: string;
|
|
526
|
-
upperDepartmentId: string;
|
|
527
|
-
jobCode: string;
|
|
528
|
-
jobDescription: string;
|
|
529
|
-
terminationReason: string | null;
|
|
530
|
-
supervisorRecordNumber: number;
|
|
531
|
-
};
|
|
532
|
-
}[], Error>;
|
|
533
|
-
declare const useGetPeopleSoftDepartmentById: (departmentId: OptionalId, options?: BaseDepartmentQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
534
|
-
departmentId: string;
|
|
535
|
-
description: string;
|
|
536
|
-
managerId: string;
|
|
537
|
-
managerRecordNumber: string;
|
|
538
|
-
treeLevel: number;
|
|
539
|
-
upperDepartmentId: string;
|
|
540
|
-
companyCode: string;
|
|
541
|
-
location: string;
|
|
542
|
-
salLocation: string;
|
|
543
|
-
plantId: string;
|
|
544
|
-
manager: {
|
|
545
|
-
badgeId: string;
|
|
546
|
-
category: string;
|
|
547
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
548
|
-
companyCode: string;
|
|
549
|
-
contactPhone: string;
|
|
550
|
-
departmentId: string;
|
|
551
|
-
departmentDescription: string;
|
|
552
|
-
emailString: string;
|
|
553
|
-
employeeId: string;
|
|
554
|
-
extensionNumber: string;
|
|
555
|
-
firstName: string;
|
|
556
|
-
gender: string;
|
|
557
|
-
hiredDate: Date;
|
|
558
|
-
lastName: string;
|
|
559
|
-
managerId: string;
|
|
560
|
-
middleName: string;
|
|
561
|
-
name: string;
|
|
562
|
-
nameTitleCase: string;
|
|
563
|
-
nfcSn: string;
|
|
564
|
-
plantId: string;
|
|
565
|
-
position: string;
|
|
566
|
-
previousEmployeeIds: string | null;
|
|
567
|
-
reHiredDate: Date | null;
|
|
568
|
-
recordNumber: number;
|
|
569
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
570
|
-
supervisorId: string;
|
|
571
|
-
terminationDate: Date | null;
|
|
572
|
-
terminationFutureDate: Date | null;
|
|
573
|
-
type: string;
|
|
574
|
-
upperDepartmentId: string;
|
|
575
|
-
jobCode: string;
|
|
576
|
-
jobDescription: string;
|
|
577
|
-
terminationReason: string | null;
|
|
578
|
-
supervisorRecordNumber: number;
|
|
579
|
-
};
|
|
580
|
-
}, Error>;
|
|
581
|
-
declare const useGetPeopleSoftDepartmentManager: (departmentId: OptionalId, options?: BaseEmployeeQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
582
|
-
badgeId: string;
|
|
583
|
-
category: string;
|
|
584
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
585
|
-
companyCode: string;
|
|
586
|
-
contactPhone: string;
|
|
587
|
-
departmentId: string;
|
|
588
|
-
departmentDescription: string;
|
|
589
|
-
emailString: string;
|
|
590
|
-
employeeId: string;
|
|
591
|
-
extensionNumber: string;
|
|
592
|
-
firstName: string;
|
|
593
|
-
gender: string;
|
|
594
|
-
hiredDate: Date;
|
|
595
|
-
lastName: string;
|
|
596
|
-
managerId: string;
|
|
597
|
-
middleName: string;
|
|
598
|
-
name: string;
|
|
599
|
-
nameTitleCase: string;
|
|
600
|
-
nfcSn: string;
|
|
601
|
-
plantId: string;
|
|
602
|
-
position: string;
|
|
603
|
-
previousEmployeeIds: string | null;
|
|
604
|
-
reHiredDate: Date | null;
|
|
605
|
-
recordNumber: number;
|
|
606
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
607
|
-
supervisorId: string;
|
|
608
|
-
terminationDate: Date | null;
|
|
609
|
-
terminationFutureDate: Date | null;
|
|
610
|
-
type: string;
|
|
611
|
-
upperDepartmentId: string;
|
|
612
|
-
jobCode: string;
|
|
613
|
-
jobDescription: string;
|
|
614
|
-
terminationReason: string | null;
|
|
615
|
-
supervisorRecordNumber: number;
|
|
616
|
-
}, Error>;
|
|
617
|
-
declare const useGetPeopleSoftDepartmentEmployees: (departmentId: OptionalId, options?: BaseEmployeeArrayQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
618
|
-
badgeId: string;
|
|
619
|
-
category: string;
|
|
620
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
621
|
-
companyCode: string;
|
|
622
|
-
contactPhone: string;
|
|
623
|
-
departmentId: string;
|
|
624
|
-
departmentDescription: string;
|
|
625
|
-
emailString: string;
|
|
626
|
-
employeeId: string;
|
|
627
|
-
extensionNumber: string;
|
|
628
|
-
firstName: string;
|
|
629
|
-
gender: string;
|
|
630
|
-
hiredDate: Date;
|
|
631
|
-
lastName: string;
|
|
632
|
-
managerId: string;
|
|
633
|
-
middleName: string;
|
|
634
|
-
name: string;
|
|
635
|
-
nameTitleCase: string;
|
|
636
|
-
nfcSn: string;
|
|
637
|
-
plantId: string;
|
|
638
|
-
position: string;
|
|
639
|
-
previousEmployeeIds: string | null;
|
|
640
|
-
reHiredDate: Date | null;
|
|
641
|
-
recordNumber: number;
|
|
642
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
643
|
-
supervisorId: string;
|
|
644
|
-
terminationDate: Date | null;
|
|
645
|
-
terminationFutureDate: Date | null;
|
|
646
|
-
type: string;
|
|
647
|
-
upperDepartmentId: string;
|
|
648
|
-
jobCode: string;
|
|
649
|
-
jobDescription: string;
|
|
650
|
-
terminationReason: string | null;
|
|
651
|
-
supervisorRecordNumber: number;
|
|
652
|
-
}[], Error>;
|
|
653
|
-
declare const useGetPeopleSoftCompanyGeneralManager: (companyCode: OptionalId, options?: BaseEmployeeQueryOptions) => _tanstack_react_query.UseQueryResult<{
|
|
654
|
-
badgeId: string;
|
|
655
|
-
category: string;
|
|
656
|
-
categoryGroup: "IDL" | "FD" | "FI";
|
|
657
|
-
companyCode: string;
|
|
658
|
-
contactPhone: string;
|
|
659
|
-
departmentId: string;
|
|
660
|
-
departmentDescription: string;
|
|
661
|
-
emailString: string;
|
|
662
|
-
employeeId: string;
|
|
663
|
-
extensionNumber: string;
|
|
664
|
-
firstName: string;
|
|
665
|
-
gender: string;
|
|
666
|
-
hiredDate: Date;
|
|
667
|
-
lastName: string;
|
|
668
|
-
managerId: string;
|
|
669
|
-
middleName: string;
|
|
670
|
-
name: string;
|
|
671
|
-
nameTitleCase: string;
|
|
672
|
-
nfcSn: string;
|
|
673
|
-
plantId: string;
|
|
674
|
-
position: string;
|
|
675
|
-
previousEmployeeIds: string | null;
|
|
676
|
-
reHiredDate: Date | null;
|
|
677
|
-
recordNumber: number;
|
|
678
|
-
status: "Active" | "Terminated" | "Leave of Absence";
|
|
679
|
-
supervisorId: string;
|
|
680
|
-
terminationDate: Date | null;
|
|
681
|
-
terminationFutureDate: Date | null;
|
|
682
|
-
type: string;
|
|
683
|
-
upperDepartmentId: string;
|
|
684
|
-
jobCode: string;
|
|
685
|
-
jobDescription: string;
|
|
686
|
-
terminationReason: string | null;
|
|
687
|
-
supervisorRecordNumber: number;
|
|
688
|
-
}, Error>;
|
|
689
|
-
|
|
690
|
-
declare const GetApprovalsParamsSchema: z__default.ZodObject<{
|
|
691
|
-
appName: z__default.ZodOptional<z__default.ZodDefault<z__default.ZodString>>;
|
|
692
|
-
status: z__default.ZodOptional<z__default.ZodEnum<{
|
|
693
|
-
WaitingForApproval: "WaitingForApproval";
|
|
694
|
-
Approved: "Approved";
|
|
695
|
-
Rejected: "Rejected";
|
|
696
|
-
Withdrawn: "Withdrawn";
|
|
697
|
-
Cancelled: "Cancelled";
|
|
698
|
-
PartiallyApproved: "PartiallyApproved";
|
|
699
|
-
}>>;
|
|
700
|
-
approverEmployeeId: z__default.ZodOptional<z__default.ZodString>;
|
|
701
|
-
stepResult: z__default.ZodOptional<z__default.ZodEnum<{
|
|
702
|
-
NotAvailable: "NotAvailable";
|
|
703
|
-
FutureApproval: "FutureApproval";
|
|
704
|
-
WaitingForApproval: "WaitingForApproval";
|
|
705
|
-
Approved: "Approved";
|
|
706
|
-
Rejected: "Rejected";
|
|
707
|
-
Skipped: "Skipped";
|
|
708
|
-
Withdrawn: "Withdrawn";
|
|
709
|
-
Cancelled: "Cancelled";
|
|
710
|
-
}>>;
|
|
711
|
-
}, z__default.core.$strip>;
|
|
712
|
-
type GetApprovalsParams = z__default.infer<typeof GetApprovalsParamsSchema>;
|
|
713
|
-
declare const getApprovals: _tanstack_start_client_core.IsomorphicFn<[params?: {
|
|
714
|
-
appName?: string | undefined;
|
|
715
|
-
status?: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved" | undefined;
|
|
716
|
-
approverEmployeeId?: string | undefined;
|
|
717
|
-
stepResult?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
718
|
-
} | undefined, signal?: AbortSignal | undefined], Promise<{
|
|
719
|
-
id: string;
|
|
720
|
-
applicationName: string;
|
|
721
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
722
|
-
emailBody: string;
|
|
723
|
-
created: Date;
|
|
724
|
-
createdBy: {
|
|
725
|
-
employeeId: string;
|
|
726
|
-
name: string;
|
|
727
|
-
email: string;
|
|
728
|
-
};
|
|
729
|
-
updated: Date;
|
|
730
|
-
updatedBy: {
|
|
731
|
-
employeeId: string;
|
|
732
|
-
name: string;
|
|
733
|
-
email: string;
|
|
734
|
-
};
|
|
735
|
-
approvalFlows: {
|
|
736
|
-
id: string;
|
|
737
|
-
approvalStage: number;
|
|
738
|
-
approvalSequence: number;
|
|
739
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
740
|
-
steps: {
|
|
741
|
-
id: string;
|
|
742
|
-
order: number;
|
|
743
|
-
approver: {
|
|
744
|
-
employeeId: string;
|
|
745
|
-
name: string;
|
|
746
|
-
email: string;
|
|
747
|
-
};
|
|
748
|
-
approverRole?: string | undefined;
|
|
749
|
-
actualApprover?: {
|
|
750
|
-
employeeId: string;
|
|
751
|
-
name: string;
|
|
752
|
-
email: string;
|
|
753
|
-
} | undefined;
|
|
754
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
755
|
-
resultDate?: Date | undefined;
|
|
756
|
-
resultComment?: string | undefined;
|
|
757
|
-
}[];
|
|
758
|
-
batchSequence?: number | undefined;
|
|
759
|
-
isActive?: boolean | undefined;
|
|
760
|
-
}[];
|
|
761
|
-
currentApprovers: {
|
|
762
|
-
employeeId: string;
|
|
763
|
-
name: string;
|
|
764
|
-
email: string;
|
|
765
|
-
}[];
|
|
766
|
-
number?: string | undefined;
|
|
767
|
-
type?: "Single" | "Batch" | undefined;
|
|
768
|
-
}[]>, Promise<{
|
|
769
|
-
id: string;
|
|
770
|
-
applicationName: string;
|
|
771
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
772
|
-
emailBody: string;
|
|
773
|
-
created: Date;
|
|
774
|
-
createdBy: {
|
|
775
|
-
employeeId: string;
|
|
776
|
-
name: string;
|
|
777
|
-
email: string;
|
|
778
|
-
};
|
|
779
|
-
updated: Date;
|
|
780
|
-
updatedBy: {
|
|
781
|
-
employeeId: string;
|
|
782
|
-
name: string;
|
|
783
|
-
email: string;
|
|
784
|
-
};
|
|
785
|
-
approvalFlows: {
|
|
786
|
-
id: string;
|
|
787
|
-
approvalStage: number;
|
|
788
|
-
approvalSequence: number;
|
|
789
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
790
|
-
steps: {
|
|
791
|
-
id: string;
|
|
792
|
-
order: number;
|
|
793
|
-
approver: {
|
|
794
|
-
employeeId: string;
|
|
795
|
-
name: string;
|
|
796
|
-
email: string;
|
|
797
|
-
};
|
|
798
|
-
approverRole?: string | undefined;
|
|
799
|
-
actualApprover?: {
|
|
800
|
-
employeeId: string;
|
|
801
|
-
name: string;
|
|
802
|
-
email: string;
|
|
803
|
-
} | undefined;
|
|
804
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
805
|
-
resultDate?: Date | undefined;
|
|
806
|
-
resultComment?: string | undefined;
|
|
807
|
-
}[];
|
|
808
|
-
batchSequence?: number | undefined;
|
|
809
|
-
isActive?: boolean | undefined;
|
|
810
|
-
}[];
|
|
811
|
-
currentApprovers: {
|
|
812
|
-
employeeId: string;
|
|
813
|
-
name: string;
|
|
814
|
-
email: string;
|
|
815
|
-
}[];
|
|
816
|
-
number?: string | undefined;
|
|
817
|
-
type?: "Single" | "Batch" | undefined;
|
|
818
|
-
}[]>>;
|
|
819
|
-
declare const getApproval: _tanstack_start_client_core.IsomorphicFn<[id: string, signal?: AbortSignal | undefined], Promise<{
|
|
820
|
-
id: string;
|
|
821
|
-
applicationName: string;
|
|
822
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
823
|
-
emailBody: string;
|
|
824
|
-
created: Date;
|
|
825
|
-
createdBy: {
|
|
826
|
-
employeeId: string;
|
|
827
|
-
name: string;
|
|
828
|
-
email: string;
|
|
829
|
-
};
|
|
830
|
-
updated: Date;
|
|
831
|
-
updatedBy: {
|
|
832
|
-
employeeId: string;
|
|
833
|
-
name: string;
|
|
834
|
-
email: string;
|
|
835
|
-
};
|
|
836
|
-
approvalFlows: {
|
|
837
|
-
id: string;
|
|
838
|
-
approvalStage: number;
|
|
839
|
-
approvalSequence: number;
|
|
840
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
841
|
-
steps: {
|
|
842
|
-
id: string;
|
|
843
|
-
order: number;
|
|
844
|
-
approver: {
|
|
845
|
-
employeeId: string;
|
|
846
|
-
name: string;
|
|
847
|
-
email: string;
|
|
848
|
-
};
|
|
849
|
-
approverRole?: string | undefined;
|
|
850
|
-
actualApprover?: {
|
|
851
|
-
employeeId: string;
|
|
852
|
-
name: string;
|
|
853
|
-
email: string;
|
|
854
|
-
} | undefined;
|
|
855
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
856
|
-
resultDate?: Date | undefined;
|
|
857
|
-
resultComment?: string | undefined;
|
|
858
|
-
}[];
|
|
859
|
-
batchSequence?: number | undefined;
|
|
860
|
-
isActive?: boolean | undefined;
|
|
861
|
-
}[];
|
|
862
|
-
currentApprovers: {
|
|
863
|
-
employeeId: string;
|
|
864
|
-
name: string;
|
|
865
|
-
email: string;
|
|
866
|
-
}[];
|
|
867
|
-
number?: string | undefined;
|
|
868
|
-
type?: "Single" | "Batch" | undefined;
|
|
869
|
-
}>, Promise<{
|
|
870
|
-
id: string;
|
|
871
|
-
applicationName: string;
|
|
872
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
873
|
-
emailBody: string;
|
|
874
|
-
created: Date;
|
|
875
|
-
createdBy: {
|
|
876
|
-
employeeId: string;
|
|
877
|
-
name: string;
|
|
878
|
-
email: string;
|
|
879
|
-
};
|
|
880
|
-
updated: Date;
|
|
881
|
-
updatedBy: {
|
|
882
|
-
employeeId: string;
|
|
883
|
-
name: string;
|
|
884
|
-
email: string;
|
|
885
|
-
};
|
|
886
|
-
approvalFlows: {
|
|
887
|
-
id: string;
|
|
888
|
-
approvalStage: number;
|
|
889
|
-
approvalSequence: number;
|
|
890
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
891
|
-
steps: {
|
|
892
|
-
id: string;
|
|
893
|
-
order: number;
|
|
894
|
-
approver: {
|
|
895
|
-
employeeId: string;
|
|
896
|
-
name: string;
|
|
897
|
-
email: string;
|
|
898
|
-
};
|
|
899
|
-
approverRole?: string | undefined;
|
|
900
|
-
actualApprover?: {
|
|
901
|
-
employeeId: string;
|
|
902
|
-
name: string;
|
|
903
|
-
email: string;
|
|
904
|
-
} | undefined;
|
|
905
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
906
|
-
resultDate?: Date | undefined;
|
|
907
|
-
resultComment?: string | undefined;
|
|
908
|
-
}[];
|
|
909
|
-
batchSequence?: number | undefined;
|
|
910
|
-
isActive?: boolean | undefined;
|
|
911
|
-
}[];
|
|
912
|
-
currentApprovers: {
|
|
913
|
-
employeeId: string;
|
|
914
|
-
name: string;
|
|
915
|
-
email: string;
|
|
916
|
-
}[];
|
|
917
|
-
number?: string | undefined;
|
|
918
|
-
type?: "Single" | "Batch" | undefined;
|
|
919
|
-
}>>;
|
|
920
|
-
declare const createApproval: _tanstack_start_client_core.IsomorphicFn<[data: {
|
|
921
|
-
id: string;
|
|
922
|
-
applicationName: string;
|
|
923
|
-
emailBody: string;
|
|
924
|
-
approvalFlows: {
|
|
925
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
926
|
-
approvalStage: number;
|
|
927
|
-
steps: {
|
|
928
|
-
approver: {
|
|
929
|
-
employeeId: string;
|
|
930
|
-
name: string;
|
|
931
|
-
email: string;
|
|
932
|
-
};
|
|
933
|
-
approverRole?: string | undefined;
|
|
934
|
-
}[];
|
|
935
|
-
batchSequence?: number | undefined;
|
|
936
|
-
}[];
|
|
937
|
-
number?: string | undefined;
|
|
938
|
-
type?: "Single" | "Batch" | undefined;
|
|
939
|
-
}], Promise<{
|
|
940
|
-
id: string;
|
|
941
|
-
applicationName: string;
|
|
942
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
943
|
-
emailBody: string;
|
|
944
|
-
created: Date;
|
|
945
|
-
createdBy: {
|
|
946
|
-
employeeId: string;
|
|
947
|
-
name: string;
|
|
948
|
-
email: string;
|
|
949
|
-
};
|
|
950
|
-
updated: Date;
|
|
951
|
-
updatedBy: {
|
|
952
|
-
employeeId: string;
|
|
953
|
-
name: string;
|
|
954
|
-
email: string;
|
|
955
|
-
};
|
|
956
|
-
approvalFlows: {
|
|
957
|
-
id: string;
|
|
958
|
-
approvalStage: number;
|
|
959
|
-
approvalSequence: number;
|
|
960
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
961
|
-
steps: {
|
|
962
|
-
id: string;
|
|
963
|
-
order: number;
|
|
964
|
-
approver: {
|
|
965
|
-
employeeId: string;
|
|
966
|
-
name: string;
|
|
967
|
-
email: string;
|
|
968
|
-
};
|
|
969
|
-
approverRole?: string | undefined;
|
|
970
|
-
actualApprover?: {
|
|
971
|
-
employeeId: string;
|
|
972
|
-
name: string;
|
|
973
|
-
email: string;
|
|
974
|
-
} | undefined;
|
|
975
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
976
|
-
resultDate?: Date | undefined;
|
|
977
|
-
resultComment?: string | undefined;
|
|
978
|
-
}[];
|
|
979
|
-
batchSequence?: number | undefined;
|
|
980
|
-
isActive?: boolean | undefined;
|
|
981
|
-
}[];
|
|
982
|
-
currentApprovers: {
|
|
983
|
-
employeeId: string;
|
|
984
|
-
name: string;
|
|
985
|
-
email: string;
|
|
986
|
-
}[];
|
|
987
|
-
number?: string | undefined;
|
|
988
|
-
type?: "Single" | "Batch" | undefined;
|
|
989
|
-
}>, Promise<{
|
|
990
|
-
id: string;
|
|
991
|
-
applicationName: string;
|
|
992
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
993
|
-
emailBody: string;
|
|
994
|
-
created: Date;
|
|
995
|
-
createdBy: {
|
|
996
|
-
employeeId: string;
|
|
997
|
-
name: string;
|
|
998
|
-
email: string;
|
|
999
|
-
};
|
|
1000
|
-
updated: Date;
|
|
1001
|
-
updatedBy: {
|
|
1002
|
-
employeeId: string;
|
|
1003
|
-
name: string;
|
|
1004
|
-
email: string;
|
|
1005
|
-
};
|
|
1006
|
-
approvalFlows: {
|
|
1007
|
-
id: string;
|
|
1008
|
-
approvalStage: number;
|
|
1009
|
-
approvalSequence: number;
|
|
1010
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1011
|
-
steps: {
|
|
1012
|
-
id: string;
|
|
1013
|
-
order: number;
|
|
1014
|
-
approver: {
|
|
1015
|
-
employeeId: string;
|
|
1016
|
-
name: string;
|
|
1017
|
-
email: string;
|
|
1018
|
-
};
|
|
1019
|
-
approverRole?: string | undefined;
|
|
1020
|
-
actualApprover?: {
|
|
1021
|
-
employeeId: string;
|
|
1022
|
-
name: string;
|
|
1023
|
-
email: string;
|
|
1024
|
-
} | undefined;
|
|
1025
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1026
|
-
resultDate?: Date | undefined;
|
|
1027
|
-
resultComment?: string | undefined;
|
|
1028
|
-
}[];
|
|
1029
|
-
batchSequence?: number | undefined;
|
|
1030
|
-
isActive?: boolean | undefined;
|
|
1031
|
-
}[];
|
|
1032
|
-
currentApprovers: {
|
|
1033
|
-
employeeId: string;
|
|
1034
|
-
name: string;
|
|
1035
|
-
email: string;
|
|
1036
|
-
}[];
|
|
1037
|
-
number?: string | undefined;
|
|
1038
|
-
type?: "Single" | "Batch" | undefined;
|
|
1039
|
-
}>>;
|
|
1040
|
-
declare const approveApproval: _tanstack_start_client_core.IsomorphicFn<[data: {
|
|
1041
|
-
id: string;
|
|
1042
|
-
result: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled";
|
|
1043
|
-
emailBody: string;
|
|
1044
|
-
resultComment?: string | undefined;
|
|
1045
|
-
}], Promise<{
|
|
1046
|
-
id: string;
|
|
1047
|
-
applicationName: string;
|
|
1048
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1049
|
-
emailBody: string;
|
|
1050
|
-
created: Date;
|
|
1051
|
-
createdBy: {
|
|
1052
|
-
employeeId: string;
|
|
1053
|
-
name: string;
|
|
1054
|
-
email: string;
|
|
1055
|
-
};
|
|
1056
|
-
updated: Date;
|
|
1057
|
-
updatedBy: {
|
|
1058
|
-
employeeId: string;
|
|
1059
|
-
name: string;
|
|
1060
|
-
email: string;
|
|
1061
|
-
};
|
|
1062
|
-
approvalFlows: {
|
|
1063
|
-
id: string;
|
|
1064
|
-
approvalStage: number;
|
|
1065
|
-
approvalSequence: number;
|
|
1066
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1067
|
-
steps: {
|
|
1068
|
-
id: string;
|
|
1069
|
-
order: number;
|
|
1070
|
-
approver: {
|
|
1071
|
-
employeeId: string;
|
|
1072
|
-
name: string;
|
|
1073
|
-
email: string;
|
|
1074
|
-
};
|
|
1075
|
-
approverRole?: string | undefined;
|
|
1076
|
-
actualApprover?: {
|
|
1077
|
-
employeeId: string;
|
|
1078
|
-
name: string;
|
|
1079
|
-
email: string;
|
|
1080
|
-
} | undefined;
|
|
1081
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1082
|
-
resultDate?: Date | undefined;
|
|
1083
|
-
resultComment?: string | undefined;
|
|
1084
|
-
}[];
|
|
1085
|
-
batchSequence?: number | undefined;
|
|
1086
|
-
isActive?: boolean | undefined;
|
|
1087
|
-
}[];
|
|
1088
|
-
currentApprovers: {
|
|
1089
|
-
employeeId: string;
|
|
1090
|
-
name: string;
|
|
1091
|
-
email: string;
|
|
1092
|
-
}[];
|
|
1093
|
-
number?: string | undefined;
|
|
1094
|
-
type?: "Single" | "Batch" | undefined;
|
|
1095
|
-
}>, Promise<{
|
|
1096
|
-
id: string;
|
|
1097
|
-
applicationName: string;
|
|
1098
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1099
|
-
emailBody: string;
|
|
1100
|
-
created: Date;
|
|
1101
|
-
createdBy: {
|
|
1102
|
-
employeeId: string;
|
|
1103
|
-
name: string;
|
|
1104
|
-
email: string;
|
|
1105
|
-
};
|
|
1106
|
-
updated: Date;
|
|
1107
|
-
updatedBy: {
|
|
1108
|
-
employeeId: string;
|
|
1109
|
-
name: string;
|
|
1110
|
-
email: string;
|
|
1111
|
-
};
|
|
1112
|
-
approvalFlows: {
|
|
1113
|
-
id: string;
|
|
1114
|
-
approvalStage: number;
|
|
1115
|
-
approvalSequence: number;
|
|
1116
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1117
|
-
steps: {
|
|
1118
|
-
id: string;
|
|
1119
|
-
order: number;
|
|
1120
|
-
approver: {
|
|
1121
|
-
employeeId: string;
|
|
1122
|
-
name: string;
|
|
1123
|
-
email: string;
|
|
1124
|
-
};
|
|
1125
|
-
approverRole?: string | undefined;
|
|
1126
|
-
actualApprover?: {
|
|
1127
|
-
employeeId: string;
|
|
1128
|
-
name: string;
|
|
1129
|
-
email: string;
|
|
1130
|
-
} | undefined;
|
|
1131
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1132
|
-
resultDate?: Date | undefined;
|
|
1133
|
-
resultComment?: string | undefined;
|
|
1134
|
-
}[];
|
|
1135
|
-
batchSequence?: number | undefined;
|
|
1136
|
-
isActive?: boolean | undefined;
|
|
1137
|
-
}[];
|
|
1138
|
-
currentApprovers: {
|
|
1139
|
-
employeeId: string;
|
|
1140
|
-
name: string;
|
|
1141
|
-
email: string;
|
|
1142
|
-
}[];
|
|
1143
|
-
number?: string | undefined;
|
|
1144
|
-
type?: "Single" | "Batch" | undefined;
|
|
1145
|
-
}>>;
|
|
1146
|
-
declare const resubmitApproval: _tanstack_start_client_core.IsomorphicFn<[data: {
|
|
1147
|
-
id: string;
|
|
1148
|
-
approvalFlows: {
|
|
1149
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1150
|
-
approvalStage: number;
|
|
1151
|
-
steps: {
|
|
1152
|
-
approver: {
|
|
1153
|
-
employeeId: string;
|
|
1154
|
-
name: string;
|
|
1155
|
-
email: string;
|
|
1156
|
-
};
|
|
1157
|
-
approverRole?: string | undefined;
|
|
1158
|
-
}[];
|
|
1159
|
-
batchSequence?: number | undefined;
|
|
1160
|
-
}[];
|
|
1161
|
-
}], Promise<{
|
|
1162
|
-
id: string;
|
|
1163
|
-
applicationName: string;
|
|
1164
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1165
|
-
emailBody: string;
|
|
1166
|
-
created: Date;
|
|
1167
|
-
createdBy: {
|
|
1168
|
-
employeeId: string;
|
|
1169
|
-
name: string;
|
|
1170
|
-
email: string;
|
|
1171
|
-
};
|
|
1172
|
-
updated: Date;
|
|
1173
|
-
updatedBy: {
|
|
1174
|
-
employeeId: string;
|
|
1175
|
-
name: string;
|
|
1176
|
-
email: string;
|
|
1177
|
-
};
|
|
1178
|
-
approvalFlows: {
|
|
1179
|
-
id: string;
|
|
1180
|
-
approvalStage: number;
|
|
1181
|
-
approvalSequence: number;
|
|
1182
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1183
|
-
steps: {
|
|
1184
|
-
id: string;
|
|
1185
|
-
order: number;
|
|
1186
|
-
approver: {
|
|
1187
|
-
employeeId: string;
|
|
1188
|
-
name: string;
|
|
1189
|
-
email: string;
|
|
1190
|
-
};
|
|
1191
|
-
approverRole?: string | undefined;
|
|
1192
|
-
actualApprover?: {
|
|
1193
|
-
employeeId: string;
|
|
1194
|
-
name: string;
|
|
1195
|
-
email: string;
|
|
1196
|
-
} | undefined;
|
|
1197
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1198
|
-
resultDate?: Date | undefined;
|
|
1199
|
-
resultComment?: string | undefined;
|
|
1200
|
-
}[];
|
|
1201
|
-
batchSequence?: number | undefined;
|
|
1202
|
-
isActive?: boolean | undefined;
|
|
1203
|
-
}[];
|
|
1204
|
-
currentApprovers: {
|
|
1205
|
-
employeeId: string;
|
|
1206
|
-
name: string;
|
|
1207
|
-
email: string;
|
|
1208
|
-
}[];
|
|
1209
|
-
number?: string | undefined;
|
|
1210
|
-
type?: "Single" | "Batch" | undefined;
|
|
1211
|
-
}>, Promise<{
|
|
1212
|
-
id: string;
|
|
1213
|
-
applicationName: string;
|
|
1214
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1215
|
-
emailBody: string;
|
|
1216
|
-
created: Date;
|
|
1217
|
-
createdBy: {
|
|
1218
|
-
employeeId: string;
|
|
1219
|
-
name: string;
|
|
1220
|
-
email: string;
|
|
1221
|
-
};
|
|
1222
|
-
updated: Date;
|
|
1223
|
-
updatedBy: {
|
|
1224
|
-
employeeId: string;
|
|
1225
|
-
name: string;
|
|
1226
|
-
email: string;
|
|
1227
|
-
};
|
|
1228
|
-
approvalFlows: {
|
|
1229
|
-
id: string;
|
|
1230
|
-
approvalStage: number;
|
|
1231
|
-
approvalSequence: number;
|
|
1232
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1233
|
-
steps: {
|
|
1234
|
-
id: string;
|
|
1235
|
-
order: number;
|
|
1236
|
-
approver: {
|
|
1237
|
-
employeeId: string;
|
|
1238
|
-
name: string;
|
|
1239
|
-
email: string;
|
|
1240
|
-
};
|
|
1241
|
-
approverRole?: string | undefined;
|
|
1242
|
-
actualApprover?: {
|
|
1243
|
-
employeeId: string;
|
|
1244
|
-
name: string;
|
|
1245
|
-
email: string;
|
|
1246
|
-
} | undefined;
|
|
1247
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1248
|
-
resultDate?: Date | undefined;
|
|
1249
|
-
resultComment?: string | undefined;
|
|
1250
|
-
}[];
|
|
1251
|
-
batchSequence?: number | undefined;
|
|
1252
|
-
isActive?: boolean | undefined;
|
|
1253
|
-
}[];
|
|
1254
|
-
currentApprovers: {
|
|
1255
|
-
employeeId: string;
|
|
1256
|
-
name: string;
|
|
1257
|
-
email: string;
|
|
1258
|
-
}[];
|
|
1259
|
-
number?: string | undefined;
|
|
1260
|
-
type?: "Single" | "Batch" | undefined;
|
|
1261
|
-
}>>;
|
|
1262
|
-
declare const withdrawApproval: _tanstack_start_client_core.IsomorphicFn<[data: {
|
|
1263
|
-
id: string;
|
|
1264
|
-
comment: string;
|
|
1265
|
-
emailBody: string;
|
|
1266
|
-
}], Promise<void>, Promise<void>>;
|
|
1267
|
-
declare const cancelApproval: _tanstack_start_client_core.IsomorphicFn<[data: {
|
|
1268
|
-
id: string;
|
|
1269
|
-
comment: string;
|
|
1270
|
-
emailBody: string;
|
|
1271
|
-
}], Promise<void>, Promise<void>>;
|
|
1272
|
-
|
|
1273
|
-
type UseGetApprovalsOptions = Omit<DefinedInitialDataOptions<Array<Approval>>, "queryKey" | "queryFn" | "initialData">;
|
|
1274
|
-
type UseGetApprovalOptions = Omit<DefinedInitialDataOptions<Approval>, "queryKey" | "queryFn" | "initialData">;
|
|
1275
|
-
type UseCreateApprovalOptions = Omit<UseMutationOptions<Approval, Error, CreateApproval>, "mutationFn" | "onSettled">;
|
|
1276
|
-
type UseApproveApprovalOptions = Omit<UseMutationOptions<Approval, Error, ApproveApproval>, "mutationFn" | "onSettled">;
|
|
1277
|
-
type UseResubmitApprovalOptions = Omit<UseMutationOptions<Approval, Error, ResubmitApproval>, "mutationFn" | "onSettled">;
|
|
1278
|
-
type UseWithdrawApprovalOptions = Omit<UseMutationOptions<void, Error, WithdrawApproval>, "mutationFn" | "onSettled">;
|
|
1279
|
-
type UseCancelApprovalOptions = Omit<UseMutationOptions<void, Error, CancelApproval>, "mutationFn" | "onSettled">;
|
|
1280
|
-
declare const useGetApprovals: (params?: GetApprovalsParams, options?: UseGetApprovalsOptions) => _tanstack_react_query.UseQueryResult<{
|
|
1281
|
-
id: string;
|
|
1282
|
-
applicationName: string;
|
|
1283
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1284
|
-
emailBody: string;
|
|
1285
|
-
created: Date;
|
|
1286
|
-
createdBy: {
|
|
1287
|
-
employeeId: string;
|
|
1288
|
-
name: string;
|
|
1289
|
-
email: string;
|
|
1290
|
-
};
|
|
1291
|
-
updated: Date;
|
|
1292
|
-
updatedBy: {
|
|
1293
|
-
employeeId: string;
|
|
1294
|
-
name: string;
|
|
1295
|
-
email: string;
|
|
1296
|
-
};
|
|
1297
|
-
approvalFlows: {
|
|
1298
|
-
id: string;
|
|
1299
|
-
approvalStage: number;
|
|
1300
|
-
approvalSequence: number;
|
|
1301
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1302
|
-
steps: {
|
|
1303
|
-
id: string;
|
|
1304
|
-
order: number;
|
|
1305
|
-
approver: {
|
|
1306
|
-
employeeId: string;
|
|
1307
|
-
name: string;
|
|
1308
|
-
email: string;
|
|
1309
|
-
};
|
|
1310
|
-
approverRole?: string | undefined;
|
|
1311
|
-
actualApprover?: {
|
|
1312
|
-
employeeId: string;
|
|
1313
|
-
name: string;
|
|
1314
|
-
email: string;
|
|
1315
|
-
} | undefined;
|
|
1316
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1317
|
-
resultDate?: Date | undefined;
|
|
1318
|
-
resultComment?: string | undefined;
|
|
1319
|
-
}[];
|
|
1320
|
-
batchSequence?: number | undefined;
|
|
1321
|
-
isActive?: boolean | undefined;
|
|
1322
|
-
}[];
|
|
1323
|
-
currentApprovers: {
|
|
1324
|
-
employeeId: string;
|
|
1325
|
-
name: string;
|
|
1326
|
-
email: string;
|
|
1327
|
-
}[];
|
|
1328
|
-
number?: string | undefined;
|
|
1329
|
-
type?: "Single" | "Batch" | undefined;
|
|
1330
|
-
}[], Error>;
|
|
1331
|
-
declare const useGetApproval: (id: string, options?: UseGetApprovalOptions) => _tanstack_react_query.UseQueryResult<{
|
|
1332
|
-
id: string;
|
|
1333
|
-
applicationName: string;
|
|
1334
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1335
|
-
emailBody: string;
|
|
1336
|
-
created: Date;
|
|
1337
|
-
createdBy: {
|
|
1338
|
-
employeeId: string;
|
|
1339
|
-
name: string;
|
|
1340
|
-
email: string;
|
|
1341
|
-
};
|
|
1342
|
-
updated: Date;
|
|
1343
|
-
updatedBy: {
|
|
1344
|
-
employeeId: string;
|
|
1345
|
-
name: string;
|
|
1346
|
-
email: string;
|
|
1347
|
-
};
|
|
1348
|
-
approvalFlows: {
|
|
1349
|
-
id: string;
|
|
1350
|
-
approvalStage: number;
|
|
1351
|
-
approvalSequence: number;
|
|
1352
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1353
|
-
steps: {
|
|
1354
|
-
id: string;
|
|
1355
|
-
order: number;
|
|
1356
|
-
approver: {
|
|
1357
|
-
employeeId: string;
|
|
1358
|
-
name: string;
|
|
1359
|
-
email: string;
|
|
1360
|
-
};
|
|
1361
|
-
approverRole?: string | undefined;
|
|
1362
|
-
actualApprover?: {
|
|
1363
|
-
employeeId: string;
|
|
1364
|
-
name: string;
|
|
1365
|
-
email: string;
|
|
1366
|
-
} | undefined;
|
|
1367
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1368
|
-
resultDate?: Date | undefined;
|
|
1369
|
-
resultComment?: string | undefined;
|
|
1370
|
-
}[];
|
|
1371
|
-
batchSequence?: number | undefined;
|
|
1372
|
-
isActive?: boolean | undefined;
|
|
1373
|
-
}[];
|
|
1374
|
-
currentApprovers: {
|
|
1375
|
-
employeeId: string;
|
|
1376
|
-
name: string;
|
|
1377
|
-
email: string;
|
|
1378
|
-
}[];
|
|
1379
|
-
number?: string | undefined;
|
|
1380
|
-
type?: "Single" | "Batch" | undefined;
|
|
1381
|
-
}, Error>;
|
|
1382
|
-
declare const useCreateApproval: (options?: UseCreateApprovalOptions) => _tanstack_react_query.UseMutationResult<{
|
|
1383
|
-
id: string;
|
|
1384
|
-
applicationName: string;
|
|
1385
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1386
|
-
emailBody: string;
|
|
1387
|
-
created: Date;
|
|
1388
|
-
createdBy: {
|
|
1389
|
-
employeeId: string;
|
|
1390
|
-
name: string;
|
|
1391
|
-
email: string;
|
|
1392
|
-
};
|
|
1393
|
-
updated: Date;
|
|
1394
|
-
updatedBy: {
|
|
1395
|
-
employeeId: string;
|
|
1396
|
-
name: string;
|
|
1397
|
-
email: string;
|
|
1398
|
-
};
|
|
1399
|
-
approvalFlows: {
|
|
1400
|
-
id: string;
|
|
1401
|
-
approvalStage: number;
|
|
1402
|
-
approvalSequence: number;
|
|
1403
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1404
|
-
steps: {
|
|
1405
|
-
id: string;
|
|
1406
|
-
order: number;
|
|
1407
|
-
approver: {
|
|
1408
|
-
employeeId: string;
|
|
1409
|
-
name: string;
|
|
1410
|
-
email: string;
|
|
1411
|
-
};
|
|
1412
|
-
approverRole?: string | undefined;
|
|
1413
|
-
actualApprover?: {
|
|
1414
|
-
employeeId: string;
|
|
1415
|
-
name: string;
|
|
1416
|
-
email: string;
|
|
1417
|
-
} | undefined;
|
|
1418
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1419
|
-
resultDate?: Date | undefined;
|
|
1420
|
-
resultComment?: string | undefined;
|
|
1421
|
-
}[];
|
|
1422
|
-
batchSequence?: number | undefined;
|
|
1423
|
-
isActive?: boolean | undefined;
|
|
1424
|
-
}[];
|
|
1425
|
-
currentApprovers: {
|
|
1426
|
-
employeeId: string;
|
|
1427
|
-
name: string;
|
|
1428
|
-
email: string;
|
|
1429
|
-
}[];
|
|
1430
|
-
number?: string | undefined;
|
|
1431
|
-
type?: "Single" | "Batch" | undefined;
|
|
1432
|
-
}, Error, {
|
|
1433
|
-
id: string;
|
|
1434
|
-
applicationName: string;
|
|
1435
|
-
emailBody: string;
|
|
1436
|
-
approvalFlows: {
|
|
1437
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1438
|
-
approvalStage: number;
|
|
1439
|
-
steps: {
|
|
1440
|
-
approver: {
|
|
1441
|
-
employeeId: string;
|
|
1442
|
-
name: string;
|
|
1443
|
-
email: string;
|
|
1444
|
-
};
|
|
1445
|
-
approverRole?: string | undefined;
|
|
1446
|
-
}[];
|
|
1447
|
-
batchSequence?: number | undefined;
|
|
1448
|
-
}[];
|
|
1449
|
-
number?: string | undefined;
|
|
1450
|
-
type?: "Single" | "Batch" | undefined;
|
|
1451
|
-
}, unknown>;
|
|
1452
|
-
declare const useApproveApproval: (options?: UseApproveApprovalOptions) => _tanstack_react_query.UseMutationResult<{
|
|
1453
|
-
id: string;
|
|
1454
|
-
applicationName: string;
|
|
1455
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1456
|
-
emailBody: string;
|
|
1457
|
-
created: Date;
|
|
1458
|
-
createdBy: {
|
|
1459
|
-
employeeId: string;
|
|
1460
|
-
name: string;
|
|
1461
|
-
email: string;
|
|
1462
|
-
};
|
|
1463
|
-
updated: Date;
|
|
1464
|
-
updatedBy: {
|
|
1465
|
-
employeeId: string;
|
|
1466
|
-
name: string;
|
|
1467
|
-
email: string;
|
|
1468
|
-
};
|
|
1469
|
-
approvalFlows: {
|
|
1470
|
-
id: string;
|
|
1471
|
-
approvalStage: number;
|
|
1472
|
-
approvalSequence: number;
|
|
1473
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1474
|
-
steps: {
|
|
1475
|
-
id: string;
|
|
1476
|
-
order: number;
|
|
1477
|
-
approver: {
|
|
1478
|
-
employeeId: string;
|
|
1479
|
-
name: string;
|
|
1480
|
-
email: string;
|
|
1481
|
-
};
|
|
1482
|
-
approverRole?: string | undefined;
|
|
1483
|
-
actualApprover?: {
|
|
1484
|
-
employeeId: string;
|
|
1485
|
-
name: string;
|
|
1486
|
-
email: string;
|
|
1487
|
-
} | undefined;
|
|
1488
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1489
|
-
resultDate?: Date | undefined;
|
|
1490
|
-
resultComment?: string | undefined;
|
|
1491
|
-
}[];
|
|
1492
|
-
batchSequence?: number | undefined;
|
|
1493
|
-
isActive?: boolean | undefined;
|
|
1494
|
-
}[];
|
|
1495
|
-
currentApprovers: {
|
|
1496
|
-
employeeId: string;
|
|
1497
|
-
name: string;
|
|
1498
|
-
email: string;
|
|
1499
|
-
}[];
|
|
1500
|
-
number?: string | undefined;
|
|
1501
|
-
type?: "Single" | "Batch" | undefined;
|
|
1502
|
-
}, Error, {
|
|
1503
|
-
id: string;
|
|
1504
|
-
result: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled";
|
|
1505
|
-
emailBody: string;
|
|
1506
|
-
resultComment?: string | undefined;
|
|
1507
|
-
}, unknown>;
|
|
1508
|
-
declare const useResubmitApproval: (options?: UseResubmitApprovalOptions) => _tanstack_react_query.UseMutationResult<{
|
|
1509
|
-
id: string;
|
|
1510
|
-
applicationName: string;
|
|
1511
|
-
status: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "PartiallyApproved";
|
|
1512
|
-
emailBody: string;
|
|
1513
|
-
created: Date;
|
|
1514
|
-
createdBy: {
|
|
1515
|
-
employeeId: string;
|
|
1516
|
-
name: string;
|
|
1517
|
-
email: string;
|
|
1518
|
-
};
|
|
1519
|
-
updated: Date;
|
|
1520
|
-
updatedBy: {
|
|
1521
|
-
employeeId: string;
|
|
1522
|
-
name: string;
|
|
1523
|
-
email: string;
|
|
1524
|
-
};
|
|
1525
|
-
approvalFlows: {
|
|
1526
|
-
id: string;
|
|
1527
|
-
approvalStage: number;
|
|
1528
|
-
approvalSequence: number;
|
|
1529
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1530
|
-
steps: {
|
|
1531
|
-
id: string;
|
|
1532
|
-
order: number;
|
|
1533
|
-
approver: {
|
|
1534
|
-
employeeId: string;
|
|
1535
|
-
name: string;
|
|
1536
|
-
email: string;
|
|
1537
|
-
};
|
|
1538
|
-
approverRole?: string | undefined;
|
|
1539
|
-
actualApprover?: {
|
|
1540
|
-
employeeId: string;
|
|
1541
|
-
name: string;
|
|
1542
|
-
email: string;
|
|
1543
|
-
} | undefined;
|
|
1544
|
-
result?: "NotAvailable" | "FutureApproval" | "WaitingForApproval" | "Approved" | "Rejected" | "Skipped" | "Withdrawn" | "Cancelled" | undefined;
|
|
1545
|
-
resultDate?: Date | undefined;
|
|
1546
|
-
resultComment?: string | undefined;
|
|
1547
|
-
}[];
|
|
1548
|
-
batchSequence?: number | undefined;
|
|
1549
|
-
isActive?: boolean | undefined;
|
|
1550
|
-
}[];
|
|
1551
|
-
currentApprovers: {
|
|
1552
|
-
employeeId: string;
|
|
1553
|
-
name: string;
|
|
1554
|
-
email: string;
|
|
1555
|
-
}[];
|
|
1556
|
-
number?: string | undefined;
|
|
1557
|
-
type?: "Single" | "Batch" | undefined;
|
|
1558
|
-
}, Error, {
|
|
1559
|
-
id: string;
|
|
1560
|
-
approvalFlows: {
|
|
1561
|
-
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
|
|
1562
|
-
approvalStage: number;
|
|
1563
|
-
steps: {
|
|
1564
|
-
approver: {
|
|
1565
|
-
employeeId: string;
|
|
1566
|
-
name: string;
|
|
1567
|
-
email: string;
|
|
1568
|
-
};
|
|
1569
|
-
approverRole?: string | undefined;
|
|
1570
|
-
}[];
|
|
1571
|
-
batchSequence?: number | undefined;
|
|
1572
|
-
}[];
|
|
1573
|
-
}, unknown>;
|
|
1574
|
-
declare const useWithdrawApproval: (options?: UseWithdrawApprovalOptions) => _tanstack_react_query.UseMutationResult<void, Error, {
|
|
1575
|
-
id: string;
|
|
1576
|
-
comment: string;
|
|
1577
|
-
emailBody: string;
|
|
1578
|
-
}, unknown>;
|
|
1579
|
-
declare const useCancelApproval: (options?: UseCancelApprovalOptions) => _tanstack_react_query.UseMutationResult<void, Error, {
|
|
1580
|
-
id: string;
|
|
1581
|
-
comment: string;
|
|
1582
|
-
emailBody: string;
|
|
1583
|
-
}, unknown>;
|
|
1584
|
-
|
|
1585
|
-
export { approveApproval, cancelApproval, createApproval, getApproval, getApprovals, resubmitApproval, useApproveApproval, useCancelApproval, useCreateApproval, useDeleteFile, useDeleteFiles, useDownloadFile, useGetApproval, useGetApprovals, useGetFile, useGetFileMetas, useGetFileThumbnail, useGetPeopleSoftActiveEmployees, useGetPeopleSoftCompanyGeneralManager, useGetPeopleSoftDepartmentById, useGetPeopleSoftDepartmentEmployees, useGetPeopleSoftDepartmentManager, useGetPeopleSoftDepartments, useGetPeopleSoftEmployeeById, useGetPeopleSoftEmployeeGeneralManager, useGetPeopleSoftEmployeeManager, useGetPeopleSoftEmployeeSubordinates, useGetPeopleSoftEmployeeSupervisor, useGetPeopleSoftEmployees, useGetPeopleSoftEmployeesSearch, useGetPeopleSoftPreviousEmployeeIds, useOpenFile, useResubmitApproval, useUpdateFileMeta, useUploadFile, useWithdrawApproval, withdrawApproval };
|