thirukalyanamweb/src/api/apiEndpoints.js

72 lines
2.7 KiB
JavaScript

export const API_ENDPOINTS = {
LOGOUT: "logout",
TERMS_AND_POLICIES_PRIVACY: "terms-and-policies",
// registration api's
PERSONAL_DETAILS_MASTER: "personal_details_masters",
CASTE_MASTER: "get_caste_masters",
SUB_CASTE_MASTER: "get_sub_caste_masters",
CITY_MASTER: "get_district_masters",
STAR_MASTER: "get_star_masters",
MOBILE_SEND_OTP: "send_otp",
MOBILE_VERIFY_OTP: "verify_otp",
EDUCATION_DETAILS_MASTER: "educational_details_masters",
EDUCATION_LIST_API: "get_education",
FAMILY_DETAILS_MASTER: "family_details_masters", // family details master api
LIFESTYLE_DETAILS_MASTER: "lifetstyle_details_masters",
PREFERED_PARTNER_DETAILS_MASTER: "prefered_details_masters",
REGISTER_STEP1: "register", // register api
REGISTER_STEP2: "update_educational_details", // educational details updated api
REGSITER_STEP3: "update_family_details", // family details updated api
REGISTER_STEP4: "update_lifestyle_details", // lifestyle details updated api
REGISTER_STEP5: "update_preferred_details", // partner preference details updated api
PREVIEW_DETAILS: "get_preview_details",
REVIEWS: "reviews",
// edit api's autopapulated
EDIT_PERSONAL_DETAILS: "get_personal_details",
EDIT_EDUCATION_DETAILS: "get_educational_details",
EDIT_FAMILY_DETAILS: "get_family_details",
EDIT_LIFESTYLE_DETAILS: "get_lifestyle_details",
EDIT_PREFERED_PARTNER_DETAILS: "get_preferred_details",
// delete api
DELETE_ACCOUNT: "delete_account",
PHONE_NUMBER_VISIBILITY: "get_phone_number_visibility",
UPDATE_PHONE_NUMBER_VISIBILITY: "update_phone_number_visibility",
CHAT_ALERT_NOTIFICATION: "get_chat_alert_notification",
UPDATE_CHAT_ALERT_NOTIFICATION: "update_chat_alert_notification",
PROFILE_PROTECT_API: "get_profile_protection",
UPDATE_PROFILE_PROTECT_API: "update_profile_protection",
MATCH_ALERT: "get_match_alert",
UPDATE_MATCH_ALERT: "update_match_alert",
WHO_CAN_VIEW_MESSAGE: "get_who_can_message_me",
UPDATE_WHO_CAN_VIEW_MESSAGE: "update_who_can_message_me",
CONTACT_US: "get_contact_us",
BE_SAFE_ONLINE: "get_be_safe_online",
NOTIFICATION_LIST: "notification/lists",
NOTIFICATION_COUNT: "notification/un_read_count",
// filter with profiles list api's
PROFILES_FILTER_LIST: "profiles/lists",
PROFILES_FILTER_MASTER: "profiles/filter/masters",
DASHBOARD_API: "dashboard",
HEADER_API: "header_data",
SHORTLIST_API: "shortlist_profile",
BLOCK_PROFILE_LIST: "block_profile_list",
REPORT_PROFILE_LIST: "report_profile_list",
PROFILE_DETAIL: "profiles/detail",
INTEREST_LIST: "interest_lists",
UPDATE_INTEREST_STATUS: "update_interest_status",
CHAT_LIST: "chat/lists",
CHAT_MESSAGES: (id) => `chat/${id}/messages`,
UNREAD_CHAT_COUNT: "chat/un_read_chat_count",
};