wcz-layout
Version:
1,219 lines (1,218 loc) • 38.4 kB
text/typescript
import { t as User } from "./User-1gKoYJvW.mjs";
import { z as z$1 } from "zod";
//#region src/data/server/file.d.ts
declare const GetFileMetasSchema: z$1.ZodObject<{
appName: z$1.ZodString;
subId: z$1.ZodUUID;
}, z$1.core.$strip>;
declare const FileSchema: z$1.ZodObject<{
appName: z$1.ZodString;
id: z$1.ZodUUID;
}, z$1.core.$strip>;
declare const UpdateFileMetaSchema: z$1.ZodObject<{
id: z$1.ZodUUID;
subId: z$1.ZodUUID;
appName: z$1.ZodString;
fileExtension: z$1.ZodString;
fileSize: z$1.ZodNumber;
mediaSubType: z$1.ZodString;
mediaType: z$1.ZodString;
mimeType: z$1.ZodString;
createdBy: z$1.ZodString;
createdDate: z$1.ZodDate;
fileName: z$1.ZodString;
}, z$1.core.$strip>;
interface UploadFileResult {
id: string;
appName: string;
subId: string;
fileName: string;
}
declare const UploadFileMetaSchema: z$1.ZodObject<{
appName: z$1.ZodString;
subId: z$1.ZodUUID;
file: z$1.ZodCustom<File, File>;
}, z$1.core.$strip>;
declare const getFileMetas: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z$1.ZodObject<{
appName: z$1.ZodString;
subId: z$1.ZodUUID;
}, z$1.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$1.ZodObject<{
appName: z$1.ZodString;
id: z$1.ZodUUID;
}, z$1.core.$strip>, Promise<ReadableStream<any>>>;
declare const getFile: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z$1.ZodObject<{
appName: z$1.ZodString;
id: z$1.ZodUUID;
}, z$1.core.$strip>, Promise<ReadableStream<any>>>;
declare const downloadFile: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z$1.ZodObject<{
appName: z$1.ZodString;
id: z$1.ZodUUID;
}, z$1.core.$strip>, Promise<ReadableStream<any>>>;
declare const updateFileMeta: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z$1.ZodObject<{
id: z$1.ZodUUID;
subId: z$1.ZodUUID;
appName: z$1.ZodString;
fileExtension: z$1.ZodString;
fileSize: z$1.ZodNumber;
mediaSubType: z$1.ZodString;
mediaType: z$1.ZodString;
mimeType: z$1.ZodString;
createdBy: z$1.ZodString;
createdDate: z$1.ZodDate;
fileName: z$1.ZodString;
}, z$1.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$1.ZodObject<{
appName: z$1.ZodString;
id: z$1.ZodUUID;
}, z$1.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$1.ZodObject<{
appName: z$1.ZodString;
subId: z$1.ZodUUID;
}, z$1.core.$strip>, Promise<void>>;
declare const uploadFile: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
user: User;
}>], (data: FormData) => {
appName: string;
subId: string;
file: File;
}, Promise<UploadFileResult>>;
//#endregion
//#region src/data/server/approval.d.ts
declare const GetApprovalsSchema: z$1.ZodObject<{
appName: z$1.ZodString;
status: z$1.ZodOptional<z$1.ZodEnum<{
WaitingForApproval: "WaitingForApproval";
Approved: "Approved";
PartiallyApproved: "PartiallyApproved";
Rejected: "Rejected";
Withdrawn: "Withdrawn";
Cancelled: "Cancelled";
}>>;
approverEmployeeId: z$1.ZodOptional<z$1.ZodString>;
stepResult: z$1.ZodOptional<z$1.ZodEnum<{
WaitingForApproval: "WaitingForApproval";
Approved: "Approved";
Rejected: "Rejected";
Withdrawn: "Withdrawn";
Cancelled: "Cancelled";
NotAvailable: "NotAvailable";
FutureApproval: "FutureApproval";
Skipped: "Skipped";
}>>;
}, z$1.core.$strip>;
declare const GetApprovalSchema: z$1.ZodObject<{
id: z$1.ZodUUID;
}, z$1.core.$strip>;
declare const getApprovals: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z$1.ZodObject<{
appName: z$1.ZodString;
status: z$1.ZodOptional<z$1.ZodEnum<{
WaitingForApproval: "WaitingForApproval";
Approved: "Approved";
PartiallyApproved: "PartiallyApproved";
Rejected: "Rejected";
Withdrawn: "Withdrawn";
Cancelled: "Cancelled";
}>>;
approverEmployeeId: z$1.ZodOptional<z$1.ZodString>;
stepResult: z$1.ZodOptional<z$1.ZodEnum<{
WaitingForApproval: "WaitingForApproval";
Approved: "Approved";
Rejected: "Rejected";
Withdrawn: "Withdrawn";
Cancelled: "Cancelled";
NotAvailable: "NotAvailable";
FutureApproval: "FutureApproval";
Skipped: "Skipped";
}>>;
}, z$1.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;
} | {
employeeId: string;
name: string;
email: string;
};
permissions: {
withdraw?: boolean | undefined;
cancel?: boolean | undefined;
};
}[] | undefined;
}[]>>;
declare const getApproval: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z$1.ZodObject<{
id: z$1.ZodUUID;
}, z$1.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;
} | {
employeeId: string;
name: string;
email: string;
};
permissions: {
withdraw?: boolean | undefined;
cancel?: boolean | undefined;
};
}[] | undefined;
}>>;
declare const createApproval: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z$1.ZodObject<{
number: z$1.ZodOptional<z$1.ZodString>;
type: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodEnum<{
Single: "Single";
Batch: "Batch";
}>>>;
status: z$1.ZodEnum<{
WaitingForApproval: "WaitingForApproval";
Approved: "Approved";
PartiallyApproved: "PartiallyApproved";
Rejected: "Rejected";
Withdrawn: "Withdrawn";
Cancelled: "Cancelled";
}>;
id: z$1.ZodUUID;
applicationName: z$1.ZodString;
emailBody: z$1.ZodString;
hqApprovalRequest: z$1.ZodOptional<z$1.ZodObject<{
header: z$1.ZodOptional<z$1.ZodObject<{
serviceId: z$1.ZodOptional<z$1.ZodString>;
authorizationCode: z$1.ZodOptional<z$1.ZodString>;
dataCreatedTime: z$1.ZodOptional<z$1.ZodString>;
characterEnable: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
}, z$1.core.$strip>>;
formData: z$1.ZodOptional<z$1.ZodObject<{
systemId: z$1.ZodOptional<z$1.ZodString>;
formType: z$1.ZodOptional<z$1.ZodString>;
formId: z$1.ZodOptional<z$1.ZodString>;
stepName: z$1.ZodOptional<z$1.ZodString>;
userId: z$1.ZodOptional<z$1.ZodString>;
title: z$1.ZodOptional<z$1.ZodString>;
subject: z$1.ZodOptional<z$1.ZodString>;
summary: z$1.ZodOptional<z$1.ZodObject<{
page: z$1.ZodArray<z$1.ZodObject<{
section: z$1.ZodArray<z$1.ZodObject<{
row: z$1.ZodArray<z$1.ZodObject<{
col: z$1.ZodArray<z$1.ZodObject<{
title: z$1.ZodOptional<z$1.ZodString>;
text: z$1.ZodOptional<z$1.ZodString>;
textColor: z$1.ZodOptional<z$1.ZodString>;
textSize: z$1.ZodOptional<z$1.ZodString>;
}, z$1.core.$strip>>;
}, z$1.core.$strip>>;
title: z$1.ZodOptional<z$1.ZodString>;
type: z$1.ZodOptional<z$1.ZodString>;
text: z$1.ZodOptional<z$1.ZodString>;
}, z$1.core.$strip>>;
}, z$1.core.$strip>>;
}, z$1.core.$strip>>;
messageId: z$1.ZodOptional<z$1.ZodString>;
attachList: z$1.ZodOptional<z$1.ZodString>;
chkResult: z$1.ZodOptional<z$1.ZodString>;
apprSummary: z$1.ZodOptional<z$1.ZodString>;
approvalComment: z$1.ZodOptional<z$1.ZodString>;
}, z$1.core.$strip>>;
}, z$1.core.$strip>>;
approvalFlows: z$1.ZodArray<z$1.ZodObject<{
stepApprovalOrder: z$1.ZodEnum<{
Serial: "Serial";
Parallel: "Parallel";
OneOfThem: "OneOfThem";
}>;
approvalStage: z$1.ZodNumber;
batchSequence: z$1.ZodOptional<z$1.ZodNumber>;
steps: z$1.ZodArray<z$1.ZodObject<{
approver: z$1.ZodObject<{
employeeId: z$1.ZodString;
name: z$1.ZodString;
email: z$1.ZodEmail;
}, z$1.core.$strip>;
approverRole: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodString>>;
}, z$1.core.$strip>>;
}, z$1.core.$strip>>;
coRequestors: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
id: z$1.ZodUUID;
principal: z$1.ZodUnion<readonly [z$1.ZodObject<{
role: z$1.ZodString;
email: z$1.ZodEmail;
}, z$1.core.$strip>, z$1.ZodObject<{
employeeId: z$1.ZodString;
name: z$1.ZodString;
email: z$1.ZodEmail;
}, z$1.core.$strip>]>;
permissions: z$1.ZodObject<{
withdraw: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
cancel: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
}, z$1.core.$strip>;
}, z$1.core.$strip>>>;
}, z$1.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;
} | {
employeeId: string;
name: string;
email: string;
};
permissions: {
withdraw?: boolean | undefined;
cancel?: boolean | undefined;
};
}[] | undefined;
}>>;
declare const approveApproval: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z$1.ZodObject<{
id: z$1.ZodUUID;
result: z$1.ZodEnum<{
WaitingForApproval: "WaitingForApproval";
Approved: "Approved";
Rejected: "Rejected";
Withdrawn: "Withdrawn";
Cancelled: "Cancelled";
NotAvailable: "NotAvailable";
FutureApproval: "FutureApproval";
Skipped: "Skipped";
}>;
resultComment: z$1.ZodOptional<z$1.ZodString>;
emailBody: z$1.ZodString;
}, z$1.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;
} | {
employeeId: string;
name: string;
email: string;
};
permissions: {
withdraw?: boolean | undefined;
cancel?: boolean | undefined;
};
}[] | undefined;
}>>;
declare const resubmitApproval: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z$1.ZodObject<{
id: z$1.ZodUUID;
approvalFlows: z$1.ZodArray<z$1.ZodObject<{
stepApprovalOrder: z$1.ZodEnum<{
Serial: "Serial";
Parallel: "Parallel";
OneOfThem: "OneOfThem";
}>;
approvalStage: z$1.ZodNumber;
batchSequence: z$1.ZodOptional<z$1.ZodNumber>;
steps: z$1.ZodArray<z$1.ZodObject<{
approver: z$1.ZodObject<{
employeeId: z$1.ZodString;
name: z$1.ZodString;
email: z$1.ZodEmail;
}, z$1.core.$strip>;
approverRole: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodString>>;
}, z$1.core.$strip>>;
}, z$1.core.$strip>>;
}, z$1.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;
} | {
employeeId: string;
name: string;
email: string;
};
permissions: {
withdraw?: boolean | undefined;
cancel?: boolean | undefined;
};
}[] | undefined;
}>>;
declare const withdrawApproval: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z$1.ZodObject<{
id: z$1.ZodUUID;
comment: z$1.ZodString;
emailBody: z$1.ZodString;
}, z$1.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$1.ZodObject<{
id: z$1.ZodUUID;
comment: z$1.ZodString;
emailBody: z$1.ZodString;
}, z$1.core.$strip>, Promise<void>>;
//#endregion
//#region src/data/server/peoplesoft.d.ts
declare const SearchEmployeesSchema: z$1.ZodObject<{
searchTerm: z$1.ZodString;
}, z$1.core.$strip>;
declare const EmployeeIdSchema: z$1.ZodObject<{
employeeId: z$1.ZodString;
}, z$1.core.$strip>;
declare const DepartmentIdSchema: z$1.ZodObject<{
departmentId: z$1.ZodString;
}, z$1.core.$strip>;
declare const CompanyCodeSchema: z$1.ZodObject<{
companyCode: z$1.ZodString;
}, z$1.core.$strip>;
declare const searchEmployees: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").RequestMiddlewareAfterServer<{}, undefined, {
api: import("axios").AxiosInstance;
}>], z$1.ZodObject<{
searchTerm: z$1.ZodString;
}, z$1.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$1.ZodObject<{
employeeId: z$1.ZodString;
}, z$1.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$1.ZodObject<{
employeeId: z$1.ZodString;
}, z$1.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$1.ZodObject<{
employeeId: z$1.ZodString;
}, z$1.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$1.ZodObject<{
employeeId: z$1.ZodString;
}, z$1.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$1.ZodObject<{
employeeId: z$1.ZodString;
}, z$1.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$1.ZodObject<{
departmentId: z$1.ZodString;
}, z$1.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$1.ZodObject<{
departmentId: z$1.ZodString;
}, z$1.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$1.ZodObject<{
departmentId: z$1.ZodString;
}, z$1.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$1.ZodObject<{
companyCode: z$1.ZodString;
}, z$1.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-gKd-Jh5L.d.mts.map