36 lines
1.0 KiB
JavaScript
36 lines
1.0 KiB
JavaScript
const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL;
|
|
|
|
//login
|
|
export const GET_USER_TOKEN = BASE_URL + "/dashboard/login";
|
|
//end login
|
|
|
|
//change password
|
|
export const CHANGE_PASSWORD = BASE_URL + "/dashboard/profile/change_password";
|
|
//end change password
|
|
|
|
//user data
|
|
export const GET_USER_ROUTE = BASE_URL + "/dashboard/profile/info";
|
|
//user data
|
|
|
|
//passenger office
|
|
export const GET_PASSENGER_OFFICE =
|
|
BASE_URL + "/dashboard/passenger_office_chief/show";
|
|
|
|
export const CONFIRM_PASSENGER_OFFICE =
|
|
BASE_URL + "/dashboard/passenger_office_chief/confirm";
|
|
|
|
export const REJECT_PASSENGER_OFFICE =
|
|
BASE_URL + "/dashboard/passenger_office_chief/reject";
|
|
//passenger office
|
|
|
|
//transportation assistance
|
|
export const GET_TRANSPORTATION_ASSISTANCE =
|
|
BASE_URL + "/dashboard/transportation_asisstants/show";
|
|
|
|
export const CONFIRM_TRANSPORTATION_ASSISTANCE =
|
|
BASE_URL + "/dashboard/transportation_asisstants/confirm";
|
|
|
|
export const REJECT_TRANSPORTATION_ASSISTANCE =
|
|
BASE_URL + "/dashboard/transportation_asisstants/reject";
|
|
//transportation assistance
|