34 lines
2.2 KiB
JavaScript
34 lines
2.2 KiB
JavaScript
const api = process.env.NEXT_PUBLIC_API_URL;
|
|
|
|
export const GET_USER_ROUTE = api + "/api/v3/profile/info";
|
|
export const LOGOUT_USER_ROUTE = api + "/api/v3/logout";
|
|
export const UPDATE_USER_ROUTE = api + "/api/v3/profile/edit";
|
|
export const CHANGE_USER_PASSWORD = api + "/api/v3/profile/change_password";
|
|
export const GET_LOGIN_ROUTE = api + "/login_dev";
|
|
export const GET_PERMISSIONS_ROUTE = api + "/webapi/user/get-permission";
|
|
export const GET_SIDEBAR_BADGE_ROUTE = api + "/v2/activity_statistics";
|
|
export const REFER_ADMIN_PROVINCE = "/v3/api/fake-submit";
|
|
export const REFER_ADMIN_CITY = "/v3/api/fake-submit";
|
|
export const GET_CITY_LISTS = "/v3/api/fake-cities";
|
|
export const GET_PROVINCE_LISTS = api + "/public/contents/provinces";
|
|
export const GET_PREV_STATE_OPINION = "/v3/api/fake-prev-state-opinion";
|
|
export const SUBMIT_ROAD_SAFETY_FORM = "/v3/api/fake-submit";
|
|
export const CREATE_AZMAYESH = api + "/api/v3/azmayeshes/store";
|
|
export const UPDATE_AZMAYESH = api + "/api/v3/azmayeshes/update";
|
|
export const GET_AZMAYESH_TYPE_LIST = api + "/api/v3/azmayesh_types/list";
|
|
export const GET_AZMAYESH_TYPE_LIST_TABLE = api + "/api/v3/azmayesh_types";
|
|
export const GET_AZMAYESH_LIST = api + "/api/v3/azmayeshes";
|
|
export const DELETE_AZMAYESH = api + "/api/v3/azmayeshes/delete";
|
|
export const GET_AZMAYESH_SAMPLE_FIELDS = api + "/api/v3/azmayesh_types/fields";
|
|
export const ADD_SAMPLE_TO_AZMAYESH = api + "/api/v3/azmayesh_samples/store";
|
|
export const UPDATE_SAMPLE_OF_AZMAYESH = api + "/api/v3/azmayesh_samples/update";
|
|
export const GET_SAMPLE_LIST = api + "/api/v3/azmayesh_samples";
|
|
export const DELETE_SAMPLE_LIST = api + "/api/v3/azmayesh_samples/delete";
|
|
export const DELETE_AZMAYESH_TYPE_LIST = api + "/api/v3/azmayesh_types/delete";
|
|
export const ADD_AZMAYESH_TYPE = api + "/api/v3/azmayesh_types/store";
|
|
export const UPDATE_AZMAYESH_TYPE = api + "/api/v3/azmayesh_types/update";
|
|
export const GET_OPERATOR_LIST = "/v3/api/fake-operator-list";
|
|
export const EXPORT_OPERATOR_LIST = "https://rms.rmto.ir/v2/road_patrols/operator/cartable/report";
|
|
export const GET_SUPERVISOR_LIST = "/v3/api/fake-supervisor-list";
|
|
export const EXPORT_SUPERVISOR_LIST = "https://rms.rmto.ir/v2/road_patrols/supervisor/cartable/report";
|