Type.registerNamespace('Masahati.Services');
Masahati.Services.PropertyService=function() {
Masahati.Services.PropertyService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Masahati.Services.PropertyService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Masahati.Services.PropertyService._staticInstance.get_path();},
GetProperties:function(propertyIds,languageCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProperties',false,{propertyIds:propertyIds,languageCode:languageCode},succeededCallback,failedCallback,userContext); },
GetListedProperties:function(propertyIds,languageCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetListedProperties',false,{propertyIds:propertyIds,languageCode:languageCode},succeededCallback,failedCallback,userContext); },
GetProperty:function(propertyId,languageCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProperty',false,{propertyId:propertyId,languageCode:languageCode},succeededCallback,failedCallback,userContext); },
SearchProperties:function(critria,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchProperties',false,{critria:critria},succeededCallback,failedCallback,userContext); },
SearchPropertiesWithFilter:function(critria,filter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchPropertiesWithFilter',false,{critria:critria,filter:filter},succeededCallback,failedCallback,userContext); },
GetVacantUnitData:function(propertyId,languageCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetVacantUnitData',false,{propertyId:propertyId,languageCode:languageCode},succeededCallback,failedCallback,userContext); },
GetAmenities:function(propertyType,propertyGroup,languageCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAmenities',false,{propertyType:propertyType,propertyGroup:propertyGroup,languageCode:languageCode},succeededCallback,failedCallback,userContext); },
EmailToFriend:function(data,languageCode,captchaImageText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EmailToFriend',false,{data:data,languageCode:languageCode,captchaImageText:captchaImageText},succeededCallback,failedCallback,userContext); },
EditNotes:function(propertyNotes,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditNotes',false,{propertyNotes:propertyNotes},succeededCallback,failedCallback,userContext); },
GetNotes:function(propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNotes',false,{propertyId:propertyId},succeededCallback,failedCallback,userContext); },
GetContactData:function(propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetContactData',false,{propertyId:propertyId},succeededCallback,failedCallback,userContext); },
SendMessage:function(data,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendMessage',false,{data:data},succeededCallback,failedCallback,userContext); },
SaveSearch:function(savedSearch,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveSearch',false,{savedSearch:savedSearch},succeededCallback,failedCallback,userContext); },
GetSavedSearch:function(searchId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSavedSearch',false,{searchId:searchId},succeededCallback,failedCallback,userContext); },
GetAlerts:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAlerts',false,{},succeededCallback,failedCallback,userContext); },
ListDelistProperty:function(propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ListDelistProperty',false,{propertyId:propertyId},succeededCallback,failedCallback,userContext); },
GetPurchasablePropertyTypes:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPurchasablePropertyTypes',false,{},succeededCallback,failedCallback,userContext); },
GetParentPropertyTypes:function(languageCode,propertyGroup,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetParentPropertyTypes',false,{languageCode:languageCode,propertyGroup:propertyGroup},succeededCallback,failedCallback,userContext); },
GetAllParentPropertyTypes:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllParentPropertyTypes',false,{},succeededCallback,failedCallback,userContext); },
GetRent:function(tenantId,propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRent',false,{tenantId:tenantId,propertyId:propertyId},succeededCallback,failedCallback,userContext); },
AddRent:function(incomeData,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddRent',false,{incomeData:incomeData},succeededCallback,failedCallback,userContext); },
AddIncome:function(incomeData,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddIncome',false,{incomeData:incomeData},succeededCallback,failedCallback,userContext); },
GetIncome:function(propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetIncome',false,{propertyId:propertyId},succeededCallback,failedCallback,userContext); },
DeleteIncome:function(incomeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteIncome',false,{incomeId:incomeId},succeededCallback,failedCallback,userContext); },
PayAllRentToDate:function(tenantId,propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PayAllRentToDate',false,{tenantId:tenantId,propertyId:propertyId},succeededCallback,failedCallback,userContext); },
AddInvestment:function(investment,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddInvestment',false,{investment:investment},succeededCallback,failedCallback,userContext); },
GetInvestments:function(propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetInvestments',false,{propertyId:propertyId},succeededCallback,failedCallback,userContext); },
DeleteInvestment:function(investmentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteInvestment',false,{investmentId:investmentId},succeededCallback,failedCallback,userContext); },
GetFinanceSummary:function(propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFinanceSummary',false,{propertyId:propertyId},succeededCallback,failedCallback,userContext); },
GetTenant:function(tenantId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTenant',false,{tenantId:tenantId},succeededCallback,failedCallback,userContext); },
GetTenantOverview:function(tenantId,propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTenantOverview',false,{tenantId:tenantId,propertyId:propertyId},succeededCallback,failedCallback,userContext); },
GetTenants:function(propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTenants',false,{propertyId:propertyId},succeededCallback,failedCallback,userContext); },
SaveTenant:function(tenant,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveTenant',false,{tenant:tenant},succeededCallback,failedCallback,userContext); },
DeleteTenant:function(tenantId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteTenant',false,{tenantId:tenantId},succeededCallback,failedCallback,userContext); },
GetCurrentTenant:function(propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCurrentTenant',false,{propertyId:propertyId},succeededCallback,failedCallback,userContext); },
GetUnitSummary:function(parentPropertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUnitSummary',false,{parentPropertyId:parentPropertyId},succeededCallback,failedCallback,userContext); },
GetVacantUnitSummary:function(parentPropertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetVacantUnitSummary',false,{parentPropertyId:parentPropertyId},succeededCallback,failedCallback,userContext); },
GetStreetList:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStreetList',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetAreaList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAreaList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetLocations:function(searchCritria,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocations',false,{searchCritria:searchCritria},succeededCallback,failedCallback,userContext); },
GetFiles:function(propertyId,categoryId,languageCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFiles',false,{propertyId:propertyId,categoryId:categoryId,languageCode:languageCode},succeededCallback,failedCallback,userContext); },
GetAllFiles:function(propertyId,languageCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllFiles',false,{propertyId:propertyId,languageCode:languageCode},succeededCallback,failedCallback,userContext); },
GetFileDescriptions:function(categoryId,propertyType,languageCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFileDescriptions',false,{categoryId:categoryId,propertyType:propertyType,languageCode:languageCode},succeededCallback,failedCallback,userContext); },
GetFileCategories:function(languageCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFileCategories',false,{languageCode:languageCode},succeededCallback,failedCallback,userContext); },
GetClientData:function(clientId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetClientData',false,{clientId:clientId},succeededCallback,failedCallback,userContext); }}
Masahati.Services.PropertyService.registerClass('Masahati.Services.PropertyService',Sys.Net.WebServiceProxy);
Masahati.Services.PropertyService._staticInstance = new Masahati.Services.PropertyService();
Masahati.Services.PropertyService.set_path = function(value) { Masahati.Services.PropertyService._staticInstance.set_path(value); }
Masahati.Services.PropertyService.get_path = function() { return Masahati.Services.PropertyService._staticInstance.get_path(); }
Masahati.Services.PropertyService.set_timeout = function(value) { Masahati.Services.PropertyService._staticInstance.set_timeout(value); }
Masahati.Services.PropertyService.get_timeout = function() { return Masahati.Services.PropertyService._staticInstance.get_timeout(); }
Masahati.Services.PropertyService.set_defaultUserContext = function(value) { Masahati.Services.PropertyService._staticInstance.set_defaultUserContext(value); }
Masahati.Services.PropertyService.get_defaultUserContext = function() { return Masahati.Services.PropertyService._staticInstance.get_defaultUserContext(); }
Masahati.Services.PropertyService.set_defaultSucceededCallback = function(value) { Masahati.Services.PropertyService._staticInstance.set_defaultSucceededCallback(value); }
Masahati.Services.PropertyService.get_defaultSucceededCallback = function() { return Masahati.Services.PropertyService._staticInstance.get_defaultSucceededCallback(); }
Masahati.Services.PropertyService.set_defaultFailedCallback = function(value) { Masahati.Services.PropertyService._staticInstance.set_defaultFailedCallback(value); }
Masahati.Services.PropertyService.get_defaultFailedCallback = function() { return Masahati.Services.PropertyService._staticInstance.get_defaultFailedCallback(); }
Masahati.Services.PropertyService.set_path("/services/property.asmx");
Masahati.Services.PropertyService.GetProperties= function(propertyIds,languageCode,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetProperties(propertyIds,languageCode,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetListedProperties= function(propertyIds,languageCode,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetListedProperties(propertyIds,languageCode,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetProperty= function(propertyId,languageCode,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetProperty(propertyId,languageCode,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.SearchProperties= function(critria,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.SearchProperties(critria,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.SearchPropertiesWithFilter= function(critria,filter,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.SearchPropertiesWithFilter(critria,filter,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetVacantUnitData= function(propertyId,languageCode,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetVacantUnitData(propertyId,languageCode,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetAmenities= function(propertyType,propertyGroup,languageCode,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetAmenities(propertyType,propertyGroup,languageCode,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.EmailToFriend= function(data,languageCode,captchaImageText,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.EmailToFriend(data,languageCode,captchaImageText,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.EditNotes= function(propertyNotes,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.EditNotes(propertyNotes,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetNotes= function(propertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetNotes(propertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetContactData= function(propertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetContactData(propertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.SendMessage= function(data,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.SendMessage(data,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.SaveSearch= function(savedSearch,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.SaveSearch(savedSearch,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetSavedSearch= function(searchId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetSavedSearch(searchId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetAlerts= function(onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetAlerts(onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.ListDelistProperty= function(propertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.ListDelistProperty(propertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetPurchasablePropertyTypes= function(onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetPurchasablePropertyTypes(onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetParentPropertyTypes= function(languageCode,propertyGroup,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetParentPropertyTypes(languageCode,propertyGroup,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetAllParentPropertyTypes= function(onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetAllParentPropertyTypes(onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetRent= function(tenantId,propertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetRent(tenantId,propertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.AddRent= function(incomeData,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.AddRent(incomeData,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.AddIncome= function(incomeData,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.AddIncome(incomeData,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetIncome= function(propertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetIncome(propertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.DeleteIncome= function(incomeId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.DeleteIncome(incomeId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.PayAllRentToDate= function(tenantId,propertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.PayAllRentToDate(tenantId,propertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.AddInvestment= function(investment,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.AddInvestment(investment,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetInvestments= function(propertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetInvestments(propertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.DeleteInvestment= function(investmentId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.DeleteInvestment(investmentId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetFinanceSummary= function(propertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetFinanceSummary(propertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetTenant= function(tenantId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetTenant(tenantId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetTenantOverview= function(tenantId,propertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetTenantOverview(tenantId,propertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetTenants= function(propertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetTenants(propertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.SaveTenant= function(tenant,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.SaveTenant(tenant,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.DeleteTenant= function(tenantId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.DeleteTenant(tenantId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetCurrentTenant= function(propertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetCurrentTenant(propertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetUnitSummary= function(parentPropertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetUnitSummary(parentPropertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetVacantUnitSummary= function(parentPropertyId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetVacantUnitSummary(parentPropertyId,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetStreetList= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetStreetList(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetAreaList= function(prefixText,count,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetAreaList(prefixText,count,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetLocations= function(searchCritria,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetLocations(searchCritria,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetFiles= function(propertyId,categoryId,languageCode,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetFiles(propertyId,categoryId,languageCode,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetAllFiles= function(propertyId,languageCode,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetAllFiles(propertyId,languageCode,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetFileDescriptions= function(categoryId,propertyType,languageCode,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetFileDescriptions(categoryId,propertyType,languageCode,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetFileCategories= function(languageCode,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetFileCategories(languageCode,onSuccess,onFailed,userContext); }
Masahati.Services.PropertyService.GetClientData= function(clientId,onSuccess,onFailed,userContext) {Masahati.Services.PropertyService._staticInstance.GetClientData(clientId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Masahati.Data');
if (typeof(Masahati.Data.BasicPropertySearchData) === 'undefined') {
Masahati.Data.BasicPropertySearchData=gtc("Masahati.Data.BasicPropertySearchData");
Masahati.Data.BasicPropertySearchData.registerClass('Masahati.Data.BasicPropertySearchData');
}
if (typeof(Masahati.Data.PropertySearchFilter) === 'undefined') {
Masahati.Data.PropertySearchFilter=gtc("Masahati.Data.PropertySearchFilter");
Masahati.Data.PropertySearchFilter.registerClass('Masahati.Data.PropertySearchFilter');
}
if (typeof(Masahati.Data.PropertyData) === 'undefined') {
Masahati.Data.PropertyData=gtc("Masahati.Data.PropertyData");
Masahati.Data.PropertyData.registerClass('Masahati.Data.PropertyData');
}
if (typeof(Masahati.Data.AmenityData) === 'undefined') {
Masahati.Data.AmenityData=gtc("Masahati.Data.AmenityData");
Masahati.Data.AmenityData.registerClass('Masahati.Data.AmenityData');
}
if (typeof(Masahati.Data.EmailToFriendData) === 'undefined') {
Masahati.Data.EmailToFriendData=gtc("Masahati.Data.EmailToFriendData");
Masahati.Data.EmailToFriendData.registerClass('Masahati.Data.EmailToFriendData');
}
if (typeof(Masahati.Data.PropertyNotes) === 'undefined') {
Masahati.Data.PropertyNotes=gtc("Masahati.Data.PropertyNotes");
Masahati.Data.PropertyNotes.registerClass('Masahati.Data.PropertyNotes');
}
if (typeof(Masahati.Data.ContactData) === 'undefined') {
Masahati.Data.ContactData=gtc("Masahati.Data.ContactData");
Masahati.Data.ContactData.registerClass('Masahati.Data.ContactData');
}
if (typeof(Masahati.Data.MessageData) === 'undefined') {
Masahati.Data.MessageData=gtc("Masahati.Data.MessageData");
Masahati.Data.MessageData.registerClass('Masahati.Data.MessageData');
}
if (typeof(Masahati.Data.SavedPropertySearchData) === 'undefined') {
Masahati.Data.SavedPropertySearchData=gtc("Masahati.Data.SavedPropertySearchData");
Masahati.Data.SavedPropertySearchData.registerClass('Masahati.Data.SavedPropertySearchData');
}
if (typeof(Masahati.Data.StatusAlertData) === 'undefined') {
Masahati.Data.StatusAlertData=gtc("Masahati.Data.StatusAlertData");
Masahati.Data.StatusAlertData.registerClass('Masahati.Data.StatusAlertData');
}
if (typeof(Masahati.Data.PropertyTypeData) === 'undefined') {
Masahati.Data.PropertyTypeData=gtc("Masahati.Data.PropertyTypeData");
Masahati.Data.PropertyTypeData.registerClass('Masahati.Data.PropertyTypeData');
}
if (typeof(Masahati.Data.IncomeData) === 'undefined') {
Masahati.Data.IncomeData=gtc("Masahati.Data.IncomeData");
Masahati.Data.IncomeData.registerClass('Masahati.Data.IncomeData');
}
if (typeof(Masahati.Data.InvestmentData) === 'undefined') {
Masahati.Data.InvestmentData=gtc("Masahati.Data.InvestmentData");
Masahati.Data.InvestmentData.registerClass('Masahati.Data.InvestmentData');
}
Type.registerNamespace('Masahati');
if (typeof(Masahati.FinanceSummary) === 'undefined') {
Masahati.FinanceSummary=gtc("Masahati.FinanceSummary");
Masahati.FinanceSummary.registerClass('Masahati.FinanceSummary');
}
if (typeof(Masahati.Data.TenantData) === 'undefined') {
Masahati.Data.TenantData=gtc("Masahati.Data.TenantData");
Masahati.Data.TenantData.registerClass('Masahati.Data.TenantData');
}
Type.registerNamespace('Masahati.Tenant');
if (typeof(Masahati.Tenant.TenantOverviewData) === 'undefined') {
Masahati.Tenant.TenantOverviewData=gtc("Masahati.Tenant.TenantOverviewData");
Masahati.Tenant.TenantOverviewData.registerClass('Masahati.Tenant.TenantOverviewData');
}
if (typeof(Masahati.Data.UnitSummary) === 'undefined') {
Masahati.Data.UnitSummary=gtc("Masahati.Data.UnitSummary");
Masahati.Data.UnitSummary.registerClass('Masahati.Data.UnitSummary');
}
if (typeof(Masahati.Data.LocationSearchCritria) === 'undefined') {
Masahati.Data.LocationSearchCritria=gtc("Masahati.Data.LocationSearchCritria");
Masahati.Data.LocationSearchCritria.registerClass('Masahati.Data.LocationSearchCritria');
}
if (typeof(Masahati.Data.Location) === 'undefined') {
Masahati.Data.Location=gtc("Masahati.Data.Location");
Masahati.Data.Location.registerClass('Masahati.Data.Location');
}
if (typeof(Masahati.Data.MasahatiFile) === 'undefined') {
Masahati.Data.MasahatiFile=gtc("Masahati.Data.MasahatiFile");
Masahati.Data.MasahatiFile.registerClass('Masahati.Data.MasahatiFile');
}
if (typeof(Masahati.Data.FileDescription) === 'undefined') {
Masahati.Data.FileDescription=gtc("Masahati.Data.FileDescription");
Masahati.Data.FileDescription.registerClass('Masahati.Data.FileDescription');
}
if (typeof(Masahati.Data.FileCategory) === 'undefined') {
Masahati.Data.FileCategory=gtc("Masahati.Data.FileCategory");
Masahati.Data.FileCategory.registerClass('Masahati.Data.FileCategory');
}
if (typeof(Masahati.Data.ClientData) === 'undefined') {
Masahati.Data.ClientData=gtc("Masahati.Data.ClientData");
Masahati.Data.ClientData.registerClass('Masahati.Data.ClientData');
}
if (typeof(Masahati.Data.PropertyGroup) === 'undefined') {
Masahati.Data.PropertyGroup = function() { throw Error.invalidOperation(); }
Masahati.Data.PropertyGroup.prototype = {Unknown: 0,Residential: 1,Commercial: 2}
Masahati.Data.PropertyGroup.registerEnum('Masahati.Data.PropertyGroup', true);
}
if (typeof(Masahati.Data.PropertyType) === 'undefined') {
Masahati.Data.PropertyType = function() { throw Error.invalidOperation(); }
Masahati.Data.PropertyType.prototype = {Unknown: 0,Office: 1,Retail: 2,CommercialLand: 4,House: 8,ApartmentBuilding: 16,DividedHouseApartment: 32,Apartment: 64,ResidentialLand: 128,OfficeBuilding: 256,GroupedHouseCompound: 512,GroupedHouse: 1024,Mall: 2048,RetailUnit: 4096,DividedHouse: 8192}
Masahati.Data.PropertyType.registerEnum('Masahati.Data.PropertyType', true);
}
