Type.registerNamespace('Enlighten.Jasons.Site.Services');
Enlighten.Jasons.Site.Services.MapHelper=function() {
Enlighten.Jasons.Site.Services.MapHelper.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Enlighten.Jasons.Site.Services.MapHelper.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Enlighten.Jasons.Site.Services.MapHelper._staticInstance.get_path();},
GetClient:function(clientId,succeededCallback, failedCallback, userContext) {
/// <param name="clientId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetClient',true,{clientId:clientId},succeededCallback,failedCallback,userContext); },
GetPaidListings:function(latitudeNE,longitudeNE,latitudeSW,longitudeSW,clientId,succeededCallback, failedCallback, userContext) {
/// <param name="latitudeNE" type="Number">System.Single</param>
/// <param name="longitudeNE" type="Number">System.Single</param>
/// <param name="latitudeSW" type="Number">System.Single</param>
/// <param name="longitudeSW" type="Number">System.Single</param>
/// <param name="clientId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetPaidListings',true,{latitudeNE:latitudeNE,longitudeNE:longitudeNE,latitudeSW:latitudeSW,longitudeSW:longitudeSW,clientId:clientId},succeededCallback,failedCallback,userContext); },
GetTownsByMicroRegion:function(microRegionId,succeededCallback, failedCallback, userContext) {
/// <param name="microRegionId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetTownsByMicroRegion',true,{microRegionId:microRegionId},succeededCallback,failedCallback,userContext); },
GetTown:function(townId,succeededCallback, failedCallback, userContext) {
/// <param name="townId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetTown',true,{townId:townId},succeededCallback,failedCallback,userContext); },
SearchNearbyAttractions:function(category,sLat,sLong,nLat,nLong,clientId,succeededCallback, failedCallback, userContext) {
/// <param name="category" type="String">System.String</param>
/// <param name="sLat" type="Number">System.Double</param>
/// <param name="sLong" type="Number">System.Double</param>
/// <param name="nLat" type="Number">System.Double</param>
/// <param name="nLong" type="Number">System.Double</param>
/// <param name="clientId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SearchNearbyAttractions',true,{category:category,sLat:sLat,sLong:sLong,nLat:nLat,nLong:nLong,clientId:clientId},succeededCallback,failedCallback,userContext); },
GetNearbyListingCounts:function(sLat,sLong,nLat,nLong,clientId,succeededCallback, failedCallback, userContext) {
/// <param name="sLat" type="Number">System.Double</param>
/// <param name="sLong" type="Number">System.Double</param>
/// <param name="nLat" type="Number">System.Double</param>
/// <param name="nLong" type="Number">System.Double</param>
/// <param name="clientId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetNearbyListingCounts',true,{sLat:sLat,sLong:sLong,nLat:nLat,nLong:nLong,clientId:clientId},succeededCallback,failedCallback,userContext); },
SearchClientsForMap:function(sLat,sLong,nLat,nLong,categories,succeededCallback, failedCallback, userContext) {
/// <param name="sLat" type="Number">System.Double</param>
/// <param name="sLong" type="Number">System.Double</param>
/// <param name="nLat" type="Number">System.Double</param>
/// <param name="nLong" type="Number">System.Double</param>
/// <param name="categories" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SearchClientsForMap',true,{sLat:sLat,sLong:sLong,nLat:nLat,nLong:nLong,categories:categories},succeededCallback,failedCallback,userContext); },
SearchClientsForTravelGuide:function(townId,categories,succeededCallback, failedCallback, userContext) {
/// <param name="townId" type="Number">System.Int32</param>
/// <param name="categories" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SearchClientsForTravelGuide',true,{townId:townId,categories:categories},succeededCallback,failedCallback,userContext); },
GetTownsInMicroRegion:function(microregionID,succeededCallback, failedCallback, userContext) {
/// <param name="microregionID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetTownsInMicroRegion',true,{microregionID:microregionID},succeededCallback,failedCallback,userContext); },
GetMicroRegionsInMacroRegion:function(macroregionID,succeededCallback, failedCallback, userContext) {
/// <param name="macroregionID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetMicroRegionsInMacroRegion',true,{macroregionID:macroregionID},succeededCallback,failedCallback,userContext); },
GetClientTarrifs:function(clientId,succeededCallback, failedCallback, userContext) {
/// <param name="clientId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetClientTarrifs',true,{clientId:clientId},succeededCallback,failedCallback,userContext); },
GetClassificationsByGeoBounds:function(sLat,sLong,nLat,nLong,classification,succeededCallback, failedCallback, userContext) {
/// <param name="sLat" type="Number">System.Double</param>
/// <param name="sLong" type="Number">System.Double</param>
/// <param name="nLat" type="Number">System.Double</param>
/// <param name="nLong" type="Number">System.Double</param>
/// <param name="classification" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetClassificationsByGeoBounds',true,{sLat:sLat,sLong:sLong,nLat:nLat,nLong:nLong,classification:classification},succeededCallback,failedCallback,userContext); }}
Enlighten.Jasons.Site.Services.MapHelper.registerClass('Enlighten.Jasons.Site.Services.MapHelper',Sys.Net.WebServiceProxy);
Enlighten.Jasons.Site.Services.MapHelper._staticInstance = new Enlighten.Jasons.Site.Services.MapHelper();
Enlighten.Jasons.Site.Services.MapHelper.set_path = function(value) {
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.set_path(value); }
Enlighten.Jasons.Site.Services.MapHelper.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Enlighten.Jasons.Site.Services.MapHelper._staticInstance.get_path();}
Enlighten.Jasons.Site.Services.MapHelper.set_timeout = function(value) {
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.set_timeout(value); }
Enlighten.Jasons.Site.Services.MapHelper.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Enlighten.Jasons.Site.Services.MapHelper._staticInstance.get_timeout(); }
Enlighten.Jasons.Site.Services.MapHelper.set_defaultUserContext = function(value) { 
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.set_defaultUserContext(value); }
Enlighten.Jasons.Site.Services.MapHelper.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Enlighten.Jasons.Site.Services.MapHelper._staticInstance.get_defaultUserContext(); }
Enlighten.Jasons.Site.Services.MapHelper.set_defaultSucceededCallback = function(value) { 
 Enlighten.Jasons.Site.Services.MapHelper._staticInstance.set_defaultSucceededCallback(value); }
Enlighten.Jasons.Site.Services.MapHelper.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Enlighten.Jasons.Site.Services.MapHelper._staticInstance.get_defaultSucceededCallback(); }
Enlighten.Jasons.Site.Services.MapHelper.set_defaultFailedCallback = function(value) { 
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.set_defaultFailedCallback(value); }
Enlighten.Jasons.Site.Services.MapHelper.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Enlighten.Jasons.Site.Services.MapHelper._staticInstance.get_defaultFailedCallback(); }
Enlighten.Jasons.Site.Services.MapHelper.set_enableJsonp = function(value) { Enlighten.Jasons.Site.Services.MapHelper._staticInstance.set_enableJsonp(value); }
Enlighten.Jasons.Site.Services.MapHelper.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return Enlighten.Jasons.Site.Services.MapHelper._staticInstance.get_enableJsonp(); }
Enlighten.Jasons.Site.Services.MapHelper.set_jsonpCallbackParameter = function(value) { Enlighten.Jasons.Site.Services.MapHelper._staticInstance.set_jsonpCallbackParameter(value); }
Enlighten.Jasons.Site.Services.MapHelper.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return Enlighten.Jasons.Site.Services.MapHelper._staticInstance.get_jsonpCallbackParameter(); }
Enlighten.Jasons.Site.Services.MapHelper.set_path("/Services/MapHelper.asmx");
Enlighten.Jasons.Site.Services.MapHelper.GetClient= function(clientId,onSuccess,onFailed,userContext) {
/// <param name="clientId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.GetClient(clientId,onSuccess,onFailed,userContext); }
Enlighten.Jasons.Site.Services.MapHelper.GetPaidListings= function(latitudeNE,longitudeNE,latitudeSW,longitudeSW,clientId,onSuccess,onFailed,userContext) {
/// <param name="latitudeNE" type="Number">System.Single</param>
/// <param name="longitudeNE" type="Number">System.Single</param>
/// <param name="latitudeSW" type="Number">System.Single</param>
/// <param name="longitudeSW" type="Number">System.Single</param>
/// <param name="clientId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.GetPaidListings(latitudeNE,longitudeNE,latitudeSW,longitudeSW,clientId,onSuccess,onFailed,userContext); }
Enlighten.Jasons.Site.Services.MapHelper.GetTownsByMicroRegion= function(microRegionId,onSuccess,onFailed,userContext) {
/// <param name="microRegionId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.GetTownsByMicroRegion(microRegionId,onSuccess,onFailed,userContext); }
Enlighten.Jasons.Site.Services.MapHelper.GetTown= function(townId,onSuccess,onFailed,userContext) {
/// <param name="townId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.GetTown(townId,onSuccess,onFailed,userContext); }
Enlighten.Jasons.Site.Services.MapHelper.SearchNearbyAttractions= function(category,sLat,sLong,nLat,nLong,clientId,onSuccess,onFailed,userContext) {
/// <param name="category" type="String">System.String</param>
/// <param name="sLat" type="Number">System.Double</param>
/// <param name="sLong" type="Number">System.Double</param>
/// <param name="nLat" type="Number">System.Double</param>
/// <param name="nLong" type="Number">System.Double</param>
/// <param name="clientId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.SearchNearbyAttractions(category,sLat,sLong,nLat,nLong,clientId,onSuccess,onFailed,userContext); }
Enlighten.Jasons.Site.Services.MapHelper.GetNearbyListingCounts= function(sLat,sLong,nLat,nLong,clientId,onSuccess,onFailed,userContext) {
/// <param name="sLat" type="Number">System.Double</param>
/// <param name="sLong" type="Number">System.Double</param>
/// <param name="nLat" type="Number">System.Double</param>
/// <param name="nLong" type="Number">System.Double</param>
/// <param name="clientId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.GetNearbyListingCounts(sLat,sLong,nLat,nLong,clientId,onSuccess,onFailed,userContext); }
Enlighten.Jasons.Site.Services.MapHelper.SearchClientsForMap= function(sLat,sLong,nLat,nLong,categories,onSuccess,onFailed,userContext) {
/// <param name="sLat" type="Number">System.Double</param>
/// <param name="sLong" type="Number">System.Double</param>
/// <param name="nLat" type="Number">System.Double</param>
/// <param name="nLong" type="Number">System.Double</param>
/// <param name="categories" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.SearchClientsForMap(sLat,sLong,nLat,nLong,categories,onSuccess,onFailed,userContext); }
Enlighten.Jasons.Site.Services.MapHelper.SearchClientsForTravelGuide= function(townId,categories,onSuccess,onFailed,userContext) {
/// <param name="townId" type="Number">System.Int32</param>
/// <param name="categories" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.SearchClientsForTravelGuide(townId,categories,onSuccess,onFailed,userContext); }
Enlighten.Jasons.Site.Services.MapHelper.GetTownsInMicroRegion= function(microregionID,onSuccess,onFailed,userContext) {
/// <param name="microregionID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.GetTownsInMicroRegion(microregionID,onSuccess,onFailed,userContext); }
Enlighten.Jasons.Site.Services.MapHelper.GetMicroRegionsInMacroRegion= function(macroregionID,onSuccess,onFailed,userContext) {
/// <param name="macroregionID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.GetMicroRegionsInMacroRegion(macroregionID,onSuccess,onFailed,userContext); }
Enlighten.Jasons.Site.Services.MapHelper.GetClientTarrifs= function(clientId,onSuccess,onFailed,userContext) {
/// <param name="clientId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.GetClientTarrifs(clientId,onSuccess,onFailed,userContext); }
Enlighten.Jasons.Site.Services.MapHelper.GetClassificationsByGeoBounds= function(sLat,sLong,nLat,nLong,classification,onSuccess,onFailed,userContext) {
/// <param name="sLat" type="Number">System.Double</param>
/// <param name="sLong" type="Number">System.Double</param>
/// <param name="nLat" type="Number">System.Double</param>
/// <param name="nLong" type="Number">System.Double</param>
/// <param name="classification" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Enlighten.Jasons.Site.Services.MapHelper._staticInstance.GetClassificationsByGeoBounds(sLat,sLong,nLat,nLong,classification,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Enlighten.Jasons.Site.Services.Location) === 'undefined') {
Enlighten.Jasons.Site.Services.Location=gtc("Enlighten.Jasons.Site.Services.Location");
Enlighten.Jasons.Site.Services.Location.registerClass('Enlighten.Jasons.Site.Services.Location');
}
Type.registerNamespace('JTM.Products.API.Jasons.DataManagers');
if (typeof(JTM.Products.API.Jasons.DataManagers.SearchNearbyListingsResult) === 'undefined') {
JTM.Products.API.Jasons.DataManagers.SearchNearbyListingsResult=gtc("JTM.Products.API.Jasons.DataManagers.SearchNearbyListingsResult");
JTM.Products.API.Jasons.DataManagers.SearchNearbyListingsResult.registerClass('JTM.Products.API.Jasons.DataManagers.SearchNearbyListingsResult');
}
if (typeof(JTM.Products.API.Jasons.DataManagers.GetNearbyListingCountsResult) === 'undefined') {
JTM.Products.API.Jasons.DataManagers.GetNearbyListingCountsResult=gtc("JTM.Products.API.Jasons.DataManagers.GetNearbyListingCountsResult");
JTM.Products.API.Jasons.DataManagers.GetNearbyListingCountsResult.registerClass('JTM.Products.API.Jasons.DataManagers.GetNearbyListingCountsResult');
}
if (typeof(JTM.Products.API.Jasons.DataManagers.MapSearch_GetClientsResult) === 'undefined') {
JTM.Products.API.Jasons.DataManagers.MapSearch_GetClientsResult=gtc("JTM.Products.API.Jasons.DataManagers.MapSearch_GetClientsResult");
JTM.Products.API.Jasons.DataManagers.MapSearch_GetClientsResult.registerClass('JTM.Products.API.Jasons.DataManagers.MapSearch_GetClientsResult');
}
if (typeof(JTM.Products.API.Jasons.DataManagers.TravelGuideMap_GetClientsResult) === 'undefined') {
JTM.Products.API.Jasons.DataManagers.TravelGuideMap_GetClientsResult=gtc("JTM.Products.API.Jasons.DataManagers.TravelGuideMap_GetClientsResult");
JTM.Products.API.Jasons.DataManagers.TravelGuideMap_GetClientsResult.registerClass('JTM.Products.API.Jasons.DataManagers.TravelGuideMap_GetClientsResult');
}
Type.registerNamespace('JTM.Products.API.Jasons.DataLogic');
if (typeof(JTM.Products.API.Jasons.DataLogic.ClassificationCategoryUrl) === 'undefined') {
JTM.Products.API.Jasons.DataLogic.ClassificationCategoryUrl=gtc("JTM.Products.API.Jasons.DataLogic.ClassificationCategoryUrl");
JTM.Products.API.Jasons.DataLogic.ClassificationCategoryUrl.registerClass('JTM.Products.API.Jasons.DataLogic.ClassificationCategoryUrl');
}

