var DurationCatalogService=function() {
DurationCatalogService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DurationCatalogService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return DurationCatalogService._staticInstance.get_path();},
GetBidHistory:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBidHistory',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetBidHistoryForRefresh:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBidHistoryForRefresh',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetBidHistoryForPopup:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBidHistoryForPopup',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetAdditionalCharges:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAdditionalCharges',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetCustomAdditionalCharges:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCustomAdditionalCharges',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetNextValidBids:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNextValidBids',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetCurrentBidDetails:function(aiID,eID,countdownTimerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCurrentBidDetails',false,{aiID:aiID,eID:eID,countdownTimerID:countdownTimerID},succeededCallback,failedCallback,userContext); },
GetFilmstripHover:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFilmstripHover',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
SetFsCookieValue:function(strCookie,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetFsCookieValue',false,{strCookie:strCookie},succeededCallback,failedCallback,userContext); },
GetCountDownScript:function(aiID,countdownTimerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCountDownScript',false,{aiID:aiID,countdownTimerID:countdownTimerID},succeededCallback,failedCallback,userContext); },
GetCountDownScripts:function(paramValues,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCountDownScripts',false,{paramValues:paramValues},succeededCallback,failedCallback,userContext); },
CreateOutBidMail:function(previousBidderId,AuctionItemID,EventId,previousBidAmount,currentBidUSD,nextValidBidUSD,previousBidAmountUSD,currentBidINR,nextValidBidINR,OutbidEmailFrom,OutbidEmailSubject,ImageServer,bidNowUrl,saArtistName,litLotNumberHeading,hdnArtistName,filestoembed,LoggedInUserId,LoggedInUserName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateOutBidMail',false,{previousBidderId:previousBidderId,AuctionItemID:AuctionItemID,EventId:EventId,previousBidAmount:previousBidAmount,currentBidUSD:currentBidUSD,nextValidBidUSD:nextValidBidUSD,previousBidAmountUSD:previousBidAmountUSD,currentBidINR:currentBidINR,nextValidBidINR:nextValidBidINR,OutbidEmailFrom:OutbidEmailFrom,OutbidEmailSubject:OutbidEmailSubject,ImageServer:ImageServer,bidNowUrl:bidNowUrl,saArtistName:saArtistName,litLotNumberHeading:litLotNumberHeading,hdnArtistName:hdnArtistName,filestoembed:filestoembed,LoggedInUserId:LoggedInUserId,LoggedInUserName:LoggedInUserName},succeededCallback,failedCallback,userContext); },
CreateFraudBidMail:function(LoggedInUserId,AuctionItemID,bidAmount,currentBidUSD,nextValidBidUSD,bidAmountRs,currentBidINR,nextValidBidINR,FraudBidEmailTo,FraudBidEmailFrom,FraudBidEmailSubject,ImageServer,bidNowUrl,saArtistName,litLotNumberHeading,ArtworkName,LoggedInUserName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateFraudBidMail',false,{LoggedInUserId:LoggedInUserId,AuctionItemID:AuctionItemID,bidAmount:bidAmount,currentBidUSD:currentBidUSD,nextValidBidUSD:nextValidBidUSD,bidAmountRs:bidAmountRs,currentBidINR:currentBidINR,nextValidBidINR:nextValidBidINR,FraudBidEmailTo:FraudBidEmailTo,FraudBidEmailFrom:FraudBidEmailFrom,FraudBidEmailSubject:FraudBidEmailSubject,ImageServer:ImageServer,bidNowUrl:bidNowUrl,saArtistName:saArtistName,litLotNumberHeading:litLotNumberHeading,ArtworkName:ArtworkName,LoggedInUserName:LoggedInUserName},succeededCallback,failedCallback,userContext); },
RenderFilmStrip:function(eventID,bidsOnly,pageSize,pageNumber,plastLotNos,IncludeClosedLots,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RenderFilmStrip',false,{eventID:eventID,bidsOnly:bidsOnly,pageSize:pageSize,pageNumber:pageNumber,plastLotNos:plastLotNos,IncludeClosedLots:IncludeClosedLots},succeededCallback,failedCallback,userContext); },
AddConditionReport:function(userid,itemid,eventid,viewedon,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddConditionReport',false,{userid:userid,itemid:itemid,eventid:eventid,viewedon:viewedon},succeededCallback,failedCallback,userContext); }}
DurationCatalogService.registerClass('DurationCatalogService',Sys.Net.WebServiceProxy);
DurationCatalogService._staticInstance = new DurationCatalogService();
DurationCatalogService.set_path = function(value) { DurationCatalogService._staticInstance.set_path(value); }
DurationCatalogService.get_path = function() { return DurationCatalogService._staticInstance.get_path(); }
DurationCatalogService.set_timeout = function(value) { DurationCatalogService._staticInstance.set_timeout(value); }
DurationCatalogService.get_timeout = function() { return DurationCatalogService._staticInstance.get_timeout(); }
DurationCatalogService.set_defaultUserContext = function(value) { DurationCatalogService._staticInstance.set_defaultUserContext(value); }
DurationCatalogService.get_defaultUserContext = function() { return DurationCatalogService._staticInstance.get_defaultUserContext(); }
DurationCatalogService.set_defaultSucceededCallback = function(value) { DurationCatalogService._staticInstance.set_defaultSucceededCallback(value); }
DurationCatalogService.get_defaultSucceededCallback = function() { return DurationCatalogService._staticInstance.get_defaultSucceededCallback(); }
DurationCatalogService.set_defaultFailedCallback = function(value) { DurationCatalogService._staticInstance.set_defaultFailedCallback(value); }
DurationCatalogService.get_defaultFailedCallback = function() { return DurationCatalogService._staticInstance.get_defaultFailedCallback(); }
DurationCatalogService.set_path("/webservices/DurationCatalogService.asmx");
DurationCatalogService.GetBidHistory= function(contextKey,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.GetBidHistory(contextKey,onSuccess,onFailed,userContext); }
DurationCatalogService.GetBidHistoryForRefresh= function(contextKey,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.GetBidHistoryForRefresh(contextKey,onSuccess,onFailed,userContext); }
DurationCatalogService.GetBidHistoryForPopup= function(contextKey,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.GetBidHistoryForPopup(contextKey,onSuccess,onFailed,userContext); }
DurationCatalogService.GetAdditionalCharges= function(contextKey,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.GetAdditionalCharges(contextKey,onSuccess,onFailed,userContext); }
DurationCatalogService.GetCustomAdditionalCharges= function(contextKey,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.GetCustomAdditionalCharges(contextKey,onSuccess,onFailed,userContext); }
DurationCatalogService.GetNextValidBids= function(contextKey,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.GetNextValidBids(contextKey,onSuccess,onFailed,userContext); }
DurationCatalogService.GetCurrentBidDetails= function(aiID,eID,countdownTimerID,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.GetCurrentBidDetails(aiID,eID,countdownTimerID,onSuccess,onFailed,userContext); }
DurationCatalogService.GetFilmstripHover= function(contextKey,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.GetFilmstripHover(contextKey,onSuccess,onFailed,userContext); }
DurationCatalogService.SetFsCookieValue= function(strCookie,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.SetFsCookieValue(strCookie,onSuccess,onFailed,userContext); }
DurationCatalogService.GetCountDownScript= function(aiID,countdownTimerID,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.GetCountDownScript(aiID,countdownTimerID,onSuccess,onFailed,userContext); }
DurationCatalogService.GetCountDownScripts= function(paramValues,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.GetCountDownScripts(paramValues,onSuccess,onFailed,userContext); }
DurationCatalogService.CreateOutBidMail= function(previousBidderId,AuctionItemID,EventId,previousBidAmount,currentBidUSD,nextValidBidUSD,previousBidAmountUSD,currentBidINR,nextValidBidINR,OutbidEmailFrom,OutbidEmailSubject,ImageServer,bidNowUrl,saArtistName,litLotNumberHeading,hdnArtistName,filestoembed,LoggedInUserId,LoggedInUserName,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.CreateOutBidMail(previousBidderId,AuctionItemID,EventId,previousBidAmount,currentBidUSD,nextValidBidUSD,previousBidAmountUSD,currentBidINR,nextValidBidINR,OutbidEmailFrom,OutbidEmailSubject,ImageServer,bidNowUrl,saArtistName,litLotNumberHeading,hdnArtistName,filestoembed,LoggedInUserId,LoggedInUserName,onSuccess,onFailed,userContext); }
DurationCatalogService.CreateFraudBidMail= function(LoggedInUserId,AuctionItemID,bidAmount,currentBidUSD,nextValidBidUSD,bidAmountRs,currentBidINR,nextValidBidINR,FraudBidEmailTo,FraudBidEmailFrom,FraudBidEmailSubject,ImageServer,bidNowUrl,saArtistName,litLotNumberHeading,ArtworkName,LoggedInUserName,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.CreateFraudBidMail(LoggedInUserId,AuctionItemID,bidAmount,currentBidUSD,nextValidBidUSD,bidAmountRs,currentBidINR,nextValidBidINR,FraudBidEmailTo,FraudBidEmailFrom,FraudBidEmailSubject,ImageServer,bidNowUrl,saArtistName,litLotNumberHeading,ArtworkName,LoggedInUserName,onSuccess,onFailed,userContext); }
DurationCatalogService.RenderFilmStrip= function(eventID,bidsOnly,pageSize,pageNumber,plastLotNos,IncludeClosedLots,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.RenderFilmStrip(eventID,bidsOnly,pageSize,pageNumber,plastLotNos,IncludeClosedLots,onSuccess,onFailed,userContext); }
DurationCatalogService.AddConditionReport= function(userid,itemid,eventid,viewedon,onSuccess,onFailed,userContext) {DurationCatalogService._staticInstance.AddConditionReport(userid,itemid,eventid,viewedon,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SaffronArt.Business.Events');
if (typeof(SaffronArt.Business.Events.BidRefreshInfo) === 'undefined') {
SaffronArt.Business.Events.BidRefreshInfo=gtc("SaffronArt.Business.Events.BidRefreshInfo");
SaffronArt.Business.Events.BidRefreshInfo.registerClass('SaffronArt.Business.Events.BidRefreshInfo');
}
if (typeof(SaffronArt.Business.Events.FilmStripInfo) === 'undefined') {
SaffronArt.Business.Events.FilmStripInfo=gtc("SaffronArt.Business.Events.FilmStripInfo");
SaffronArt.Business.Events.FilmStripInfo.registerClass('SaffronArt.Business.Events.FilmStripInfo');
}
