UNPKG

wcz-layout

Version:

3,301 lines 92.6 kB
import { M as UploadFileResult, O as FileSchema, b as GetApprovalsSchema, i as SearchEmployeesSchema, k as GetFileMetasSchema, n as DepartmentIdSchema, r as EmployeeIdSchema, t as CompanyCodeSchema, y as GetApprovalSchema } from "../peoplesoft-BY_75WTS.mjs";
import { t as QueryClientParam } from "../QueryClientParam-JcH0mJWl.mjs";
import z, { z as z$1 } from "zod";
//#region src/data/client/file.d.ts
export declare const fileMetasQueryOptions: (params: z$1.input<typeof GetFileMetasSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  id: string;
  subId: string;
  appName: string;
  fileName: string;
  fileExtension: string;
  fileSize: number;
  mediaSubType: string;
  mediaType: string;
  mimeType: string;
  createdBy: string;
  createdDate: Date;
}[], Error, {
  id: string;
  subId: string;
  appName: string;
  fileName: string;
  fileExtension: string;
  fileSize: number;
  mediaSubType: string;
  mediaType: string;
  mimeType: string;
  createdBy: string;
  createdDate: Date;
}[], string[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    id: string;
    subId: string;
    appName: string;
    fileName: string;
    fileExtension: string;
    fileSize: number;
    mediaSubType: string;
    mediaType: string;
    mimeType: string;
    createdBy: string;
    createdDate: Date;
  }[], string[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
  id: string;
  subId: string;
  appName: string;
  fileName: string;
  fileExtension: string;
  fileSize: number;
  mediaSubType: string;
  mediaType: string;
  mimeType: string;
  createdBy: string;
  createdDate: Date;
}[], Error>;
export declare const fileThumbnailQueryOptions: (params: z$1.input<typeof FileSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<string, Error, string, string[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<string, string[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<string[], string, Error>;
export declare const fileQueryOptions: (params: z$1.input<typeof FileSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<string, Error, string, string[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<string, string[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<string[], string, Error>;
export declare const downloadFileMutationOptions: () => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
  appName: string;
  id: string;
} & {
  fileName: string;
  fileExtension: string;
}, unknown>, "mutationKey">;
export declare const openFileMutationOptions: ({ target }: {
  target: {
    current: Window | null;
  };
}) => Omit<import("@tanstack/react-query").UseMutationOptions<string, Error, {
  appName: string;
  id: string;
}, unknown>, "mutationKey">;
export declare const updateFileMetaMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
  id: string;
  subId: string;
  appName: string;
  fileExtension: string;
  fileSize: number;
  mediaSubType: string;
  mediaType: string;
  mimeType: string;
  createdBy: string;
  createdDate: Date;
  fileName: string;
}, unknown>, "mutationKey">;
export declare const deleteFileMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
  appName: string;
  id: string;
}, unknown>, "mutationKey">;
export declare const batchDeleteFilesMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
  appName: string;
  subId: string;
}, unknown>, "mutationKey">;
export declare const uploadFileMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<UploadFileResult, Error, {
  id?: string | undefined;
  appName: string;
  subId: string;
  file: File;
} & {
  setProgress?: (progress: number) => void;
}, unknown>, "mutationKey">;
//#endregion
//#region src/data/client/approval.d.ts
export declare const approvalsQueryOptions: (params: z$1.input<typeof GetApprovalsSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  id: string;
  number?: string | undefined;
  applicationName: string;
  type?: "Batch" | "Single" | undefined;
  status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
  created: Date;
  createdBy: {
    employeeId: string;
    name: string;
    email: string;
  };
  updated?: Date | undefined;
  updatedBy?: {
    employeeId: string;
    name: string;
    email: string;
  } | undefined;
  approvalFlows: {
    id: string;
    approvalStage: number;
    batchSequence?: number | undefined;
    approvalSequence: number;
    stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
    steps: {
      id: string;
      order: number;
      approverRole?: string | undefined;
      approver: {
        employeeId: string;
        name: string;
        email: string;
      };
      actualApprover?: {
        employeeId: string;
        name: string;
        email: string;
      } | undefined;
      result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
      resultDate?: Date | undefined;
      resultComment?: string | undefined;
    }[];
    isActive?: boolean | undefined;
  }[];
  currentApprovers: {
    employeeId: string;
    name: string;
    email: string;
  }[];
  coRequestors?: {
    id: string;
    principal: {
      role: string;
      email: string;
    } | {
      employeeId: string;
      name: string;
      email: string;
    };
    permissions: {
      withdraw?: boolean | undefined;
      cancel?: boolean | undefined;
    };
  }[] | undefined;
}[], Error, {
  id: string;
  number?: string | undefined;
  applicationName: string;
  type?: "Batch" | "Single" | undefined;
  status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
  created: Date;
  createdBy: {
    employeeId: string;
    name: string;
    email: string;
  };
  updated?: Date | undefined;
  updatedBy?: {
    employeeId: string;
    name: string;
    email: string;
  } | undefined;
  approvalFlows: {
    id: string;
    approvalStage: number;
    batchSequence?: number | undefined;
    approvalSequence: number;
    stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
    steps: {
      id: string;
      order: number;
      approverRole?: string | undefined;
      approver: {
        employeeId: string;
        name: string;
        email: string;
      };
      actualApprover?: {
        employeeId: string;
        name: string;
        email: string;
      } | undefined;
      result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
      resultDate?: Date | undefined;
      resultComment?: string | undefined;
    }[];
    isActive?: boolean | undefined;
  }[];
  currentApprovers: {
    employeeId: string;
    name: string;
    email: string;
  }[];
  coRequestors?: {
    id: string;
    principal: {
      role: string;
      email: string;
    } | {
      employeeId: string;
      name: string;
      email: string;
    };
    permissions: {
      withdraw?: boolean | undefined;
      cancel?: boolean | undefined;
    };
  }[] | undefined;
}[], (string | {
  appName: string;
  status?: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn" | undefined;
  approverEmployeeId?: string | undefined;
  stepResult?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
})[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    id: string;
    number?: string | undefined;
    applicationName: string;
    type?: "Batch" | "Single" | undefined;
    status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
    created: Date;
    createdBy: {
      employeeId: string;
      name: string;
      email: string;
    };
    updated?: Date | undefined;
    updatedBy?: {
      employeeId: string;
      name: string;
      email: string;
    } | undefined;
    approvalFlows: {
      id: string;
      approvalStage: number;
      batchSequence?: number | undefined;
      approvalSequence: number;
      stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
      steps: {
        id: string;
        order: number;
        approverRole?: string | undefined;
        approver: {
          employeeId: string;
          name: string;
          email: string;
        };
        actualApprover?: {
          employeeId: string;
          name: string;
          email: string;
        } | undefined;
        result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
        resultDate?: Date | undefined;
        resultComment?: string | undefined;
      }[];
      isActive?: boolean | undefined;
    }[];
    currentApprovers: {
      employeeId: string;
      name: string;
      email: string;
    }[];
    coRequestors?: {
      id: string;
      principal: {
        role: string;
        email: string;
      } | {
        employeeId: string;
        name: string;
        email: string;
      };
      permissions: {
        withdraw?: boolean | undefined;
        cancel?: boolean | undefined;
      };
    }[] | undefined;
  }[], (string | {
    appName: string;
    status?: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn" | undefined;
    approverEmployeeId?: string | undefined;
    stepResult?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
  })[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
  appName: string;
  status?: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn" | undefined;
  approverEmployeeId?: string | undefined;
  stepResult?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
})[], {
  id: string;
  number?: string | undefined;
  applicationName: string;
  type?: "Batch" | "Single" | undefined;
  status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
  created: Date;
  createdBy: {
    employeeId: string;
    name: string;
    email: string;
  };
  updated?: Date | undefined;
  updatedBy?: {
    employeeId: string;
    name: string;
    email: string;
  } | undefined;
  approvalFlows: {
    id: string;
    approvalStage: number;
    batchSequence?: number | undefined;
    approvalSequence: number;
    stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
    steps: {
      id: string;
      order: number;
      approverRole?: string | undefined;
      approver: {
        employeeId: string;
        name: string;
        email: string;
      };
      actualApprover?: {
        employeeId: string;
        name: string;
        email: string;
      } | undefined;
      result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
      resultDate?: Date | undefined;
      resultComment?: string | undefined;
    }[];
    isActive?: boolean | undefined;
  }[];
  currentApprovers: {
    employeeId: string;
    name: string;
    email: string;
  }[];
  coRequestors?: {
    id: string;
    principal: {
      role: string;
      email: string;
    } | {
      employeeId: string;
      name: string;
      email: string;
    };
    permissions: {
      withdraw?: boolean | undefined;
      cancel?: boolean | undefined;
    };
  }[] | undefined;
}[], Error>;
export declare const approvalQueryOptions: (params: z$1.input<typeof GetApprovalSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  id: string;
  number?: string | undefined;
  applicationName: string;
  type?: "Batch" | "Single" | undefined;
  status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
  created: Date;
  createdBy: {
    employeeId: string;
    name: string;
    email: string;
  };
  updated?: Date | undefined;
  updatedBy?: {
    employeeId: string;
    name: string;
    email: string;
  } | undefined;
  approvalFlows: {
    id: string;
    approvalStage: number;
    batchSequence?: number | undefined;
    approvalSequence: number;
    stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
    steps: {
      id: string;
      order: number;
      approverRole?: string | undefined;
      approver: {
        employeeId: string;
        name: string;
        email: string;
      };
      actualApprover?: {
        employeeId: string;
        name: string;
        email: string;
      } | undefined;
      result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
      resultDate?: Date | undefined;
      resultComment?: string | undefined;
    }[];
    isActive?: boolean | undefined;
  }[];
  currentApprovers: {
    employeeId: string;
    name: string;
    email: string;
  }[];
  coRequestors?: {
    id: string;
    principal: {
      role: string;
      email: string;
    } | {
      employeeId: string;
      name: string;
      email: string;
    };
    permissions: {
      withdraw?: boolean | undefined;
      cancel?: boolean | undefined;
    };
  }[] | undefined;
}, Error, {
  id: string;
  number?: string | undefined;
  applicationName: string;
  type?: "Batch" | "Single" | undefined;
  status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
  created: Date;
  createdBy: {
    employeeId: string;
    name: string;
    email: string;
  };
  updated?: Date | undefined;
  updatedBy?: {
    employeeId: string;
    name: string;
    email: string;
  } | undefined;
  approvalFlows: {
    id: string;
    approvalStage: number;
    batchSequence?: number | undefined;
    approvalSequence: number;
    stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
    steps: {
      id: string;
      order: number;
      approverRole?: string | undefined;
      approver: {
        employeeId: string;
        name: string;
        email: string;
      };
      actualApprover?: {
        employeeId: string;
        name: string;
        email: string;
      } | undefined;
      result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
      resultDate?: Date | undefined;
      resultComment?: string | undefined;
    }[];
    isActive?: boolean | undefined;
  }[];
  currentApprovers: {
    employeeId: string;
    name: string;
    email: string;
  }[];
  coRequestors?: {
    id: string;
    principal: {
      role: string;
      email: string;
    } | {
      employeeId: string;
      name: string;
      email: string;
    };
    permissions: {
      withdraw?: boolean | undefined;
      cancel?: boolean | undefined;
    };
  }[] | undefined;
}, (string | {
  id: string;
})[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    id: string;
    number?: string | undefined;
    applicationName: string;
    type?: "Batch" | "Single" | undefined;
    status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
    created: Date;
    createdBy: {
      employeeId: string;
      name: string;
      email: string;
    };
    updated?: Date | undefined;
    updatedBy?: {
      employeeId: string;
      name: string;
      email: string;
    } | undefined;
    approvalFlows: {
      id: string;
      approvalStage: number;
      batchSequence?: number | undefined;
      approvalSequence: number;
      stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
      steps: {
        id: string;
        order: number;
        approverRole?: string | undefined;
        approver: {
          employeeId: string;
          name: string;
          email: string;
        };
        actualApprover?: {
          employeeId: string;
          name: string;
          email: string;
        } | undefined;
        result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
        resultDate?: Date | undefined;
        resultComment?: string | undefined;
      }[];
      isActive?: boolean | undefined;
    }[];
    currentApprovers: {
      employeeId: string;
      name: string;
      email: string;
    }[];
    coRequestors?: {
      id: string;
      principal: {
        role: string;
        email: string;
      } | {
        employeeId: string;
        name: string;
        email: string;
      };
      permissions: {
        withdraw?: boolean | undefined;
        cancel?: boolean | undefined;
      };
    }[] | undefined;
  }, (string | {
    id: string;
  })[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
  id: string;
})[], {
  id: string;
  number?: string | undefined;
  applicationName: string;
  type?: "Batch" | "Single" | undefined;
  status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
  created: Date;
  createdBy: {
    employeeId: string;
    name: string;
    email: string;
  };
  updated?: Date | undefined;
  updatedBy?: {
    employeeId: string;
    name: string;
    email: string;
  } | undefined;
  approvalFlows: {
    id: string;
    approvalStage: number;
    batchSequence?: number | undefined;
    approvalSequence: number;
    stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
    steps: {
      id: string;
      order: number;
      approverRole?: string | undefined;
      approver: {
        employeeId: string;
        name: string;
        email: string;
      };
      actualApprover?: {
        employeeId: string;
        name: string;
        email: string;
      } | undefined;
      result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
      resultDate?: Date | undefined;
      resultComment?: string | undefined;
    }[];
    isActive?: boolean | undefined;
  }[];
  currentApprovers: {
    employeeId: string;
    name: string;
    email: string;
  }[];
  coRequestors?: {
    id: string;
    principal: {
      role: string;
      email: string;
    } | {
      employeeId: string;
      name: string;
      email: string;
    };
    permissions: {
      withdraw?: boolean | undefined;
      cancel?: boolean | undefined;
    };
  }[] | undefined;
}, Error>;
export declare const createApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
  id: string;
  number?: string | undefined;
  applicationName: string;
  type?: "Batch" | "Single" | undefined;
  status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
  created: Date;
  createdBy: {
    employeeId: string;
    name: string;
    email: string;
  };
  updated?: Date | undefined;
  updatedBy?: {
    employeeId: string;
    name: string;
    email: string;
  } | undefined;
  approvalFlows: {
    id: string;
    approvalStage: number;
    batchSequence?: number | undefined;
    approvalSequence: number;
    stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
    steps: {
      id: string;
      order: number;
      approverRole?: string | undefined;
      approver: {
        employeeId: string;
        name: string;
        email: string;
      };
      actualApprover?: {
        employeeId: string;
        name: string;
        email: string;
      } | undefined;
      result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
      resultDate?: Date | undefined;
      resultComment?: string | undefined;
    }[];
    isActive?: boolean | undefined;
  }[];
  currentApprovers: {
    employeeId: string;
    name: string;
    email: string;
  }[];
  coRequestors?: {
    id: string;
    principal: {
      role: string;
      email: string;
    } | {
      employeeId: string;
      name: string;
      email: string;
    };
    permissions: {
      withdraw?: boolean | undefined;
      cancel?: boolean | undefined;
    };
  }[] | undefined;
}, Error, {
  id: string;
  number?: string | undefined;
  applicationName: string;
  type?: "Batch" | "Single" | undefined;
  status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
  emailBody: string;
  hqApprovalRequest?: {
    header?: {
      serviceId?: string | undefined;
      authorizationCode?: string | undefined;
      dataCreatedTime?: string | undefined;
      characterEnable?: boolean | undefined;
    } | undefined;
    formData?: {
      systemId?: string | undefined;
      formType?: string | undefined;
      formId?: string | undefined;
      stepName?: string | undefined;
      userId?: string | undefined;
      title?: string | undefined;
      subject?: string | undefined;
      summary?: {
        page: {
          section: {
            row: {
              col: {
                title?: string | undefined;
                text?: string | undefined;
                textColor?: string | undefined;
                textSize?: string | undefined;
              }[];
            }[];
            title?: string | undefined;
            type?: string | undefined;
            text?: string | undefined;
          }[];
        }[];
      } | undefined;
      messageId?: string | undefined;
      attachList?: string | undefined;
      chkResult?: string | undefined;
      apprSummary?: string | undefined;
      approvalComment?: string | undefined;
    } | undefined;
  } | undefined;
  approvalFlows: {
    approvalStage: number;
    batchSequence?: number | undefined;
    stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
    steps: {
      approverRole?: string | undefined;
      approver: {
        employeeId: string;
        name: string;
        email: string;
      };
    }[];
  }[];
  coRequestors?: {
    id: string;
    principal: {
      role: string;
      email: string;
    } | {
      employeeId: string;
      name: string;
      email: string;
    };
    permissions: {
      withdraw?: boolean | undefined;
      cancel?: boolean | undefined;
    };
  }[] | undefined;
}, unknown>, "mutationKey">;
export declare const approveApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
  id: string;
  number?: string | undefined;
  applicationName: string;
  type?: "Batch" | "Single" | undefined;
  status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
  created: Date;
  createdBy: {
    employeeId: string;
    name: string;
    email: string;
  };
  updated?: Date | undefined;
  updatedBy?: {
    employeeId: string;
    name: string;
    email: string;
  } | undefined;
  approvalFlows: {
    id: string;
    approvalStage: number;
    batchSequence?: number | undefined;
    approvalSequence: number;
    stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
    steps: {
      id: string;
      order: number;
      approverRole?: string | undefined;
      approver: {
        employeeId: string;
        name: string;
        email: string;
      };
      actualApprover?: {
        employeeId: string;
        name: string;
        email: string;
      } | undefined;
      result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
      resultDate?: Date | undefined;
      resultComment?: string | undefined;
    }[];
    isActive?: boolean | undefined;
  }[];
  currentApprovers: {
    employeeId: string;
    name: string;
    email: string;
  }[];
  coRequestors?: {
    id: string;
    principal: {
      role: string;
      email: string;
    } | {
      employeeId: string;
      name: string;
      email: string;
    };
    permissions: {
      withdraw?: boolean | undefined;
      cancel?: boolean | undefined;
    };
  }[] | undefined;
}, Error, {
  id: string;
  result: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn";
  resultComment?: string | undefined;
  emailBody: string;
}, unknown>, "mutationKey">;
export declare const resubmitApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<{
  id: string;
  number?: string | undefined;
  applicationName: string;
  type?: "Batch" | "Single" | undefined;
  status: "Approved" | "Cancelled" | "PartiallyApproved" | "Rejected" | "WaitingForApproval" | "Withdrawn";
  created: Date;
  createdBy: {
    employeeId: string;
    name: string;
    email: string;
  };
  updated?: Date | undefined;
  updatedBy?: {
    employeeId: string;
    name: string;
    email: string;
  } | undefined;
  approvalFlows: {
    id: string;
    approvalStage: number;
    batchSequence?: number | undefined;
    approvalSequence: number;
    stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
    steps: {
      id: string;
      order: number;
      approverRole?: string | undefined;
      approver: {
        employeeId: string;
        name: string;
        email: string;
      };
      actualApprover?: {
        employeeId: string;
        name: string;
        email: string;
      } | undefined;
      result?: "Approved" | "Cancelled" | "FutureApproval" | "NotAvailable" | "Rejected" | "Skipped" | "WaitingForApproval" | "Withdrawn" | undefined;
      resultDate?: Date | undefined;
      resultComment?: string | undefined;
    }[];
    isActive?: boolean | undefined;
  }[];
  currentApprovers: {
    employeeId: string;
    name: string;
    email: string;
  }[];
  coRequestors?: {
    id: string;
    principal: {
      role: string;
      email: string;
    } | {
      employeeId: string;
      name: string;
      email: string;
    };
    permissions: {
      withdraw?: boolean | undefined;
      cancel?: boolean | undefined;
    };
  }[] | undefined;
}, Error, {
  id: string;
  approvalFlows: {
    approvalStage: number;
    batchSequence?: number | undefined;
    stepApprovalOrder: "OneOfThem" | "Parallel" | "Serial";
    steps: {
      approverRole?: string | undefined;
      approver: {
        employeeId: string;
        name: string;
        email: string;
      };
    }[];
  }[];
}, unknown>, "mutationKey">;
export declare const withdrawApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
  id: string;
  comment: string;
  emailBody: string;
}, unknown>, "mutationKey">;
export declare const cancelApprovalMutationOptions: ({ queryClient }: QueryClientParam) => Omit<import("@tanstack/react-query").UseMutationOptions<void, Error, {
  id: string;
  comment: string;
  emailBody: string;
}, unknown>, "mutationKey">;
//#endregion
//#region src/data/client/peoplesoft.d.ts
export declare const searchEmployees: import("@tanstack/start-client-core").RequiredFetcher<undefined, z.ZodObject<{
  searchTerm: z.ZodString;
}, z.core.$strip>, Promise<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[]>>;
export declare const getEmployees: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[]>>;
export declare const getActiveEmployees: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[]>>;
export declare const getPreviousEmployeeIds: import("@tanstack/start-client-core").OptionalFetcher<undefined, undefined, Promise<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[]>>;
export declare const getDepartments: import("@tanstack/start-client-core").OptionalFetcher<undefined, 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: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  };
}[]>>;
export declare const searchEmployeesQueryOptions: (params: z.infer<typeof SearchEmployeesSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], Error, {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], (string | {
  searchTerm: string;
})[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    badgeId: string;
    category: string;
    categoryGroup: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  }[], (string | {
    searchTerm: string;
  })[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
  searchTerm: string;
})[], {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], Error>;
export declare const employeesQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], Error, {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], string[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    badgeId: string;
    category: string;
    categoryGroup: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  }[], string[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], Error>;
