Type.registerNamespace('B2C');
B2C.wsGeneral=function() {
B2C.wsGeneral.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
B2C.wsGeneral.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return B2C.wsGeneral._staticInstance.get_path();},
GetDatosInforme:function(inf_id,succeededCallback, failedCallback, userContext) {
/// <param name="inf_id" 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(), 'GetDatosInforme',false,{inf_id:inf_id},succeededCallback,failedCallback,userContext); },
GetListGruposFamilias:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
/// <param name="knownCategoryValues" type="String">System.String</param>
/// <param name="category" 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(), 'GetListGruposFamilias',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetListFamilias:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
/// <param name="knownCategoryValues" type="String">System.String</param>
/// <param name="category" 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(), 'GetListFamilias',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetListSubFamilias:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
/// <param name="knownCategoryValues" type="String">System.String</param>
/// <param name="category" 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(), 'GetListSubFamilias',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetListSecciones:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
/// <param name="knownCategoryValues" type="String">System.String</param>
/// <param name="category" 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(), 'GetListSecciones',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetListPaises:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
/// <param name="knownCategoryValues" type="String">System.String</param>
/// <param name="category" 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(), 'GetListPaises',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetListProvincias:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
/// <param name="knownCategoryValues" type="String">System.String</param>
/// <param name="category" 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(), 'GetListProvincias',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
TraerArticulo:function(productID,succeededCallback, failedCallback, userContext) {
/// <param name="productID" 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(), 'TraerArticulo',false,{productID:productID},succeededCallback,failedCallback,userContext); },
EstablecerCliente:function(CodCli,EsPreCliente,succeededCallback, failedCallback, userContext) {
/// <param name="CodCli" type="Number">System.Int64</param>
/// <param name="EsPreCliente" type="Boolean">System.Boolean</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(), 'EstablecerCliente',false,{CodCli:CodCli,EsPreCliente:EsPreCliente},succeededCallback,failedCallback,userContext); },
InsertShoppingCartItem:function(shoppingCartTypeEnum,ProductVariantID,ValAtri1,ValAtri2,TextOption,Quantity,cajas,CodEnvase,succeededCallback, failedCallback, userContext) {
/// <param name="shoppingCartTypeEnum" type="B2CStore.ShoppingCartTypeEnum">B2CStore.ShoppingCartTypeEnum</param>
/// <param name="ProductVariantID" type="String">System.String</param>
/// <param name="ValAtri1" type="String">System.String</param>
/// <param name="ValAtri2" type="String">System.String</param>
/// <param name="TextOption" type="String">System.String</param>
/// <param name="Quantity" type="Number">System.Int32</param>
/// <param name="cajas" type="Number">System.Int32</param>
/// <param name="CodEnvase" 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(), 'InsertShoppingCartItem',false,{shoppingCartTypeEnum:shoppingCartTypeEnum,ProductVariantID:ProductVariantID,ValAtri1:ValAtri1,ValAtri2:ValAtri2,TextOption:TextOption,Quantity:Quantity,cajas:cajas,CodEnvase:CodEnvase},succeededCallback,failedCallback,userContext); },
DeleteShoppingCartItem:function(ShoppingCartItemID,succeededCallback, failedCallback, userContext) {
/// <param name="ShoppingCartItemID" 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(), 'DeleteShoppingCartItem',false,{ShoppingCartItemID:ShoppingCartItemID},succeededCallback,failedCallback,userContext); },
GetCurrentShoppingCart:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'GetCurrentShoppingCart',false,{},succeededCallback,failedCallback,userContext); },
GetShoppingCartTotales:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'GetShoppingCartTotales',false,{},succeededCallback,failedCallback,userContext); },
GetHTMLUsosVale:function(Admon,ValeGUID,ValeContador,succeededCallback, failedCallback, userContext) {
/// <param name="Admon" type="Boolean">System.Boolean</param>
/// <param name="ValeGUID" type="String">System.Guid</param>
/// <param name="ValeContador" 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(), 'GetHTMLUsosVale',false,{Admon:Admon,ValeGUID:ValeGUID,ValeContador:ValeContador},succeededCallback,failedCallback,userContext); },
TraerVale:function(CodigoVale,succeededCallback, failedCallback, userContext) {
/// <param name="CodigoVale" 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(), 'TraerVale',false,{CodigoVale:CodigoVale},succeededCallback,failedCallback,userContext); },
GetHTMLHelp:function(TopicName,succeededCallback, failedCallback, userContext) {
/// <param name="TopicName" 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(), 'GetHTMLHelp',false,{TopicName:TopicName},succeededCallback,failedCallback,userContext); },
SendVale_Notification:function(Vale_GUID,succeededCallback, failedCallback, userContext) {
/// <param name="Vale_GUID" 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(), 'SendVale_Notification',false,{Vale_GUID:Vale_GUID},succeededCallback,failedCallback,userContext); }}
B2C.wsGeneral.registerClass('B2C.wsGeneral',Sys.Net.WebServiceProxy);
B2C.wsGeneral._staticInstance = new B2C.wsGeneral();
B2C.wsGeneral.set_path = function(value) {
B2C.wsGeneral._staticInstance.set_path(value); }
B2C.wsGeneral.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return B2C.wsGeneral._staticInstance.get_path();}
B2C.wsGeneral.set_timeout = function(value) {
B2C.wsGeneral._staticInstance.set_timeout(value); }
B2C.wsGeneral.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return B2C.wsGeneral._staticInstance.get_timeout(); }
B2C.wsGeneral.set_defaultUserContext = function(value) { 
B2C.wsGeneral._staticInstance.set_defaultUserContext(value); }
B2C.wsGeneral.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return B2C.wsGeneral._staticInstance.get_defaultUserContext(); }
B2C.wsGeneral.set_defaultSucceededCallback = function(value) { 
 B2C.wsGeneral._staticInstance.set_defaultSucceededCallback(value); }
B2C.wsGeneral.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return B2C.wsGeneral._staticInstance.get_defaultSucceededCallback(); }
B2C.wsGeneral.set_defaultFailedCallback = function(value) { 
B2C.wsGeneral._staticInstance.set_defaultFailedCallback(value); }
B2C.wsGeneral.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return B2C.wsGeneral._staticInstance.get_defaultFailedCallback(); }
B2C.wsGeneral.set_path("/wsGeneral.asmx");
B2C.wsGeneral.GetDatosInforme= function(inf_id,onSuccess,onFailed,userContext) {
/// <param name="inf_id" 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>
B2C.wsGeneral._staticInstance.GetDatosInforme(inf_id,onSuccess,onFailed,userContext); }
B2C.wsGeneral.GetListGruposFamilias= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {
/// <param name="knownCategoryValues" type="String">System.String</param>
/// <param name="category" 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>
B2C.wsGeneral._staticInstance.GetListGruposFamilias(knownCategoryValues,category,onSuccess,onFailed,userContext); }
B2C.wsGeneral.GetListFamilias= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {
/// <param name="knownCategoryValues" type="String">System.String</param>
/// <param name="category" 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>
B2C.wsGeneral._staticInstance.GetListFamilias(knownCategoryValues,category,onSuccess,onFailed,userContext); }
B2C.wsGeneral.GetListSubFamilias= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {
/// <param name="knownCategoryValues" type="String">System.String</param>
/// <param name="category" 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>
B2C.wsGeneral._staticInstance.GetListSubFamilias(knownCategoryValues,category,onSuccess,onFailed,userContext); }
B2C.wsGeneral.GetListSecciones= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {
/// <param name="knownCategoryValues" type="String">System.String</param>
/// <param name="category" 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>
B2C.wsGeneral._staticInstance.GetListSecciones(knownCategoryValues,category,onSuccess,onFailed,userContext); }
B2C.wsGeneral.GetListPaises= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {
/// <param name="knownCategoryValues" type="String">System.String</param>
/// <param name="category" 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>
B2C.wsGeneral._staticInstance.GetListPaises(knownCategoryValues,category,onSuccess,onFailed,userContext); }
B2C.wsGeneral.GetListProvincias= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {
/// <param name="knownCategoryValues" type="String">System.String</param>
/// <param name="category" 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>
B2C.wsGeneral._staticInstance.GetListProvincias(knownCategoryValues,category,onSuccess,onFailed,userContext); }
B2C.wsGeneral.TraerArticulo= function(productID,onSuccess,onFailed,userContext) {
/// <param name="productID" 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>
B2C.wsGeneral._staticInstance.TraerArticulo(productID,onSuccess,onFailed,userContext); }
B2C.wsGeneral.EstablecerCliente= function(CodCli,EsPreCliente,onSuccess,onFailed,userContext) {
/// <param name="CodCli" type="Number">System.Int64</param>
/// <param name="EsPreCliente" type="Boolean">System.Boolean</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>
B2C.wsGeneral._staticInstance.EstablecerCliente(CodCli,EsPreCliente,onSuccess,onFailed,userContext); }
B2C.wsGeneral.InsertShoppingCartItem= function(shoppingCartTypeEnum,ProductVariantID,ValAtri1,ValAtri2,TextOption,Quantity,cajas,CodEnvase,onSuccess,onFailed,userContext) {
/// <param name="shoppingCartTypeEnum" type="B2CStore.ShoppingCartTypeEnum">B2CStore.ShoppingCartTypeEnum</param>
/// <param name="ProductVariantID" type="String">System.String</param>
/// <param name="ValAtri1" type="String">System.String</param>
/// <param name="ValAtri2" type="String">System.String</param>
/// <param name="TextOption" type="String">System.String</param>
/// <param name="Quantity" type="Number">System.Int32</param>
/// <param name="cajas" type="Number">System.Int32</param>
/// <param name="CodEnvase" 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>
B2C.wsGeneral._staticInstance.InsertShoppingCartItem(shoppingCartTypeEnum,ProductVariantID,ValAtri1,ValAtri2,TextOption,Quantity,cajas,CodEnvase,onSuccess,onFailed,userContext); }
B2C.wsGeneral.DeleteShoppingCartItem= function(ShoppingCartItemID,onSuccess,onFailed,userContext) {
/// <param name="ShoppingCartItemID" 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>
B2C.wsGeneral._staticInstance.DeleteShoppingCartItem(ShoppingCartItemID,onSuccess,onFailed,userContext); }
B2C.wsGeneral.GetCurrentShoppingCart= function(onSuccess,onFailed,userContext) {
/// <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>
B2C.wsGeneral._staticInstance.GetCurrentShoppingCart(onSuccess,onFailed,userContext); }
B2C.wsGeneral.GetShoppingCartTotales= function(onSuccess,onFailed,userContext) {
/// <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>
B2C.wsGeneral._staticInstance.GetShoppingCartTotales(onSuccess,onFailed,userContext); }
B2C.wsGeneral.GetHTMLUsosVale= function(Admon,ValeGUID,ValeContador,onSuccess,onFailed,userContext) {
/// <param name="Admon" type="Boolean">System.Boolean</param>
/// <param name="ValeGUID" type="String">System.Guid</param>
/// <param name="ValeContador" 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>
B2C.wsGeneral._staticInstance.GetHTMLUsosVale(Admon,ValeGUID,ValeContador,onSuccess,onFailed,userContext); }
B2C.wsGeneral.TraerVale= function(CodigoVale,onSuccess,onFailed,userContext) {
/// <param name="CodigoVale" 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>
B2C.wsGeneral._staticInstance.TraerVale(CodigoVale,onSuccess,onFailed,userContext); }
B2C.wsGeneral.GetHTMLHelp= function(TopicName,onSuccess,onFailed,userContext) {
/// <param name="TopicName" 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>
B2C.wsGeneral._staticInstance.GetHTMLHelp(TopicName,onSuccess,onFailed,userContext); }
B2C.wsGeneral.SendVale_Notification= function(Vale_GUID,onSuccess,onFailed,userContext) {
/// <param name="Vale_GUID" 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>
B2C.wsGeneral._staticInstance.SendVale_Notification(Vale_GUID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(B2C.Informe) === 'undefined') {
B2C.Informe=gtc("B2C.Informe");
B2C.Informe.registerClass('B2C.Informe');
}
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}
Type.registerNamespace('B2CStore');
if (typeof(B2CStore.ShoppingCartTypeEnum) === 'undefined') {
B2CStore.ShoppingCartTypeEnum = function() { throw Error.invalidOperation(); }
B2CStore.ShoppingCartTypeEnum.prototype = {ShoppingCart: 1,Wishlist: 2}
B2CStore.ShoppingCartTypeEnum.registerEnum('B2CStore.ShoppingCartTypeEnum', true);
}

