export const API_PATHS = { authentication: { login: "Authentication/Login", changePassword: "Authentication/ChangePassword", forgetPassword: "Authentication/ForgetPassword", verificationCode: "Authentication/VerificationCode", resetPassword: "Authentication/ResetPassword", }, workOrder: { getList: "WorkOrder/GetWorkOrderList", getById: "WorkOrder/GetWorkorderById", create: "WorkOrder/Create", update: "WorkOrder/Update", delete: "WorkOrder/DeleteWorkOrder", addWorkorder: "WorkOrder/AddWorkorder", editWorkorder: "WorkOrder/EditWorkorder", deleteWorkorder: "WorkOrder/DeleteWorkorder", addCommentJson: "WorkOrder/AddCommentJson", changeAssignment: "WorkOrder/ChangeAssignment", updateChecklistItem: "WorkOrder/UpdateChecklistItem", addChecklistItem: "WorkOrder/AddChecklistItem", verifyDispatch: "WorkOrder/VerifyDispatch", addDispatchSignoff: "WorkOrder/AddDispatchSignoff", getDispatch: "WorkOrder/GetDispatch", updateDispatch: "WorkOrder/UpdateDispatch", addDispatchComment: "WorkOrder/AddDispatchComment", dispatchToVendor: "WorkOrder/DispatchToVendor", changeStatus: "WorkOrder/ChangeStatus", board: "workorders/board", boardCreate: "workorders/board", boardSearch: "workorders/board/search", boardPatch: (id: string | number) => `workorders/${id}/board`, boardDetail: (id: string | number) => `workorders/${id}/detail`, comments: (id: string | number) => `workorders/${id}/comments`, commentItem: (workOrderId: string | number, commentId: string | number) => `workorders/${workOrderId}/comments/${commentId}`, media: (id: string | number) => `workorders/${id}/media`, mediaItem: (id: string | number, mediaId: string | number) => `workorders/${id}/media/${mediaId}`, mediaContent: (id: string | number, mediaId: string | number) => `workorders/${id}/media/${mediaId}/content`, completionDoc: (id: string | number) => `workorders/${id}/completion-doc`, uplifts: (id: string | number) => `workorders/${id}/uplifts`, upliftCancel: (workOrderId: string | number, upliftId: string | number) => `workorders/${workOrderId}/uplifts/${upliftId}/cancel`, upliftRevoke: (workOrderId: string | number, upliftId: string | number) => `workorders/${workOrderId}/uplifts/${upliftId}/revoke`, lookupsDispatchers: "workorders/lookups/dispatchers", }, pmSchedule: { getList: "PMSchedule/GetList", getById: "PMSchedule/GetById", save: "PMSchedule/Save", delete: "PMSchedule/Delete", }, followUp: { getList: "FollowUp/GetFollowUpList", getById: "FollowUp/GetById", create: "FollowUp/Create", update: "FollowUp/Update", delete: "FollowUp/Delete", complete: "FollowUp/Complete", cancel: "FollowUp/Cancel", save: "FollowUp/Save", }, employee: { getList: "Employee/GetEmployeeList", getById: "Employee/GetById", create: "Employee/Create", update: "Employee/Update", delete: "Employee/Delete", createEmployee: "Employee/CreateEmployee", updateEmployee: "Employee/UpdateEmployee", deleteEmployee: "Employee/DeleteEmployee", addEmployees: "Employee/AddEmployees", editEmployees: "Employee/EditEmployees", deleteEmployees: "Employee/DeleteEmployees", dropdown: "Employee/Dropdown", }, teamMember: { getList: "User", }, contact: { getList: "Contact/GetContactList", getContacts: "Contact/GetContacts", create: "Contact/Create", update: "Contact/Update", delete: "Contact/Delete", addContacts: "Contact/AddContacts", editContacts: "Contact/EditContacts", deleteContacts: "Contact/DeleteContacts", dropdown: "Contact/Dropdown", getLocations: "Contact/GetLocations", }, location: { getList: "Location/GetLocationList", getById: "Location/GetById", create: "Location/Create", update: "Location/Update", delete: "Location/Delete", deleteLocation: "Location/DeleteLocation", dropdown: "Location/Dropdown", sites: "locations/sites", }, account: { getList: "Account/GetAccountList", create: "Account/Create", update: "Account/Update", delete: "Account/Delete", addAccount: "Account/AddAccount", editAccount: "Account/EditAccount", deleteAccount: "Account/DeleteAccount", addAccounts: "Account/AddAccounts", editAccounts: "Account/EditAccounts", deleteAccounts: "Account/DeleteAccounts", dropdown: "Account/Dropdown", }, asset: { getList: "Asset/GetAssetList", getById: "Asset/GetById", getAssetById: "Asset/GetAssetById", create: "Asset/Create", update: "Asset/Update", delete: "Asset/Delete", deleteAsset: "Asset/DeleteAsset", addAsset: "Asset/AddAsset", editAsset: "Asset/EditAsset", }, vendor: { getList: "Vendor/GetVendorList", getDirectoryList: "Vendor/GetVendorDirectoryList", getById: "Vendor/GetById", create: "Vendor/Create", update: "Vendor/Update", delete: "Vendor/Delete", dropdown: "vendors/Dropdown", facets: "Vendor/facets", deactivationImpact: "deactivation-impact", }, vendorCompanyRoster: { base: "vendor-company-roster", byCompany: (companyId: string | number) => `vendor-company-roster/${companyId}`, }, calendar: { getEventsForCalendar: "Calendar/GetEventsForCalendar", getEventList: "Calendar/GetEventList", getEventById: "Calendar/GetEventById", addEvent: "Calendar/AddEvent", editEvent: "Calendar/EditEvent", deleteEvent: "Calendar/DeleteEvent", }, dashboard: { stats: "Dashboard/Stats", }, dropdownOptions: { byCategory: "DropdownOptions/ByCategory", create: "DropdownOptions/Create", update: "DropdownOptions/Update", delete: "DropdownOptions", }, user: { list: "User", }, taskListTemplate: { list: "TaskListTemplate", }, vendorPortal: { base: "vendor-portal", session: "/session", dispatches: "/dispatches", }, rest: { employees: "employees", contacts: "contacts", accounts: "accounts", locations: "locations", workOrders: "workorders", pmSchedules: "pmschedules", followups: "followups", vendors: "vendors", taskListTemplates: "tasklisttemplates", uplifts: "uplifts", dispatches: "dispatches", }, } as const;