api ulandi

This commit is contained in:
Samandar Turgunboyev
2025-10-25 18:42:01 +05:00
parent 1a08775451
commit 05b752daf2
84 changed files with 11179 additions and 3724 deletions

View File

@@ -1,6 +1,41 @@
const BASE_URL =
import.meta.env.VITE_API_URL || 'https://jsonplaceholder.typicode.com';
import.meta.env.VITE_API_URL || "https://simple-travel.felixits.uz/api/v1/";
const ENDP_POSTS = '/posts/';
const AUTH_LOGIN = "auth/token/phone/";
const GET_ME = "auth/me/";
const GET_ALL_USERS = "dashboard/users/";
const DOWNLOAD_PDF = "get-order-pdf/";
const UPDATE_USER = "/dashboard/users/";
const GET_ALL_AGENCY = "dashboard/tour-agency/";
const GET_ALL_EMPLOYEES = "dashboard/employees/";
const GET_TICKET = "dashboard/dashboard-tickets/";
const HOTEL_BADGE = "dashboard/dashboard-tickets-settings-badge/";
const HOTEL_FEATURES = "dashboard/dashboard-ticket-hotel-feature-type/";
const HOTEL_FEATURES_TYPE = "dashboard/dashboard-ticket-hotel-feature/";
const HOTEL_TARIF = "dashboard/dashboard-tickets-settings-tariff/";
const TOUR_TRANSPORT = "dashboard/dashboard-tickets-settings-transport/";
const HPTEL_TYPES = "dashboard/dashboard-tickets-settings-hotel-type/";
const NEWS = "dashboard/dashboard-post/";
const NEWS_CATEGORY = "dashboard/dashboard-category/";
const HOTEL = "dashboard/dashboard-hotel/";
export { BASE_URL, ENDP_POSTS };
export {
AUTH_LOGIN,
BASE_URL,
DOWNLOAD_PDF,
GET_ALL_AGENCY,
GET_ALL_EMPLOYEES,
GET_ALL_USERS,
GET_ME,
GET_TICKET,
HOTEL,
HOTEL_BADGE,
HOTEL_FEATURES,
HOTEL_FEATURES_TYPE,
HOTEL_TARIF,
HPTEL_TYPES,
NEWS,
NEWS_CATEGORY,
TOUR_TRANSPORT,
UPDATE_USER,
};