export declare const activeEmployeesQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], Error, {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], string[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    badgeId: string;
    category: string;
    categoryGroup: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  }[], string[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], Error>;
export declare const employeeByEmployeeIdQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, Error, {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, (string | {
  employeeId: string;
})[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    badgeId: string;
    category: string;
    categoryGroup: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  }, (string | {
    employeeId: string;
  })[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
  employeeId: string;
})[], {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, Error>;
export declare const previousEmployeeIdsQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], Error, {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], string[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    badgeId: string;
    category: string;
    categoryGroup: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  }[], string[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], Error>;
export declare const employeeSupervisorQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, Error, {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, (string | {
  employeeId: string;
})[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    badgeId: string;
    category: string;
    categoryGroup: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  }, (string | {
    employeeId: string;
  })[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
  employeeId: string;
})[], {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, Error>;
export declare const employeeSubordinatesQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], Error, {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], (string | {
  employeeId: string;
})[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    badgeId: string;
    category: string;
    categoryGroup: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  }[], (string | {
    employeeId: string;
  })[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
  employeeId: string;
})[], {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], Error>;
export declare const employeeManagerQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, Error, {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, (string | {
  employeeId: string;
})[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    badgeId: string;
    category: string;
    categoryGroup: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  }, (string | {
    employeeId: string;
  })[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
  employeeId: string;
})[], {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, Error>;
export declare const employeeGeneralManagerQueryOptions: (params: z.infer<typeof EmployeeIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, Error, {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, (string | {
  employeeId: string;
})[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    badgeId: string;
    category: string;
    categoryGroup: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  }, (string | {
    employeeId: string;
  })[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
  employeeId: string;
})[], {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, Error>;
export declare const departmentsQueryOptions: () => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  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: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  };
}[], Error, {
  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: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  };
}[], string[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    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: "FD" | "FI" | "IDL";
      companyCode: string;
      contactPhone: string;
      departmentId: string;
      departmentDescription: string;
      emailString: string | null;
      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" | "Leave of Absence" | "Terminated";
      supervisorId: string;
      terminationDate: Date | null;
      terminationFutureDate: Date | null;
      type: string;
      upperDepartmentId: string;
      jobCode: string;
      jobDescription: string;
      terminationReason: string | null;
      supervisorRecordNumber: number;
    };
  }[], string[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
  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: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  };
}[], Error>;
export declare const departmentByIdQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  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: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  };
}, Error, {
  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: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  };
}, (string | {
  departmentId: string;
})[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    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: "FD" | "FI" | "IDL";
      companyCode: string;
      contactPhone: string;
      departmentId: string;
      departmentDescription: string;
      emailString: string | null;
      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" | "Leave of Absence" | "Terminated";
      supervisorId: string;
      terminationDate: Date | null;
      terminationFutureDate: Date | null;
      type: string;
      upperDepartmentId: string;
      jobCode: string;
      jobDescription: string;
      terminationReason: string | null;
      supervisorRecordNumber: number;
    };
  }, (string | {
    departmentId: string;
  })[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
  departmentId: string;
})[], {
  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: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  };
}, Error>;
export declare const departmentManagerQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, Error, {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, (string | {
  departmentId: string;
})[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    badgeId: string;
    category: string;
    categoryGroup: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  }, (string | {
    departmentId: string;
  })[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
  departmentId: string;
})[], {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, Error>;
export declare const departmentEmployeesQueryOptions: (params: z.infer<typeof DepartmentIdSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], Error, {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], (string | {
  departmentId: string;
})[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    badgeId: string;
    category: string;
    categoryGroup: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  }[], (string | {
    departmentId: string;
  })[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
  departmentId: string;
})[], {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}[], Error>;
export declare const companyGeneralManagerQueryOptions: (params: z.infer<typeof CompanyCodeSchema>) => import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, Error, {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, (string | {
  companyCode: string;
})[]>, "queryFn"> & {
  queryFn?: import("@tanstack/query-core").QueryFunction<{
    badgeId: string;
    category: string;
    categoryGroup: "FD" | "FI" | "IDL";
    companyCode: string;
    contactPhone: string;
    departmentId: string;
    departmentDescription: string;
    emailString: string | null;
    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" | "Leave of Absence" | "Terminated";
    supervisorId: string;
    terminationDate: Date | null;
    terminationFutureDate: Date | null;
    type: string;
    upperDepartmentId: string;
    jobCode: string;
    jobDescription: string;
    terminationReason: string | null;
    supervisorRecordNumber: number;
  }, (string | {
    companyCode: string;
  })[], never> | undefined;
} & import("@tanstack/query-core").QueryKeyWithDataTag<(string | {
  companyCode: string;
})[], {
  badgeId: string;
  category: string;
  categoryGroup: "FD" | "FI" | "IDL";
  companyCode: string;
  contactPhone: string;
  departmentId: string;
  departmentDescription: string;
  emailString: string | null;
  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" | "Leave of Absence" | "Terminated";
  supervisorId: string;
  terminationDate: Date | null;
  terminationFutureDate: Date | null;
  type: string;
  upperDepartmentId: string;
  jobCode: string;
  jobDescription: string;
  terminationReason: string | null;
  supervisorRecordNumber: number;
}, Error>;
//#endregion
//# sourceMappingURL=client.d.mts.map