var WebService=function() {
WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebService.prototype={
GetSellerNamesWithRowCount:function(sellerName,startRow,endRow,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetSellerNamesWithRowCount',true,{sellerName:sellerName,startRow:startRow,endRow:endRow},succeededCallback,failedCallback,userContext); },
GetArtistNamesWithRowCount:function(artistName,startRow,endRow,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetArtistNamesWithRowCount',true,{artistName:artistName,startRow:startRow,endRow:endRow},succeededCallback,failedCallback,userContext); },
GetSellerFullNamesWithRowCount:function(sellerName,startRow,endRow,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetSellerFullNamesWithRowCount',true,{sellerName:sellerName,startRow:startRow,endRow:endRow},succeededCallback,failedCallback,userContext); },
IsUserExistInBothSystems:function(loginName,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'IsUserExistInBothSystems',true,{loginName:loginName},succeededCallback,failedCallback,userContext); },
LoginToSystem:function(loginName,password,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'LoginToSystem',false,{loginName:loginName,password:password},succeededCallback,failedCallback,userContext); },
IsUserAccountSuspended:function(loginName,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'IsUserAccountSuspended',true,{loginName:loginName},succeededCallback,failedCallback,userContext); },
IsAuthentication:function(isLinkBtn,isLoginButtons,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'IsAuthentication',false,{isLinkBtn:isLinkBtn,isLoginButtons:isLoginButtons},succeededCallback,failedCallback,userContext); },
AddToWatchList:function(lotId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'AddToWatchList',true,{lotId:lotId},succeededCallback,failedCallback,userContext); },
DelFromWatchList:function(lotId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'DelFromWatchList',true,{lotId:lotId},succeededCallback,failedCallback,userContext); },
SetCookies:function(loginName,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'SetCookies',false,{loginName:loginName},succeededCallback,failedCallback,userContext); },
SetBuyerToSeller:function(loginName,currentUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'SetBuyerToSeller',false,{loginName:loginName,currentUrl:currentUrl},succeededCallback,failedCallback,userContext); },
GetLastStepForSeller:function(loginName,currentUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetLastStepForSeller',false,{loginName:loginName,currentUrl:currentUrl},succeededCallback,failedCallback,userContext); },
GetLastStepForBuyer:function(loginName,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetLastStepForBuyer',false,{loginName:loginName},succeededCallback,failedCallback,userContext); },
CheckWatchList:function(lotId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'CheckWatchList',true,{lotId:lotId},succeededCallback,failedCallback,userContext); },
ProcessBid:function(lotIdStr,amountStr,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'ProcessBid',false,{lotIdStr:lotIdStr,amountStr:amountStr},succeededCallback,failedCallback,userContext); },
PurchaseNow:function(lotIdStr,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'PurchaseNow',false,{lotIdStr:lotIdStr},succeededCallback,failedCallback,userContext); },
MakeAnOffer:function(lotIdStr,amountStr,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'MakeAnOffer',false,{lotIdStr:lotIdStr,amountStr:amountStr},succeededCallback,failedCallback,userContext); },
GetBidCode:function(lotId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetBidCode',false,{lotId:lotId},succeededCallback,failedCallback,userContext); },
GetBidInfo:function(lotIdStr,caller,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetBidInfo',false,{lotIdStr:lotIdStr,caller:caller},succeededCallback,failedCallback,userContext); },
GetPreBidInfo:function(lotIdStr,amountStr,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetPreBidInfo',true,{lotIdStr:lotIdStr,amountStr:amountStr},succeededCallback,failedCallback,userContext); },
IsBidTooLow:function(lotIdStr,amountStr,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'IsBidTooLow',true,{lotIdStr:lotIdStr,amountStr:amountStr},succeededCallback,failedCallback,userContext); },
IsMaoTooLow:function(lotIdStr,amountStr,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'IsMaoTooLow',true,{lotIdStr:lotIdStr,amountStr:amountStr},succeededCallback,failedCallback,userContext); },
GetState:function(countryId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetState',true,{countryId:countryId},succeededCallback,failedCallback,userContext); },
GetAuctionTypeCodeByLotId:function(lotId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetAuctionTypeCodeByLotId',true,{lotId:lotId},succeededCallback,failedCallback,userContext); },
ReachBidAgentHistory:function(lotId,pageIndex,pageSize,isExtendedView,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'ReachBidAgentHistory',false,{lotId:lotId,pageIndex:pageIndex,pageSize:pageSize,isExtendedView:isExtendedView},succeededCallback,failedCallback,userContext); },
ReachBiddingHistory:function(lotId,bidTypes,bidStates,pageIndex,pageSize,isExtendedView,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'ReachBiddingHistory',false,{lotId:lotId,bidTypes:bidTypes,bidStates:bidStates,pageIndex:pageIndex,pageSize:pageSize,isExtendedView:isExtendedView},succeededCallback,failedCallback,userContext); },
MarkAsRead:function(messageId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'MarkAsRead',true,{messageId:messageId},succeededCallback,failedCallback,userContext); },
RetractBid:function(bidId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'RetractBid',false,{bidId:bidId},succeededCallback,failedCallback,userContext); },
RetractBidAgent:function(agentId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'RetractBidAgent',false,{agentId:agentId},succeededCallback,failedCallback,userContext); },
GetLastAlert:function(lotId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetLastAlert',true,{lotId:lotId},succeededCallback,failedCallback,userContext); },
SaveTabPosition:function(page,position,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'SaveTabPosition',false,{page:page,position:position},succeededCallback,failedCallback,userContext); }}
WebService.registerClass('WebService',Sys.Net.WebServiceProxy);
WebService._staticInstance = new WebService();
WebService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WebService._staticInstance._path = value; }
WebService.get_path = function() { return WebService._staticInstance._path; }
WebService.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); }
WebService._staticInstance._timeout = value; }
WebService.get_timeout = function() { 
return WebService._staticInstance._timeout; }
WebService.set_defaultUserContext = function(value) { 
WebService._staticInstance._userContext = value; }
WebService.get_defaultUserContext = function() { 
return WebService._staticInstance._userContext; }
WebService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WebService._staticInstance._succeeded = value; }
WebService.get_defaultSucceededCallback = function() { 
return WebService._staticInstance._succeeded; }
WebService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WebService._staticInstance._failed = value; }
WebService.get_defaultFailedCallback = function() { 
return WebService._staticInstance._failed; }
WebService.set_path("/auctions/WebService.asmx");
WebService.GetSellerNamesWithRowCount= function(sellerName,startRow,endRow,onSuccess,onFailed,userContext) {WebService._staticInstance.GetSellerNamesWithRowCount(sellerName,startRow,endRow,onSuccess,onFailed,userContext); }
WebService.GetArtistNamesWithRowCount= function(artistName,startRow,endRow,onSuccess,onFailed,userContext) {WebService._staticInstance.GetArtistNamesWithRowCount(artistName,startRow,endRow,onSuccess,onFailed,userContext); }
WebService.GetSellerFullNamesWithRowCount= function(sellerName,startRow,endRow,onSuccess,onFailed,userContext) {WebService._staticInstance.GetSellerFullNamesWithRowCount(sellerName,startRow,endRow,onSuccess,onFailed,userContext); }
WebService.IsUserExistInBothSystems= function(loginName,onSuccess,onFailed,userContext) {WebService._staticInstance.IsUserExistInBothSystems(loginName,onSuccess,onFailed,userContext); }
WebService.LoginToSystem= function(loginName,password,onSuccess,onFailed,userContext) {WebService._staticInstance.LoginToSystem(loginName,password,onSuccess,onFailed,userContext); }
WebService.IsUserAccountSuspended= function(loginName,onSuccess,onFailed,userContext) {WebService._staticInstance.IsUserAccountSuspended(loginName,onSuccess,onFailed,userContext); }
WebService.IsAuthentication= function(isLinkBtn,isLoginButtons,onSuccess,onFailed,userContext) {WebService._staticInstance.IsAuthentication(isLinkBtn,isLoginButtons,onSuccess,onFailed,userContext); }
WebService.AddToWatchList= function(lotId,onSuccess,onFailed,userContext) {WebService._staticInstance.AddToWatchList(lotId,onSuccess,onFailed,userContext); }
WebService.DelFromWatchList= function(lotId,onSuccess,onFailed,userContext) {WebService._staticInstance.DelFromWatchList(lotId,onSuccess,onFailed,userContext); }
WebService.SetCookies= function(loginName,onSuccess,onFailed,userContext) {WebService._staticInstance.SetCookies(loginName,onSuccess,onFailed,userContext); }
WebService.SetBuyerToSeller= function(loginName,currentUrl,onSuccess,onFailed,userContext) {WebService._staticInstance.SetBuyerToSeller(loginName,currentUrl,onSuccess,onFailed,userContext); }
WebService.GetLastStepForSeller= function(loginName,currentUrl,onSuccess,onFailed,userContext) {WebService._staticInstance.GetLastStepForSeller(loginName,currentUrl,onSuccess,onFailed,userContext); }
WebService.GetLastStepForBuyer= function(loginName,onSuccess,onFailed,userContext) {WebService._staticInstance.GetLastStepForBuyer(loginName,onSuccess,onFailed,userContext); }
WebService.CheckWatchList= function(lotId,onSuccess,onFailed,userContext) {WebService._staticInstance.CheckWatchList(lotId,onSuccess,onFailed,userContext); }
WebService.ProcessBid= function(lotIdStr,amountStr,onSuccess,onFailed,userContext) {WebService._staticInstance.ProcessBid(lotIdStr,amountStr,onSuccess,onFailed,userContext); }
WebService.PurchaseNow= function(lotIdStr,onSuccess,onFailed,userContext) {WebService._staticInstance.PurchaseNow(lotIdStr,onSuccess,onFailed,userContext); }
WebService.MakeAnOffer= function(lotIdStr,amountStr,onSuccess,onFailed,userContext) {WebService._staticInstance.MakeAnOffer(lotIdStr,amountStr,onSuccess,onFailed,userContext); }
WebService.GetBidCode= function(lotId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetBidCode(lotId,onSuccess,onFailed,userContext); }
WebService.GetBidInfo= function(lotIdStr,caller,onSuccess,onFailed,userContext) {WebService._staticInstance.GetBidInfo(lotIdStr,caller,onSuccess,onFailed,userContext); }
WebService.GetPreBidInfo= function(lotIdStr,amountStr,onSuccess,onFailed,userContext) {WebService._staticInstance.GetPreBidInfo(lotIdStr,amountStr,onSuccess,onFailed,userContext); }
WebService.IsBidTooLow= function(lotIdStr,amountStr,onSuccess,onFailed,userContext) {WebService._staticInstance.IsBidTooLow(lotIdStr,amountStr,onSuccess,onFailed,userContext); }
WebService.IsMaoTooLow= function(lotIdStr,amountStr,onSuccess,onFailed,userContext) {WebService._staticInstance.IsMaoTooLow(lotIdStr,amountStr,onSuccess,onFailed,userContext); }
WebService.GetState= function(countryId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetState(countryId,onSuccess,onFailed,userContext); }
WebService.GetAuctionTypeCodeByLotId= function(lotId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetAuctionTypeCodeByLotId(lotId,onSuccess,onFailed,userContext); }
WebService.ReachBidAgentHistory= function(lotId,pageIndex,pageSize,isExtendedView,onSuccess,onFailed,userContext) {WebService._staticInstance.ReachBidAgentHistory(lotId,pageIndex,pageSize,isExtendedView,onSuccess,onFailed,userContext); }
WebService.ReachBiddingHistory= function(lotId,bidTypes,bidStates,pageIndex,pageSize,isExtendedView,onSuccess,onFailed,userContext) {WebService._staticInstance.ReachBiddingHistory(lotId,bidTypes,bidStates,pageIndex,pageSize,isExtendedView,onSuccess,onFailed,userContext); }
WebService.MarkAsRead= function(messageId,onSuccess,onFailed,userContext) {WebService._staticInstance.MarkAsRead(messageId,onSuccess,onFailed,userContext); }
WebService.RetractBid= function(bidId,onSuccess,onFailed,userContext) {WebService._staticInstance.RetractBid(bidId,onSuccess,onFailed,userContext); }
WebService.RetractBidAgent= function(agentId,onSuccess,onFailed,userContext) {WebService._staticInstance.RetractBidAgent(agentId,onSuccess,onFailed,userContext); }
WebService.GetLastAlert= function(lotId,onSuccess,onFailed,userContext) {WebService._staticInstance.GetLastAlert(lotId,onSuccess,onFailed,userContext); }
WebService.SaveTabPosition= function(page,position,onSuccess,onFailed,userContext) {WebService._staticInstance.SaveTabPosition(page,position,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('DataArt.Artnet.OnlineAuction.DataGateway.Data.Info.BidAgent');
if (typeof(DataArt.Artnet.OnlineAuction.DataGateway.Data.Info.BidAgent.BidInfo) === 'undefined') {
DataArt.Artnet.OnlineAuction.DataGateway.Data.Info.BidAgent.BidInfo=gtc("DataArt.Artnet.OnlineAuction.DataGateway.Data.Info.BidAgent.BidInfo");
DataArt.Artnet.OnlineAuction.DataGateway.Data.Info.BidAgent.BidInfo.registerClass('DataArt.Artnet.OnlineAuction.DataGateway.Data.Info.BidAgent.BidInfo');
}
if (typeof(DataArt.Artnet.OnlineAuction.DataGateway.Data.Info.BidAgent.PreBidInfo) === 'undefined') {
DataArt.Artnet.OnlineAuction.DataGateway.Data.Info.BidAgent.PreBidInfo=gtc("DataArt.Artnet.OnlineAuction.DataGateway.Data.Info.BidAgent.PreBidInfo");
DataArt.Artnet.OnlineAuction.DataGateway.Data.Info.BidAgent.PreBidInfo.registerClass('DataArt.Artnet.OnlineAuction.DataGateway.Data.Info.BidAgent.PreBidInfo');
}
if (typeof(BiddingHistoryTO) === 'undefined') {
var BiddingHistoryTO=gtc("BiddingHistoryTO");
BiddingHistoryTO.registerClass('BiddingHistoryTO');
}
