wcz-layout
Version:
1,150 lines (1,149 loc) • 35.4 kB
text/typescript
import { z } from "zod";
//#region src/data/server/file.d.ts
declare const GetFileMetasSchema: z.ZodObject<{
appName: z.ZodString;
subId: z.ZodUUID;
}, z.core.$strip>;
declare const FileSchema: z.ZodObject<{
appName: z.ZodString;
id: z.ZodUUID;
}, z.core.$strip>;
declare const UpdateFileMetaSchema: z.ZodObject<{
id: z.ZodUUID;
subId: z.ZodUUID;
appName: z.ZodString;
fileExtension: z.ZodString;
fileSize: z.ZodNumber;
mediaSubType: z.ZodString;
mediaType: z.ZodString;
mimeType: z.ZodString;
createdBy: z.ZodString;
createdDate: z.ZodDate;
fileName: z.ZodString;
}, z.core.$strip>;
interface UploadFileResult {
id: string;
appName: string;
subId: string;
fileName: string;
}
declare const UploadFileMetaSchema: z.ZodObject<{
appName: z.ZodString;
subId: z.ZodUUID;
file: z.ZodCustom<File, File>;
}, z.core.$strip>;
declare const getFileMetas: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
appName: z.ZodString;
subId: z.ZodUUID;
}, z.core.$strip>, Promise<{
id: string;
subId: string;
appName: string;
fileName: string;
fileExtension: string;
fileSize: number;
mediaSubType: string;
mediaType: string;
mimeType: string;
createdBy: string;
createdDate: Date;
}[]>>;
declare const getFileThumbnail: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
appName: z.ZodString;
id: z.ZodUUID;
}, z.core.$strip>, Promise<Response>>;
declare const getFile: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
appName: z.ZodString;
id: z.ZodUUID;
}, z.core.$strip>, Promise<Response>>;
declare const downloadFile: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
appName: z.ZodString;
id: z.ZodUUID;
}, z.core.$strip>, Promise<Response>>;
declare const updateFileMeta: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
id: z.ZodUUID;
subId: z.ZodUUID;
appName: z.ZodString;
fileExtension: z.ZodString;
fileSize: z.ZodNumber;
mediaSubType: z.ZodString;
mediaType: z.ZodString;
mimeType: z.ZodString;
createdBy: z.ZodString;
createdDate: z.ZodDate;
fileName: z.ZodString;
}, z.core.$strip>, Promise<void>>;
declare const deleteFile: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
appName: z.ZodString;
id: z.ZodUUID;
}, z.core.$strip>, Promise<void>>;
declare const batchDeleteFiles: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
appName: z.ZodString;
subId: z.ZodUUID;
}, z.core.$strip>, Promise<void>>;
declare const uploadFile: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
appName: z.ZodString;
subId: z.ZodUUID;
file: z.ZodCustom<File, File>;
}, z.core.$strip>, Promise<UploadFileResult>>;
//#endregion
//#region src/data/server/approval.d.ts
declare const GetApprovalsSchema: z.ZodObject<{
appName: z.ZodString;
status: z.ZodOptional<z.ZodEnum<{
WaitingForApproval: "WaitingForApproval";
Approved: "Approved";
PartiallyApproved: "PartiallyApproved";
Rejected: "Rejected";
Withdrawn: "Withdrawn";
Cancelled: "Cancelled";
}>>;
approverEmployeeId: z.ZodOptional<z.ZodString>;
stepResult: z.ZodOptional<z.ZodEnum<{
WaitingForApproval: "WaitingForApproval";
Approved: "Approved";
Rejected: "Rejected";
Withdrawn: "Withdrawn";
Cancelled: "Cancelled";
NotAvailable: "NotAvailable";
FutureApproval: "FutureApproval";
Skipped: "Skipped";
}>>;
}, z.core.$strip>;
declare const GetApprovalSchema: z.ZodObject<{
id: z.ZodUUID;
}, z.core.$strip>;
declare const getApprovals: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
appName: z.ZodString;
status: z.ZodOptional<z.ZodEnum<{
WaitingForApproval: "WaitingForApproval";
Approved: "Approved";
PartiallyApproved: "PartiallyApproved";
Rejected: "Rejected";
Withdrawn: "Withdrawn";
Cancelled: "Cancelled";
}>>;
approverEmployeeId: z.ZodOptional<z.ZodString>;
stepResult: z.ZodOptional<z.ZodEnum<{
WaitingForApproval: "WaitingForApproval";
Approved: "Approved";
Rejected: "Rejected";
Withdrawn: "Withdrawn";
Cancelled: "Cancelled";
NotAvailable: "NotAvailable";
FutureApproval: "FutureApproval";
Skipped: "Skipped";
}>>;
}, z.core.$strip>, Promise<{
id: string;
applicationName: string;
status: "WaitingForApproval" | "Approved" | "PartiallyApproved" | "Rejected" | "Withdrawn" | "Cancelled";
created: Date;
createdBy: {
employeeId: string;
name: string;
email: string;
};
approvalFlows: {
id: string;
approvalStage: number;
approvalSequence: number;
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
steps: {
id: string;
order: number;
approver: {
employeeId: string;
name: string;
email: string;
};
approverRole?: string | undefined;
actualApprover?: {
employeeId: string;
name: string;
email: string;
} | undefined;
result?: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "NotAvailable" | "FutureApproval" | "Skipped" | undefined;
resultDate?: Date | undefined;
resultComment?: string | undefined;
}[];
batchSequence?: number | undefined;
isActive?: boolean | undefined;
}[];
currentApprovers: {
employeeId: string;
name: string;
email: string;
}[];
number?: string | undefined;
type?: "Single" | "Batch" | undefined;
updated?: Date | undefined;
updatedBy?: {
employeeId: string;
name: string;
email: string;
} | undefined;
coRequestors?: {
id: string;
principal: {
role: string;
email?: string | undefined;
} | {
employeeId: string;
name: string;
email?: string | undefined;
};
}[] | undefined;
}[]>>;
declare const getApproval: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
id: z.ZodUUID;
}, z.core.$strip>, Promise<{
id: string;
applicationName: string;
status: "WaitingForApproval" | "Approved" | "PartiallyApproved" | "Rejected" | "Withdrawn" | "Cancelled";
created: Date;
createdBy: {
employeeId: string;
name: string;
email: string;
};
approvalFlows: {
id: string;
approvalStage: number;
approvalSequence: number;
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
steps: {
id: string;
order: number;
approver: {
employeeId: string;
name: string;
email: string;
};
approverRole?: string | undefined;
actualApprover?: {
employeeId: string;
name: string;
email: string;
} | undefined;
result?: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "NotAvailable" | "FutureApproval" | "Skipped" | undefined;
resultDate?: Date | undefined;
resultComment?: string | undefined;
}[];
batchSequence?: number | undefined;
isActive?: boolean | undefined;
}[];
currentApprovers: {
employeeId: string;
name: string;
email: string;
}[];
number?: string | undefined;
type?: "Single" | "Batch" | undefined;
updated?: Date | undefined;
updatedBy?: {
employeeId: string;
name: string;
email: string;
} | undefined;
coRequestors?: {
id: string;
principal: {
role: string;
email?: string | undefined;
} | {
employeeId: string;
name: string;
email?: string | undefined;
};
}[] | undefined;
}>>;
declare const createApproval: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
number: z.ZodOptional<z.ZodString>;
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
Single: "Single";
Batch: "Batch";
}>>>;
status: z.ZodEnum<{
WaitingForApproval: "WaitingForApproval";
Approved: "Approved";
PartiallyApproved: "PartiallyApproved";
Rejected: "Rejected";
Withdrawn: "Withdrawn";
Cancelled: "Cancelled";
}>;
id: z.ZodUUID;
applicationName: z.ZodString;
emailBody: z.ZodString;
approvalFlows: z.ZodArray<z.ZodObject<{
stepApprovalOrder: z.ZodEnum<{
Serial: "Serial";
Parallel: "Parallel";
OneOfThem: "OneOfThem";
}>;
approvalStage: z.ZodNumber;
batchSequence: z.ZodOptional<z.ZodNumber>;
steps: z.ZodArray<z.ZodObject<{
approver: z.ZodObject<{
employeeId: z.ZodString;
name: z.ZodString;
email: z.ZodEmail;
}, z.core.$strip>;
approverRole: z.ZodOptional<z.ZodDefault<z.ZodString>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
coRequestors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
role: z.ZodString;
email: z.ZodOptional<z.ZodEmail>;
}, z.core.$strip>, z.ZodObject<{
employeeId: z.ZodString;
name: z.ZodString;
email: z.ZodOptional<z.ZodEmail>;
}, z.core.$strip>]>>>;
}, z.core.$strip>, Promise<{
id: string;
applicationName: string;
status: "WaitingForApproval" | "Approved" | "PartiallyApproved" | "Rejected" | "Withdrawn" | "Cancelled";
created: Date;
createdBy: {
employeeId: string;
name: string;
email: string;
};
approvalFlows: {
id: string;
approvalStage: number;
approvalSequence: number;
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
steps: {
id: string;
order: number;
approver: {
employeeId: string;
name: string;
email: string;
};
approverRole?: string | undefined;
actualApprover?: {
employeeId: string;
name: string;
email: string;
} | undefined;
result?: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "NotAvailable" | "FutureApproval" | "Skipped" | undefined;
resultDate?: Date | undefined;
resultComment?: string | undefined;
}[];
batchSequence?: number | undefined;
isActive?: boolean | undefined;
}[];
currentApprovers: {
employeeId: string;
name: string;
email: string;
}[];
number?: string | undefined;
type?: "Single" | "Batch" | undefined;
updated?: Date | undefined;
updatedBy?: {
employeeId: string;
name: string;
email: string;
} | undefined;
coRequestors?: {
id: string;
principal: {
role: string;
email?: string | undefined;
} | {
employeeId: string;
name: string;
email?: string | undefined;
};
}[] | undefined;
}>>;
declare const approveApproval: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
id: z.ZodUUID;
result: z.ZodEnum<{
WaitingForApproval: "WaitingForApproval";
Approved: "Approved";
Rejected: "Rejected";
Withdrawn: "Withdrawn";
Cancelled: "Cancelled";
NotAvailable: "NotAvailable";
FutureApproval: "FutureApproval";
Skipped: "Skipped";
}>;
resultComment: z.ZodOptional<z.ZodString>;
emailBody: z.ZodString;
}, z.core.$strip>, Promise<{
id: string;
applicationName: string;
status: "WaitingForApproval" | "Approved" | "PartiallyApproved" | "Rejected" | "Withdrawn" | "Cancelled";
created: Date;
createdBy: {
employeeId: string;
name: string;
email: string;
};
approvalFlows: {
id: string;
approvalStage: number;
approvalSequence: number;
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
steps: {
id: string;
order: number;
approver: {
employeeId: string;
name: string;
email: string;
};
approverRole?: string | undefined;
actualApprover?: {
employeeId: string;
name: string;
email: string;
} | undefined;
result?: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "NotAvailable" | "FutureApproval" | "Skipped" | undefined;
resultDate?: Date | undefined;
resultComment?: string | undefined;
}[];
batchSequence?: number | undefined;
isActive?: boolean | undefined;
}[];
currentApprovers: {
employeeId: string;
name: string;
email: string;
}[];
number?: string | undefined;
type?: "Single" | "Batch" | undefined;
updated?: Date | undefined;
updatedBy?: {
employeeId: string;
name: string;
email: string;
} | undefined;
coRequestors?: {
id: string;
principal: {
role: string;
email?: string | undefined;
} | {
employeeId: string;
name: string;
email?: string | undefined;
};
}[] | undefined;
}>>;
declare const resubmitApproval: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
id: z.ZodUUID;
approvalFlows: z.ZodArray<z.ZodObject<{
stepApprovalOrder: z.ZodEnum<{
Serial: "Serial";
Parallel: "Parallel";
OneOfThem: "OneOfThem";
}>;
approvalStage: z.ZodNumber;
batchSequence: z.ZodOptional<z.ZodNumber>;
steps: z.ZodArray<z.ZodObject<{
approver: z.ZodObject<{
employeeId: z.ZodString;
name: z.ZodString;
email: z.ZodEmail;
}, z.core.$strip>;
approverRole: z.ZodOptional<z.ZodDefault<z.ZodString>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>, Promise<{
id: string;
applicationName: string;
status: "WaitingForApproval" | "Approved" | "PartiallyApproved" | "Rejected" | "Withdrawn" | "Cancelled";
created: Date;
createdBy: {
employeeId: string;
name: string;
email: string;
};
approvalFlows: {
id: string;
approvalStage: number;
approvalSequence: number;
stepApprovalOrder: "Serial" | "Parallel" | "OneOfThem";
steps: {
id: string;
order: number;
approver: {
employeeId: string;
name: string;
email: string;
};
approverRole?: string | undefined;
actualApprover?: {
employeeId: string;
name: string;
email: string;
} | undefined;
result?: "WaitingForApproval" | "Approved" | "Rejected" | "Withdrawn" | "Cancelled" | "NotAvailable" | "FutureApproval" | "Skipped" | undefined;
resultDate?: Date | undefined;
resultComment?: string | undefined;
}[];
batchSequence?: number | undefined;
isActive?: boolean | undefined;
}[];
currentApprovers: {
employeeId: string;
name: string;
email: string;
}[];
number?: string | undefined;
type?: "Single" | "Batch" | undefined;
updated?: Date | undefined;
updatedBy?: {
employeeId: string;
name: string;
email: string;
} | undefined;
coRequestors?: {
id: string;
principal: {
role: string;
email?: string | undefined;
} | {
employeeId: string;
name: string;
email?: string | undefined;
};
}[] | undefined;
}>>;
declare const withdrawApproval: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
id: z.ZodUUID;
comment: z.ZodString;
emailBody: z.ZodString;
}, z.core.$strip>, Promise<void>>;
declare const cancelApproval: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
id: z.ZodUUID;
comment: z.ZodString;
emailBody: z.ZodString;
}, z.core.$strip>, Promise<void>>;
//#endregion
//#region src/data/server/peoplesoft.d.ts
declare const SearchEmployeesSchema: z.ZodObject<{
searchTerm: z.ZodString;
}, z.core.$strip>;
declare const EmployeeIdSchema: z.ZodObject<{
employeeId: z.ZodString;
}, z.core.$strip>;
declare const DepartmentIdSchema: z.ZodObject<{
departmentId: z.ZodString;
}, z.core.$strip>;
declare const CompanyCodeSchema: z.ZodObject<{
companyCode: z.ZodString;
}, z.core.$strip>;
declare const searchEmployees: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
searchTerm: z.ZodString;
}, z.core.$strip>, Promise<{
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
}[]>>;
declare const getEmployees: import("@tanstack/start-client-core").OptionalFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], undefined, Promise<{
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
}[]>>;
declare const getActiveEmployees: import("@tanstack/start-client-core").OptionalFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], undefined, Promise<{
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
}[]>>;
declare const getEmployeeByEmployeeId: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
employeeId: z.ZodString;
}, z.core.$strip>, Promise<{
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
}>>;
declare const getPreviousEmployeeIds: import("@tanstack/start-client-core").OptionalFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], undefined, Promise<{
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
}[]>>;
declare const getEmployeeSupervisor: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
employeeId: z.ZodString;
}, z.core.$strip>, Promise<{
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
}>>;
declare const getEmployeeSubordinates: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
employeeId: z.ZodString;
}, z.core.$strip>, Promise<{
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
}[]>>;
declare const getEmployeeManager: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
employeeId: z.ZodString;
}, z.core.$strip>, Promise<{
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
}>>;
declare const getEmployeeGeneralManager: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
employeeId: z.ZodString;
}, z.core.$strip>, Promise<{
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
}>>;
declare const getDepartments: import("@tanstack/start-client-core").OptionalFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], undefined, Promise<{
departmentId: string;
description: string;
managerId: string;
managerRecordNumber: string;
treeLevel: number;
upperDepartmentId: string;
companyCode: string;
location: string;
salLocation: string;
plantId: string;
manager: {
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
};
}[]>>;
declare const getDepartmentById: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
departmentId: z.ZodString;
}, z.core.$strip>, Promise<{
departmentId: string;
description: string;
managerId: string;
managerRecordNumber: string;
treeLevel: number;
upperDepartmentId: string;
companyCode: string;
location: string;
salLocation: string;
plantId: string;
manager: {
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
};
}>>;
declare const getDepartmentManager: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
departmentId: z.ZodString;
}, z.core.$strip>, Promise<{
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
}>>;
declare const getDepartmentEmployees: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
departmentId: z.ZodString;
}, z.core.$strip>, Promise<{
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
}[]>>;
declare const getCompanyGeneralManager: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z.ZodObject<{
companyCode: z.ZodString;
}, z.core.$strip>, Promise<{
badgeId: string;
category: string;
categoryGroup: "IDL" | "FD" | "FI";
companyCode: string;
contactPhone: string;
departmentId: string;
departmentDescription: string;
emailString: string;
employeeId: string;
extensionNumber: string;
firstName: string;
gender: string;
hiredDate: Date;
lastName: string;
managerId: string;
middleName: string;
name: string;
nameTitleCase: string;
nfcSn: string;
plantId: string;
position: string;
previousEmployeeIds: string | null;
reHiredDate: Date | null;
recordNumber: number;
status: "Active" | "Terminated" | "Leave of Absence";
supervisorId: string;
terminationDate: Date | null;
terminationFutureDate: Date | null;
type: string;
upperDepartmentId: string;
jobCode: string;
jobDescription: string;
terminationReason: string | null;
supervisorRecordNumber: number;
}>>;
//#endregion
export { UpdateFileMetaSchema as A, uploadFile as B, createApproval as C, withdrawApproval as D, resubmitApproval as E, downloadFile as F, getFile as I, getFileMetas as L, UploadFileResult as M, batchDeleteFiles as N, FileSchema as O, deleteFile as P, getFileThumbnail as R, cancelApproval as S, getApprovals as T, getPreviousEmployeeIds as _, getActiveEmployees as a, GetApprovalsSchema as b, getDepartmentEmployees as c, getEmployeeByEmployeeId as d, getEmployeeGeneralManager as f, getEmployees as g, getEmployeeSupervisor as h, SearchEmployeesSchema as i, UploadFileMetaSchema as j, GetFileMetasSchema as k, getDepartmentManager as l, getEmployeeSubordinates as m, DepartmentIdSchema as n, getCompanyGeneralManager as o, getEmployeeManager as p, EmployeeIdSchema as r, getDepartmentById as s, CompanyCodeSchema as t, getDepartments as u, searchEmployees as v, getApproval as w, approveApproval as x, GetApprovalSchema as y, updateFileMeta as z };
//# sourceMappingURL=peoplesoft-Cze2ngGd.d.mts.map