Type.registerNamespace('SR.Account');
SR.Account.UserSearchService=function() {
SR.Account.UserSearchService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SR.Account.UserSearchService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SR.Account.UserSearchService._staticInstance.get_path();},
SaveSearch:function(request,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveSearch',false,{request:request},succeededCallback,failedCallback,userContext); },
SaveProperty:function(request,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveProperty',false,{request:request},succeededCallback,failedCallback,userContext); },
UnsaveProperty:function(request,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UnsaveProperty',false,{request:request},succeededCallback,failedCallback,userContext); },
GetFavoriteProperties:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFavoriteProperties',false,{},succeededCallback,failedCallback,userContext); },
GetWalkScore:function(request,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWalkScore',false,{request:request},succeededCallback,failedCallback,userContext); },
GetZestimate:function(request,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetZestimate',false,{request:request},succeededCallback,failedCallback,userContext); },
GetNeighborhoodInfo:function(request,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNeighborhoodInfo',false,{request:request},succeededCallback,failedCallback,userContext); },
GetEducationInfo:function(request,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEducationInfo',false,{request:request},succeededCallback,failedCallback,userContext); },
GetSearchHistory:function(request,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSearchHistory',false,{request:request},succeededCallback,failedCallback,userContext); }}
SR.Account.UserSearchService.registerClass('SR.Account.UserSearchService',Sys.Net.WebServiceProxy);
SR.Account.UserSearchService._staticInstance = new SR.Account.UserSearchService();
SR.Account.UserSearchService.set_path = function(value) { SR.Account.UserSearchService._staticInstance.set_path(value); }
SR.Account.UserSearchService.get_path = function() { return SR.Account.UserSearchService._staticInstance.get_path(); }
SR.Account.UserSearchService.set_timeout = function(value) { SR.Account.UserSearchService._staticInstance.set_timeout(value); }
SR.Account.UserSearchService.get_timeout = function() { return SR.Account.UserSearchService._staticInstance.get_timeout(); }
SR.Account.UserSearchService.set_defaultUserContext = function(value) { SR.Account.UserSearchService._staticInstance.set_defaultUserContext(value); }
SR.Account.UserSearchService.get_defaultUserContext = function() { return SR.Account.UserSearchService._staticInstance.get_defaultUserContext(); }
SR.Account.UserSearchService.set_defaultSucceededCallback = function(value) { SR.Account.UserSearchService._staticInstance.set_defaultSucceededCallback(value); }
SR.Account.UserSearchService.get_defaultSucceededCallback = function() { return SR.Account.UserSearchService._staticInstance.get_defaultSucceededCallback(); }
SR.Account.UserSearchService.set_defaultFailedCallback = function(value) { SR.Account.UserSearchService._staticInstance.set_defaultFailedCallback(value); }
SR.Account.UserSearchService.get_defaultFailedCallback = function() { return SR.Account.UserSearchService._staticInstance.get_defaultFailedCallback(); }
SR.Account.UserSearchService.set_path("/Library/Services/UserSearchService.svc");
SR.Account.UserSearchService.SaveSearch= function(request,onSuccess,onFailed,userContext) {SR.Account.UserSearchService._staticInstance.SaveSearch(request,onSuccess,onFailed,userContext); }
SR.Account.UserSearchService.SaveProperty= function(request,onSuccess,onFailed,userContext) {SR.Account.UserSearchService._staticInstance.SaveProperty(request,onSuccess,onFailed,userContext); }
SR.Account.UserSearchService.UnsaveProperty= function(request,onSuccess,onFailed,userContext) {SR.Account.UserSearchService._staticInstance.UnsaveProperty(request,onSuccess,onFailed,userContext); }
SR.Account.UserSearchService.GetFavoriteProperties= function(onSuccess,onFailed,userContext) {SR.Account.UserSearchService._staticInstance.GetFavoriteProperties(onSuccess,onFailed,userContext); }
SR.Account.UserSearchService.GetWalkScore= function(request,onSuccess,onFailed,userContext) {SR.Account.UserSearchService._staticInstance.GetWalkScore(request,onSuccess,onFailed,userContext); }
SR.Account.UserSearchService.GetZestimate= function(request,onSuccess,onFailed,userContext) {SR.Account.UserSearchService._staticInstance.GetZestimate(request,onSuccess,onFailed,userContext); }
SR.Account.UserSearchService.GetNeighborhoodInfo= function(request,onSuccess,onFailed,userContext) {SR.Account.UserSearchService._staticInstance.GetNeighborhoodInfo(request,onSuccess,onFailed,userContext); }
SR.Account.UserSearchService.GetEducationInfo= function(request,onSuccess,onFailed,userContext) {SR.Account.UserSearchService._staticInstance.GetEducationInfo(request,onSuccess,onFailed,userContext); }
SR.Account.UserSearchService.GetSearchHistory= function(request,onSuccess,onFailed,userContext) {SR.Account.UserSearchService._staticInstance.GetSearchHistory(request,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SR.Service');
if (typeof(SR.Service.SavedSearchPackage) === 'undefined') {
SR.Service.SavedSearchPackage=gtc("SavedSearchPackage:SR.Service");
SR.Service.SavedSearchPackage.registerClass('SR.Service.SavedSearchPackage');
}
if (typeof(SR.Service.Package) === 'undefined') {
SR.Service.Package=gtc("Package:SR.Service");
SR.Service.Package.registerClass('SR.Service.Package');
}
if (typeof(SR.Account.PropertyRequest) === 'undefined') {
SR.Account.PropertyRequest=gtc("PropertyRequest:SR.Account");
SR.Account.PropertyRequest.registerClass('SR.Account.PropertyRequest');
}
if (typeof(SR.Account.PropertyResponse) === 'undefined') {
SR.Account.PropertyResponse=gtc("PropertyResponse:SR.Account");
SR.Account.PropertyResponse.registerClass('SR.Account.PropertyResponse');
}
if (typeof(SR.Account.PropertyListResponse) === 'undefined') {
SR.Account.PropertyListResponse=gtc("PropertyListResponse:SR.Account");
SR.Account.PropertyListResponse.registerClass('SR.Account.PropertyListResponse');
}
Type.registerNamespace('SearchService');
if (typeof(SearchService.PropertyItem) === 'undefined') {
SearchService.PropertyItem=gtc("PropertyItem:SearchService");
SearchService.PropertyItem.registerClass('SearchService.PropertyItem');
}
if (typeof(SearchService.Features) === 'undefined') {
SearchService.Features=gtc("Features:SearchService");
SearchService.Features.registerClass('SearchService.Features');
}
if (typeof(SearchService.Location) === 'undefined') {
SearchService.Location=gtc("Location:SearchService");
SearchService.Location.registerClass('SearchService.Location');
}
if (typeof(SearchService.MetaData) === 'undefined') {
SearchService.MetaData=gtc("MetaData:SearchService");
SearchService.MetaData.registerClass('SearchService.MetaData');
}
if (typeof(SR.Service.WalkScore) === 'undefined') {
SR.Service.WalkScore=gtc("WalkScore:SR.Service");
SR.Service.WalkScore.registerClass('SR.Service.WalkScore');
}
Type.registerNamespace('SR.Domain.Zillow');
if (typeof(SR.Domain.Zillow.SearchresultsRequest) === 'undefined') {
SR.Domain.Zillow.SearchresultsRequest=gtc("SearchresultsRequest:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.SearchresultsRequest.registerClass('SR.Domain.Zillow.SearchresultsRequest');
}
if (typeof(SR.Domain.Zillow.SearchresultsResponse) === 'undefined') {
SR.Domain.Zillow.SearchresultsResponse=gtc("SearchresultsResponse:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.SearchresultsResponse.registerClass('SR.Domain.Zillow.SearchresultsResponse');
}
if (typeof(SR.Domain.Zillow.SimpleProperty) === 'undefined') {
SR.Domain.Zillow.SimpleProperty=gtc("SimpleProperty:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.SimpleProperty.registerClass('SR.Domain.Zillow.SimpleProperty');
}
if (typeof(SR.Domain.Zillow.Property) === 'undefined') {
SR.Domain.Zillow.Property=gtc("Property:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.Property.registerClass('SR.Domain.Zillow.Property');
}
if (typeof(SR.Domain.Zillow.Address) === 'undefined') {
SR.Domain.Zillow.Address=gtc("Address:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.Address.registerClass('SR.Domain.Zillow.Address');
}
if (typeof(SR.Domain.Zillow.Amount) === 'undefined') {
SR.Domain.Zillow.Amount=gtc("Amount:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.Amount.registerClass('SR.Domain.Zillow.Amount');
}
if (typeof(SR.Domain.Zillow.Links) === 'undefined') {
SR.Domain.Zillow.Links=gtc("Links:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.Links.registerClass('SR.Domain.Zillow.Links');
}
if (typeof(SR.Domain.Zillow.DeprecatedType) === 'undefined') {
SR.Domain.Zillow.DeprecatedType=gtc("DeprecatedType:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DeprecatedType.registerClass('SR.Domain.Zillow.DeprecatedType');
}
if (typeof(SR.Domain.Zillow.LocalRealEstateRegion) === 'undefined') {
SR.Domain.Zillow.LocalRealEstateRegion=gtc("LocalRealEstateRegion:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.LocalRealEstateRegion.registerClass('SR.Domain.Zillow.LocalRealEstateRegion');
}
if (typeof(SR.Domain.Zillow.LocalRealEstateRegionLinks) === 'undefined') {
SR.Domain.Zillow.LocalRealEstateRegionLinks=gtc("LocalRealEstateRegionLinks:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.LocalRealEstateRegionLinks.registerClass('SR.Domain.Zillow.LocalRealEstateRegionLinks');
}
if (typeof(SR.Domain.Zillow.Zestimate) === 'undefined') {
SR.Domain.Zillow.Zestimate=gtc("Zestimate:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.Zestimate.registerClass('SR.Domain.Zillow.Zestimate');
}
if (typeof(SR.Domain.Zillow.AmountOptional) === 'undefined') {
SR.Domain.Zillow.AmountOptional=gtc("AmountOptional:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.AmountOptional.registerClass('SR.Domain.Zillow.AmountOptional');
}
if (typeof(SR.Domain.Zillow.ZestimateValuationRange) === 'undefined') {
SR.Domain.Zillow.ZestimateValuationRange=gtc("ZestimateValuationRange:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.ZestimateValuationRange.registerClass('SR.Domain.Zillow.ZestimateValuationRange');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeRequest) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeRequest=gtc("DemographicsResultTypeRequest:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeRequest.registerClass('SR.Domain.Zillow.DemographicsResultTypeRequest');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponse) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponse=gtc("DemographicsResultTypeResponse:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponse.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponse');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponseChart) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponseChart=gtc("DemographicsResultTypeResponseChart:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponseChart.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponseChart');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponseLinks) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponseLinks=gtc("DemographicsResultTypeResponseLinks:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponseLinks.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponseLinks');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponseMarket) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponseMarket=gtc("DemographicsResultTypeResponseMarket:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponseMarket.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponseMarket');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePage) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePage=gtc("DemographicsResultTypeResponsePage:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePage.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePage');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePageLiveshere) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePageLiveshere=gtc("DemographicsResultTypeResponsePageLiveshere:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePageLiveshere.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePageLiveshere');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePageTable) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePageTable=gtc("DemographicsResultTypeResponsePageTable:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePageTable.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePageTable');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttribute) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttribute=gtc("DemographicsResultTypeResponsePageTableAttribute:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttribute.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttribute');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValue) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValue=gtc("DemographicsResultTypeResponsePageTableAttributeValue:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValue.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValue');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValues) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValues=gtc("DemographicsResultTypeResponsePageTableAttributeValues:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValues.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValues');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesCity) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesCity=gtc("DemographicsResultTypeResponsePageTableAttributeValuesCity:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesCity.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesCity');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesCityValue) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesCityValue=gtc("DemographicsResultTypeResponsePageTableAttributeValuesCityValue:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesCityValue.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesCityValue');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNation) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNation=gtc("DemographicsResultTypeResponsePageTableAttributeValuesNation:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNation.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNation');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNationValue) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNationValue=gtc("DemographicsResultTypeResponsePageTableAttributeValuesNationValue:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNationValue.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNationValue');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNeighborhood) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNeighborhood=gtc("DemographicsResultTypeResponsePageTableAttributeValuesNeighborhood:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNeighborhood.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNeighborhood');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNeighborhoodValue) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNeighborhoodValue=gtc("DemographicsResultTypeResponsePageTableAttributeValuesNeighborhoodValue:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNeighborhoodValue.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePageTableAttributeValuesNeighborhoodValue');
}
if (typeof(SR.Domain.Zillow.DemographicsResultTypeResponsePageCategory) === 'undefined') {
SR.Domain.Zillow.DemographicsResultTypeResponsePageCategory=gtc("DemographicsResultTypeResponsePageCategory:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DemographicsResultTypeResponsePageCategory.registerClass('SR.Domain.Zillow.DemographicsResultTypeResponsePageCategory');
}
if (typeof(SR.Domain.Zillow.RegionNames) === 'undefined') {
SR.Domain.Zillow.RegionNames=gtc("RegionNames:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.RegionNames.registerClass('SR.Domain.Zillow.RegionNames');
}
Type.registerNamespace('SR.SearchConnect.Container');
if (typeof(SR.SearchConnect.Container.GeoCodeType) === 'undefined') {
SR.SearchConnect.Container.GeoCodeType=gtc("GeoCodeType:http://schemas.datacontract.org/2004/07/SR.SearchConnect.Container");
SR.SearchConnect.Container.GeoCodeType.registerClass('SR.SearchConnect.Container.GeoCodeType');
}
if (typeof(SR.Domain.Zillow.DatasetType) === 'undefined') {
SR.Domain.Zillow.DatasetType=gtc("DatasetType:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.DatasetType.registerClass('SR.Domain.Zillow.DatasetType');
}
if (typeof(SR.Domain.Zillow.SchoolSearchType) === 'undefined') {
SR.Domain.Zillow.SchoolSearchType=gtc("SchoolSearchType:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.SchoolSearchType.registerClass('SR.Domain.Zillow.SchoolSearchType');
}
if (typeof(SR.Domain.Zillow.SchoolType) === 'undefined') {
SR.Domain.Zillow.SchoolType=gtc("SchoolType:http://schemas.datacontract.org/2004/07/SR.Domain.Zillow");
SR.Domain.Zillow.SchoolType.registerClass('SR.Domain.Zillow.SchoolType');
}
if (typeof(SR.Account.SearchHistoryRequest) === 'undefined') {
SR.Account.SearchHistoryRequest=gtc("SearchHistoryRequest:SR.Account");
SR.Account.SearchHistoryRequest.registerClass('SR.Account.SearchHistoryRequest');
}
if (typeof(SR.Domain.Zillow.Currency) === 'undefined') {
SR.Domain.Zillow.Currency = function() { throw Error.invalidOperation(); }
SR.Domain.Zillow.Currency.prototype = {USD: 0}
SR.Domain.Zillow.Currency.registerEnum('SR.Domain.Zillow.Currency', true);
}
