Type.registerNamespace('GiantEagle.Applications.InternetSites.Web.Services');
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService=function() {
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.prototype={
GetVersion:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.get_path(), 'GetVersion',false,{},succeededCallback,failedCallback,userContext); },
GetByRadiusFromLatitudeAndLongitude:function(longitude,latitude,radius,rawFilters,succeededCallback, failedCallback, userContext) {
return this._invoke(GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.get_path(), 'GetByRadiusFromLatitudeAndLongitude',false,{longitude:longitude,latitude:latitude,radius:radius,rawFilters:rawFilters},succeededCallback,failedCallback,userContext); },
GetByRegion:function(regionId,rawFilters,succeededCallback, failedCallback, userContext) {
return this._invoke(GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.get_path(), 'GetByRegion',false,{regionId:regionId,rawFilters:rawFilters},succeededCallback,failedCallback,userContext); },
GetStoreById:function(storeId,succeededCallback, failedCallback, userContext) {
return this._invoke(GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.get_path(), 'GetStoreById',false,{storeId:storeId},succeededCallback,failedCallback,userContext); },
GetAllBusinessLinesByStoreId:function(storeId,succeededCallback, failedCallback, userContext) {
return this._invoke(GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.get_path(), 'GetAllBusinessLinesByStoreId',false,{storeId:storeId},succeededCallback,failedCallback,userContext); },
SetSelectedStore:function(storeId,succeededCallback, failedCallback, userContext) {
return this._invoke(GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.get_path(), 'SetSelectedStore',false,{storeId:storeId},succeededCallback,failedCallback,userContext); }}
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.registerClass('GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService',Sys.Net.WebServiceProxy);
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance = new GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService();
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance._path = value; }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.get_path = function() { return GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance._path; }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance._timeout = value; }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.get_timeout = function() { 
return GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance._timeout; }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.set_defaultUserContext = function(value) { 
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance._userContext = value; }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.get_defaultUserContext = function() { 
return GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance._userContext; }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance._succeeded = value; }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.get_defaultSucceededCallback = function() { 
return GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance._succeeded; }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance._failed = value; }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.get_defaultFailedCallback = function() { 
return GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance._failed; }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.set_path("/services/storelocatorservice.asmx");
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.GetVersion= function(onSuccess,onFailed,userContext) {GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance.GetVersion(onSuccess,onFailed,userContext); }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.GetByRadiusFromLatitudeAndLongitude= function(longitude,latitude,radius,rawFilters,onSuccess,onFailed,userContext) {GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance.GetByRadiusFromLatitudeAndLongitude(longitude,latitude,radius,rawFilters,onSuccess,onFailed,userContext); }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.GetByRegion= function(regionId,rawFilters,onSuccess,onFailed,userContext) {GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance.GetByRegion(regionId,rawFilters,onSuccess,onFailed,userContext); }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.GetStoreById= function(storeId,onSuccess,onFailed,userContext) {GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance.GetStoreById(storeId,onSuccess,onFailed,userContext); }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.GetAllBusinessLinesByStoreId= function(storeId,onSuccess,onFailed,userContext) {GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance.GetAllBusinessLinesByStoreId(storeId,onSuccess,onFailed,userContext); }
GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService.SetSelectedStore= function(storeId,onSuccess,onFailed,userContext) {GiantEagle.Applications.InternetSites.Web.Services.StoreLocatorService._staticInstance.SetSelectedStore(storeId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('GiantEagle.Core.Web.Services.Ajax');
if (typeof(GiantEagle.Core.Web.Services.Ajax.GEAjaxResponseMessage) === 'undefined') {
GiantEagle.Core.Web.Services.Ajax.GEAjaxResponseMessage=gtc("GiantEagle.Core.Web.Services.Ajax.GEAjaxResponseMessage");
GiantEagle.Core.Web.Services.Ajax.GEAjaxResponseMessage.registerClass('GiantEagle.Core.Web.Services.Ajax.GEAjaxResponseMessage');
}
