You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.9 KiB
Dart
41 lines
1.9 KiB
Dart
class ApiConsts {
|
|
static const MAX_SMALL_SCREEN = 660;
|
|
|
|
//static String baseUrl = "http://10.200.204.20:2801/"; // Local server
|
|
static String baseUrl = 'https://hmgwebservices.com/';
|
|
|
|
// static String baseUrl = 'https://uat.hmgwebservices.com/';
|
|
static String baseUrlServices = baseUrl + "Services/"; // server
|
|
// static String baseUrlServices = "https://api.cssynapses.com/tangheem/"; // Live server
|
|
static String utilitiesRest = baseUrlServices + "Utilities.svc/REST/";
|
|
static String erpRest = baseUrlServices + "ERP.svc/REST/";
|
|
static String swpRest = baseUrlServices + "SWP.svc/REST/";
|
|
static String user = baseUrlServices + "api_repo/User/";
|
|
static String cocRest = baseUrlServices + "COCWS.svc/REST/";
|
|
|
|
//Chat
|
|
static String chatServerBaseUrl = "https://apiderichat.hmg.com";
|
|
static String chatServerBaseApiUrl = "https://apiderichat.hmg.com/api_repo/";
|
|
static String chatHubConnectionUrl = chatServerBaseUrl + "/ConnectionChatHub";
|
|
static String chatSearchMember = "user/getUserWithStatusAndFavAsync/";
|
|
static String chatRecentUrl = "UserChatHistory/getchathistorybyuserid"; //For a Mem
|
|
static String chatSingleUserHistoryUrl = "UserChatHistory/GetUserChatHistory";
|
|
static String chatMediaImageUploadUrl = "shared/upload";
|
|
static String chatFavoriteUsers = "FavUser/getFavUserById/";
|
|
}
|
|
|
|
class SharedPrefsConsts {
|
|
static String isRememberMe = "remember_me";
|
|
static String username = "doctorId";
|
|
static String password = "password";
|
|
static String logInTokenID = "logInTokenID";
|
|
static String vidaAuthTokenID = "vidaAuthTokenID";
|
|
static String vidaRefreshTokenID = "vidaRefreshTokenID";
|
|
static String authenticationTokenID = "authenticationTokenID";
|
|
static String projectID = "projectID";
|
|
static String clinicId = "clinicId";
|
|
static String lastLoginDate = "lastLoginDate";
|
|
static String lastLoginTime = "lastLoginTime";
|
|
static String memberModel = "memberModel";
|
|
}
|