Type.registerNamespace('Skoost.com');
Skoost.com.AjaxWebService=function() {
Skoost.com.AjaxWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Skoost.com.AjaxWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Skoost.com.AjaxWebService._staticInstance.get_path();},
signUp:function(email,name,language,female,dobStr,resolution,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'signUp',false,{email:email,name:name,language:language,female:female,dobStr:dobStr,resolution:resolution,password:password},succeededCallback,failedCallback,userContext); },
logOut:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'logOut',false,{},succeededCallback,failedCallback,userContext); },
RatePerson:function(ratedPersonId,rating,quantity,gender,country,ageFrom,ageTo,showFlirters,excludeIds,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RatePerson',false,{ratedPersonId:ratedPersonId,rating:rating,quantity:quantity,gender:gender,country:country,ageFrom:ageFrom,ageTo:ageTo,showFlirters:showFlirters,excludeIds:excludeIds},succeededCallback,failedCallback,userContext); },
unsubscribe:function(email,urlId,comment,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'unsubscribe',false,{email:email,urlId:urlId,comment:comment},succeededCallback,failedCallback,userContext); },
checkPassword:function(passw,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'checkPassword',false,{passw:passw},succeededCallback,failedCallback,userContext); },
advertClick:function(advertId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'advertClick',false,{advertId:advertId},succeededCallback,failedCallback,userContext); },
Update:function(emailUrl,newEmail,urlId,newName,newLanguage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Update',false,{emailUrl:emailUrl,newEmail:newEmail,urlId:urlId,newName:newName,newLanguage:newLanguage},succeededCallback,failedCallback,userContext); },
GetPermit:function(action,templateId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPermit',false,{action:action,templateId:templateId},succeededCallback,failedCallback,userContext); },
getActions:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getActions',false,{},succeededCallback,failedCallback,userContext); },
getGiftsHtml:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getGiftsHtml',false,{},succeededCallback,failedCallback,userContext); },
SaveGift:function(renderData,message,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveGift',false,{renderData:renderData,message:message},succeededCallback,failedCallback,userContext); },
SaveAction:function(toName,toPid,action,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveAction',false,{toName:toName,toPid:toPid,action:action},succeededCallback,failedCallback,userContext); },
SelectProduct:function(productId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SelectProduct',false,{productId:productId},succeededCallback,failedCallback,userContext); },
CheckNickNameAvalable:function(nick,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckNickNameAvalable',false,{nick:nick},succeededCallback,failedCallback,userContext); }}
Skoost.com.AjaxWebService.registerClass('Skoost.com.AjaxWebService',Sys.Net.WebServiceProxy);
Skoost.com.AjaxWebService._staticInstance = new Skoost.com.AjaxWebService();
Skoost.com.AjaxWebService.set_path = function(value) { Skoost.com.AjaxWebService._staticInstance.set_path(value); }
Skoost.com.AjaxWebService.get_path = function() { return Skoost.com.AjaxWebService._staticInstance.get_path(); }
Skoost.com.AjaxWebService.set_timeout = function(value) { Skoost.com.AjaxWebService._staticInstance.set_timeout(value); }
Skoost.com.AjaxWebService.get_timeout = function() { return Skoost.com.AjaxWebService._staticInstance.get_timeout(); }
Skoost.com.AjaxWebService.set_defaultUserContext = function(value) { Skoost.com.AjaxWebService._staticInstance.set_defaultUserContext(value); }
Skoost.com.AjaxWebService.get_defaultUserContext = function() { return Skoost.com.AjaxWebService._staticInstance.get_defaultUserContext(); }
Skoost.com.AjaxWebService.set_defaultSucceededCallback = function(value) { Skoost.com.AjaxWebService._staticInstance.set_defaultSucceededCallback(value); }
Skoost.com.AjaxWebService.get_defaultSucceededCallback = function() { return Skoost.com.AjaxWebService._staticInstance.get_defaultSucceededCallback(); }
Skoost.com.AjaxWebService.set_defaultFailedCallback = function(value) { Skoost.com.AjaxWebService._staticInstance.set_defaultFailedCallback(value); }
Skoost.com.AjaxWebService.get_defaultFailedCallback = function() { return Skoost.com.AjaxWebService._staticInstance.get_defaultFailedCallback(); }
Skoost.com.AjaxWebService.set_path("/WebService/AjaxWebService.asmx");
Skoost.com.AjaxWebService.signUp= function(email,name,language,female,dobStr,resolution,password,onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.signUp(email,name,language,female,dobStr,resolution,password,onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.logOut= function(onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.logOut(onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.RatePerson= function(ratedPersonId,rating,quantity,gender,country,ageFrom,ageTo,showFlirters,excludeIds,onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.RatePerson(ratedPersonId,rating,quantity,gender,country,ageFrom,ageTo,showFlirters,excludeIds,onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.unsubscribe= function(email,urlId,comment,onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.unsubscribe(email,urlId,comment,onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.checkPassword= function(passw,onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.checkPassword(passw,onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.advertClick= function(advertId,onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.advertClick(advertId,onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.Update= function(emailUrl,newEmail,urlId,newName,newLanguage,onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.Update(emailUrl,newEmail,urlId,newName,newLanguage,onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.GetPermit= function(action,templateId,onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.GetPermit(action,templateId,onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.getActions= function(onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.getActions(onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.getGiftsHtml= function(onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.getGiftsHtml(onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.SaveGift= function(renderData,message,onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.SaveGift(renderData,message,onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.SaveAction= function(toName,toPid,action,onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.SaveAction(toName,toPid,action,onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.SelectProduct= function(productId,onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.SelectProduct(productId,onSuccess,onFailed,userContext); }
Skoost.com.AjaxWebService.CheckNickNameAvalable= function(nick,onSuccess,onFailed,userContext) {Skoost.com.AjaxWebService._staticInstance.CheckNickNameAvalable(nick,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Skoost.com.TopDelivery) === 'undefined') {
Skoost.com.TopDelivery=gtc("Skoost.com.TopDelivery");
Skoost.com.TopDelivery.registerClass('Skoost.com.TopDelivery');
}
if (typeof(Skoost.com.BottomDelivery) === 'undefined') {
Skoost.com.BottomDelivery=gtc("Skoost.com.BottomDelivery");
Skoost.com.BottomDelivery.registerClass('Skoost.com.BottomDelivery');
}
if (typeof(Skoost.com.HelpReturnParams) === 'undefined') {
Skoost.com.HelpReturnParams=gtc("Skoost.com.HelpReturnParams");
Skoost.com.HelpReturnParams.registerClass('Skoost.com.HelpReturnParams');
}
