package com.nestedworld.nestedworld.network.http.implementation;

import com.nestedworld.nestedworld.BuildConfig;
import com.nestedworld.nestedworld.network.NetworkConstant;

public final class HttpEndPoint {

    public final static String USER_INVENTORY = USER_INFO + "inventory/";
    public final static String USER_INVENTORY_ITEM_DETAIL = USER_INVENTORY + "{itemId}/";
    //Object related endpoint
    public final static String OBJECT_LIST = "objects/";
    public final static String OBJECT_DETAIL = "objects/{objectId}";
    private final static String API_VERSION = "/v1/";
    private final static String DEV_URL = "http://api-dev.nestedworld.com";
    private final static String PROD_URL = "http://api.nestedworld.com";
    private final static String BASE_URL =
            (BuildConfig.ENVIRONMENT == NetworkConstant.Environement.DEV) ? DEV_URL
                    : (BuildConfig.ENVIRONMENT == NetworkConstant.Environement.PROD) ? PROD_URL
                    : DEV_URL;
    public final static String BASE_END_POINT = BASE_URL + API_VERSION;
    //Monster related endpoint
    private final static String MONSTERS_PREFIX = "monsters";
    public final static String MONSTERS_LIST = MONSTERS_PREFIX;
    public final static String MONSTER_ATTACK = MONSTERS_PREFIX + "/{monsterId}/attacks";
    //Place related endpoint
    private final static String PLACES_PREFIX = "places";
    public final static String PLACES_LIST = PLACES_PREFIX;
    public final static String REGIONS_LIST = PLACES_PREFIX + "/regions";
    //User related endpoint
    private final static String USER_PREFIX = "users/";
    public final static String USER_FRIENDS = USER_PREFIX + "friends/";
    public final static String USER_MONSTERS = USER_PREFIX + "monsters";
    public final static String USER_INFO = USER_PREFIX + "me/";
    //Auth related endpoint
    private final static String AUTH_PREFIX = USER_PREFIX + "auth/";
    public final static String USER_SIGN_IN = AUTH_PREFIX + "login/simple";
    public final static String USER_REGISTER = AUTH_PREFIX + "register";
    public final static String USER_PASSWORD = AUTH_PREFIX + "resetpassword";
    public final static String USER_LOGOUT = AUTH_PREFIX + "logout";

    //Attack related endpoint
    private final static String ATTACK_PREFIX = "attacks/";
    public final static String ATTACK_LIST = ATTACK_PREFIX;

    private HttpEndPoint() {
        //Private constructor for avoiding this class to be construct
    }
}

@@ -205,329 +205,8 @@
 nt %7B
-%0A%0A    public final static String USER_INVENTORY = USER_INFO + %22inventory/%22;%0A    public final static String USER_INVENTORY_ITEM_DETAIL = USER_INVENTORY + %22%7BitemId%7D/%22;%0A    //Object related endpoint%0A    public final static String OBJECT_LIST = %22objects/%22;%0A    public final static String OBJECT_DETAIL = %22objects/%7BobjectId%7D%22;
 %0A   
@@ -252,24 +252,25 @@
 N = %22/v1/%22;%0A
+%0A
     private 
@@ -398,32 +398,33 @@
 stedworld.com%22;%0A
+%0A
     private fina
@@ -661,16 +661,17 @@
 EV_URL;%0A
+%0A
     publ
@@ -734,16 +734,17 @@
 ERSION;%0A
+%0A
     //Mo
@@ -978,24 +978,25 @@
 %7D/attacks%22;%0A
+%0A
     //Place 
@@ -1200,24 +1200,25 @@
 %22/regions%22;%0A
+%0A
     //User r
@@ -1285,24 +1285,88 @@
 = %22users/%22;%0A
+    public final static String USER_INFO = USER_PREFIX + %22me/%22;%0A
     public f
@@ -1532,34 +1532,39 @@
 ring USER_IN
-FO
+VENTORY
  = USER_
 PREFIX + %22me
@@ -1551,32 +1551,258 @@
  = USER_
-PREFIX + %22me/
+INFO + %22inventory/%22;%0A%0A    //Object related endpoint%0A    private final static String OBJECT_PREFIX = %22objects/%22;%0A    public final static String OBJECT_LIST = OBJECT_PREFIX;%0A    public final static String OBJECT_DETAIL = %22objects/%7BobjectId%7D
 %22;%0A
+%0A
     //Au

fix compilation issue