|
|
|
|
@ -3,9 +3,9 @@ class URLs {
|
|
|
|
|
|
|
|
|
|
static const String appReleaseBuildNumber = "54";
|
|
|
|
|
|
|
|
|
|
static const host1 = "https://atomsm.hmg.com"; // production url
|
|
|
|
|
// static const host1 = "https://atomsm.hmg.com"; // production url
|
|
|
|
|
// static const host1 = "https://atomsmdev.hmg.com"; // local DEV url
|
|
|
|
|
// static const host1 = "https://atomsmuat.hmg.com"; // local UAT url
|
|
|
|
|
static const host1 = "https://atomsmuat.hmg.com"; // local UAT url
|
|
|
|
|
|
|
|
|
|
static final String _baseUrl = "$_host/mobile"; // host local UAT
|
|
|
|
|
// static final String _baseUrl = "$_host/v2/mobile"; // new V2 apis
|
|
|
|
|
@ -69,6 +69,7 @@ class URLs {
|
|
|
|
|
static get getDepartmentsBySites => "$_baseUrl/Customer/GetDepartmentsBySites"; // post get departments by sites
|
|
|
|
|
static getUserSites(String userId) => "$_baseUrl/Customer/GetSitesForUser?userId=$userId"; // get user's current sites
|
|
|
|
|
static getSitesNotAccessibleForUser(String userId) => "$_baseUrl/Customer/GetSitesNotAccessibleForUser?userId=$userId"; // get user's current sites
|
|
|
|
|
static get getCustomersAutoCompleteSameOrg => "$_baseUrl/Customer/GetCustomersAutoCompleteSameOrg"; // get user's current sites
|
|
|
|
|
|
|
|
|
|
// static get login => "$_baseUrl/MobileAuth/LoginIntegration"; // mobile login
|
|
|
|
|
static get register => "$_baseUrl/handle/create/user"; // post
|
|
|
|
|
|