Type.registerNamespace('WebSurface.Modules.GoodsCatalog.services');
WebSurface.Modules.GoodsCatalog.services.service=function() {
WebSurface.Modules.GoodsCatalog.services.service.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebSurface.Modules.GoodsCatalog.services.service.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebSurface.Modules.GoodsCatalog.services.service._staticInstance.get_path();},
GetInfoByInn:function(INN,succeededCallback, failedCallback, userContext) {
/// <param name="INN" 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(), 'GetInfoByInn',false,{INN:INN},succeededCallback,failedCallback,userContext); },
GetInfoByEmail:function(Email,succeededCallback, failedCallback, userContext) {
/// <param name="Email" 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(), 'GetInfoByEmail',false,{Email:Email},succeededCallback,failedCallback,userContext); },
GetGoodsCount:function(filterId,filterString,succeededCallback, failedCallback, userContext) {
/// <param name="filterId" type="Number">System.Int32</param>
/// <param name="filterString" 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(), 'GetGoodsCount',false,{filterId:filterId,filterString:filterString},succeededCallback,failedCallback,userContext); },
GetFilterBlur:function(filterId,filterString,succeededCallback, failedCallback, userContext) {
/// <param name="filterId" type="Number">System.Int32</param>
/// <param name="filterString" 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(), 'GetFilterBlur',false,{filterId:filterId,filterString:filterString},succeededCallback,failedCallback,userContext); }}
WebSurface.Modules.GoodsCatalog.services.service.registerClass('WebSurface.Modules.GoodsCatalog.services.service',Sys.Net.WebServiceProxy);
WebSurface.Modules.GoodsCatalog.services.service._staticInstance = new WebSurface.Modules.GoodsCatalog.services.service();
WebSurface.Modules.GoodsCatalog.services.service.set_path = function(value) {
WebSurface.Modules.GoodsCatalog.services.service._staticInstance.set_path(value); }
WebSurface.Modules.GoodsCatalog.services.service.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WebSurface.Modules.GoodsCatalog.services.service._staticInstance.get_path();}
WebSurface.Modules.GoodsCatalog.services.service.set_timeout = function(value) {
WebSurface.Modules.GoodsCatalog.services.service._staticInstance.set_timeout(value); }
WebSurface.Modules.GoodsCatalog.services.service.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WebSurface.Modules.GoodsCatalog.services.service._staticInstance.get_timeout(); }
WebSurface.Modules.GoodsCatalog.services.service.set_defaultUserContext = function(value) { 
WebSurface.Modules.GoodsCatalog.services.service._staticInstance.set_defaultUserContext(value); }
WebSurface.Modules.GoodsCatalog.services.service.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WebSurface.Modules.GoodsCatalog.services.service._staticInstance.get_defaultUserContext(); }
WebSurface.Modules.GoodsCatalog.services.service.set_defaultSucceededCallback = function(value) { 
 WebSurface.Modules.GoodsCatalog.services.service._staticInstance.set_defaultSucceededCallback(value); }
WebSurface.Modules.GoodsCatalog.services.service.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WebSurface.Modules.GoodsCatalog.services.service._staticInstance.get_defaultSucceededCallback(); }
WebSurface.Modules.GoodsCatalog.services.service.set_defaultFailedCallback = function(value) { 
WebSurface.Modules.GoodsCatalog.services.service._staticInstance.set_defaultFailedCallback(value); }
WebSurface.Modules.GoodsCatalog.services.service.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WebSurface.Modules.GoodsCatalog.services.service._staticInstance.get_defaultFailedCallback(); }
WebSurface.Modules.GoodsCatalog.services.service.set_path("/modules/WebSurface.Modules.GoodsCatalog/services/service.asmx");
WebSurface.Modules.GoodsCatalog.services.service.GetInfoByInn= function(INN,onSuccess,onFailed,userContext) {
/// <param name="INN" 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>
WebSurface.Modules.GoodsCatalog.services.service._staticInstance.GetInfoByInn(INN,onSuccess,onFailed,userContext); }
WebSurface.Modules.GoodsCatalog.services.service.GetInfoByEmail= function(Email,onSuccess,onFailed,userContext) {
/// <param name="Email" 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>
WebSurface.Modules.GoodsCatalog.services.service._staticInstance.GetInfoByEmail(Email,onSuccess,onFailed,userContext); }
WebSurface.Modules.GoodsCatalog.services.service.GetGoodsCount= function(filterId,filterString,onSuccess,onFailed,userContext) {
/// <param name="filterId" type="Number">System.Int32</param>
/// <param name="filterString" 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>
WebSurface.Modules.GoodsCatalog.services.service._staticInstance.GetGoodsCount(filterId,filterString,onSuccess,onFailed,userContext); }
WebSurface.Modules.GoodsCatalog.services.service.GetFilterBlur= function(filterId,filterString,onSuccess,onFailed,userContext) {
/// <param name="filterId" type="Number">System.Int32</param>
/// <param name="filterString" 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>
WebSurface.Modules.GoodsCatalog.services.service._staticInstance.GetFilterBlur(filterId,filterString,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WebSurface.Modules.GoodsCatalog.services.UrInfo) === 'undefined') {
WebSurface.Modules.GoodsCatalog.services.UrInfo=gtc("WebSurface.Modules.GoodsCatalog.services.UrInfo");
WebSurface.Modules.GoodsCatalog.services.UrInfo.registerClass('WebSurface.Modules.GoodsCatalog.services.UrInfo');
}
if (typeof(WebSurface.Modules.GoodsCatalog.services.OrderInfo) === 'undefined') {
WebSurface.Modules.GoodsCatalog.services.OrderInfo=gtc("WebSurface.Modules.GoodsCatalog.services.OrderInfo");
WebSurface.Modules.GoodsCatalog.services.OrderInfo.registerClass('WebSurface.Modules.GoodsCatalog.services.OrderInfo');
}

