Type.registerNamespace('DSInfo.Client.Web');
DSInfo.Client.Web.Services=function() {
DSInfo.Client.Web.Services.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DSInfo.Client.Web.Services.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return DSInfo.Client.Web.Services._staticInstance.get_path();},
GenerateQL:function(lnk,desc,succeededCallback, failedCallback, userContext) {
/// <param name="lnk" type="String">System.String</param>
/// <param name="desc" 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(), 'GenerateQL',false,{lnk:lnk,desc:desc},succeededCallback,failedCallback,userContext); },
RemoveGuestPhoto:function(Name,succeededCallback, failedCallback, userContext) {
/// <param name="Name" 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(), 'RemoveGuestPhoto',false,{Name:Name},succeededCallback,failedCallback,userContext); },
RenameGuestPhoto:function(oldName,newName,succeededCallback, failedCallback, userContext) {
/// <param name="oldName" type="String">System.String</param>
/// <param name="newName" 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(), 'RenameGuestPhoto',false,{oldName:oldName,newName:newName},succeededCallback,failedCallback,userContext); },
GetGuestPhotoList: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(), 'GetGuestPhotoList',false,{},succeededCallback,failedCallback,userContext); },
GetAllGuestPhotos: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(), 'GetAllGuestPhotos',false,{},succeededCallback,failedCallback,userContext); },
GetSimilarDancers:function(name,pageNo,pageSize,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="pageNo" type="Number">System.Int32</param>
/// <param name="pageSize" 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(), 'GetSimilarDancers',false,{name:name,pageNo:pageNo,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
GetSimilarCouples:function(name,pageNo,pageSize,photos,countryID,lang,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="pageNo" type="Number">System.Int32</param>
/// <param name="pageSize" type="Number">System.Int32</param>
/// <param name="photos" type="Number">System.Int32</param>
/// <param name="countryID" type="String">System.String</param>
/// <param name="lang" 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(), 'GetSimilarCouples',false,{name:name,pageNo:pageNo,pageSize:pageSize,photos:photos,countryID:countryID,lang:lang},succeededCallback,failedCallback,userContext); },
GetMenuContent:function(lang,succeededCallback, failedCallback, userContext) {
/// <param name="lang" 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(), 'GetMenuContent',false,{lang:lang},succeededCallback,failedCallback,userContext); },
AddShoppingBasketItem:function(productName,productCode,price,discount,qty,currency,attributes,noShipment,unitPrices,succeededCallback, failedCallback, userContext) {
/// <param name="productName" type="String">System.String</param>
/// <param name="productCode" type="String">System.String</param>
/// <param name="price" type="Number">System.Decimal</param>
/// <param name="discount" type="Number">System.Decimal</param>
/// <param name="qty" type="Number">System.Decimal</param>
/// <param name="currency" type="String">System.String</param>
/// <param name="attributes" type="String">System.String</param>
/// <param name="noShipment" type="Boolean">System.Boolean</param>
/// <param name="unitPrices" type="Array">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(), 'AddShoppingBasketItem',false,{productName:productName,productCode:productCode,price:price,discount:discount,qty:qty,currency:currency,attributes:attributes,noShipment:noShipment,unitPrices:unitPrices},succeededCallback,failedCallback,userContext); },
GetCompetitionList:function(countryID,town,started,name,lang,pageNo,pageSize,photosAvailable,videosAvailable,succeededCallback, failedCallback, userContext) {
/// <param name="countryID" type="String">System.String</param>
/// <param name="town" type="String">System.String</param>
/// <param name="started" type="String">System.String</param>
/// <param name="name" type="String">System.String</param>
/// <param name="lang" type="String">System.String</param>
/// <param name="pageNo" type="Number">System.Int32</param>
/// <param name="pageSize" type="Number">System.Int32</param>
/// <param name="photosAvailable" type="Boolean">System.Boolean</param>
/// <param name="videosAvailable" 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(), 'GetCompetitionList',false,{countryID:countryID,town:town,started:started,name:name,lang:lang,pageNo:pageNo,pageSize:pageSize,photosAvailable:photosAvailable,videosAvailable:videosAvailable},succeededCallback,failedCallback,userContext); },
GetLoginDetails: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(), 'GetLoginDetails',false,{},succeededCallback,failedCallback,userContext); },
GetAllCountries:function(language,succeededCallback, failedCallback, userContext) {
/// <param name="language" 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(), 'GetAllCountries',false,{language:language},succeededCallback,failedCallback,userContext); },
GetPlaces:function(CountryID,succeededCallback, failedCallback, userContext) {
/// <param name="CountryID" 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(), 'GetPlaces',false,{CountryID:CountryID},succeededCallback,failedCallback,userContext); },
SelectPayPalPayment: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(), 'SelectPayPalPayment',false,{},succeededCallback,failedCallback,userContext); }}
DSInfo.Client.Web.Services.registerClass('DSInfo.Client.Web.Services',Sys.Net.WebServiceProxy);
DSInfo.Client.Web.Services._staticInstance = new DSInfo.Client.Web.Services();
DSInfo.Client.Web.Services.set_path = function(value) {
DSInfo.Client.Web.Services._staticInstance.set_path(value); }
DSInfo.Client.Web.Services.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return DSInfo.Client.Web.Services._staticInstance.get_path();}
DSInfo.Client.Web.Services.set_timeout = function(value) {
DSInfo.Client.Web.Services._staticInstance.set_timeout(value); }
DSInfo.Client.Web.Services.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return DSInfo.Client.Web.Services._staticInstance.get_timeout(); }
DSInfo.Client.Web.Services.set_defaultUserContext = function(value) { 
DSInfo.Client.Web.Services._staticInstance.set_defaultUserContext(value); }
DSInfo.Client.Web.Services.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return DSInfo.Client.Web.Services._staticInstance.get_defaultUserContext(); }
DSInfo.Client.Web.Services.set_defaultSucceededCallback = function(value) { 
 DSInfo.Client.Web.Services._staticInstance.set_defaultSucceededCallback(value); }
DSInfo.Client.Web.Services.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return DSInfo.Client.Web.Services._staticInstance.get_defaultSucceededCallback(); }
DSInfo.Client.Web.Services.set_defaultFailedCallback = function(value) { 
DSInfo.Client.Web.Services._staticInstance.set_defaultFailedCallback(value); }
DSInfo.Client.Web.Services.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return DSInfo.Client.Web.Services._staticInstance.get_defaultFailedCallback(); }
DSInfo.Client.Web.Services.set_path("/Services.asmx");
DSInfo.Client.Web.Services.GenerateQL= function(lnk,desc,onSuccess,onFailed,userContext) {
/// <param name="lnk" type="String">System.String</param>
/// <param name="desc" 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>
DSInfo.Client.Web.Services._staticInstance.GenerateQL(lnk,desc,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.RemoveGuestPhoto= function(Name,onSuccess,onFailed,userContext) {
/// <param name="Name" 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>
DSInfo.Client.Web.Services._staticInstance.RemoveGuestPhoto(Name,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.RenameGuestPhoto= function(oldName,newName,onSuccess,onFailed,userContext) {
/// <param name="oldName" type="String">System.String</param>
/// <param name="newName" 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>
DSInfo.Client.Web.Services._staticInstance.RenameGuestPhoto(oldName,newName,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetGuestPhotoList= 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>
DSInfo.Client.Web.Services._staticInstance.GetGuestPhotoList(onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetAllGuestPhotos= 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>
DSInfo.Client.Web.Services._staticInstance.GetAllGuestPhotos(onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetSimilarDancers= function(name,pageNo,pageSize,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="pageNo" type="Number">System.Int32</param>
/// <param name="pageSize" 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>
DSInfo.Client.Web.Services._staticInstance.GetSimilarDancers(name,pageNo,pageSize,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetSimilarCouples= function(name,pageNo,pageSize,photos,countryID,lang,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="pageNo" type="Number">System.Int32</param>
/// <param name="pageSize" type="Number">System.Int32</param>
/// <param name="photos" type="Number">System.Int32</param>
/// <param name="countryID" type="String">System.String</param>
/// <param name="lang" 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>
DSInfo.Client.Web.Services._staticInstance.GetSimilarCouples(name,pageNo,pageSize,photos,countryID,lang,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetMenuContent= function(lang,onSuccess,onFailed,userContext) {
/// <param name="lang" 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>
DSInfo.Client.Web.Services._staticInstance.GetMenuContent(lang,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.AddShoppingBasketItem= function(productName,productCode,price,discount,qty,currency,attributes,noShipment,unitPrices,onSuccess,onFailed,userContext) {
/// <param name="productName" type="String">System.String</param>
/// <param name="productCode" type="String">System.String</param>
/// <param name="price" type="Number">System.Decimal</param>
/// <param name="discount" type="Number">System.Decimal</param>
/// <param name="qty" type="Number">System.Decimal</param>
/// <param name="currency" type="String">System.String</param>
/// <param name="attributes" type="String">System.String</param>
/// <param name="noShipment" type="Boolean">System.Boolean</param>
/// <param name="unitPrices" type="Array">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>
DSInfo.Client.Web.Services._staticInstance.AddShoppingBasketItem(productName,productCode,price,discount,qty,currency,attributes,noShipment,unitPrices,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetCompetitionList= function(countryID,town,started,name,lang,pageNo,pageSize,photosAvailable,videosAvailable,onSuccess,onFailed,userContext) {
/// <param name="countryID" type="String">System.String</param>
/// <param name="town" type="String">System.String</param>
/// <param name="started" type="String">System.String</param>
/// <param name="name" type="String">System.String</param>
/// <param name="lang" type="String">System.String</param>
/// <param name="pageNo" type="Number">System.Int32</param>
/// <param name="pageSize" type="Number">System.Int32</param>
/// <param name="photosAvailable" type="Boolean">System.Boolean</param>
/// <param name="videosAvailable" 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>
DSInfo.Client.Web.Services._staticInstance.GetCompetitionList(countryID,town,started,name,lang,pageNo,pageSize,photosAvailable,videosAvailable,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetLoginDetails= 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>
DSInfo.Client.Web.Services._staticInstance.GetLoginDetails(onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetAllCountries= function(language,onSuccess,onFailed,userContext) {
/// <param name="language" 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>
DSInfo.Client.Web.Services._staticInstance.GetAllCountries(language,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetPlaces= function(CountryID,onSuccess,onFailed,userContext) {
/// <param name="CountryID" 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>
DSInfo.Client.Web.Services._staticInstance.GetPlaces(CountryID,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.SelectPayPalPayment= 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>
DSInfo.Client.Web.Services._staticInstance.SelectPayPalPayment(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(DSInfo.Client.Web.FileInformation) === 'undefined') {
DSInfo.Client.Web.FileInformation=gtc("DSInfo.Client.Web.FileInformation");
DSInfo.Client.Web.FileInformation.registerClass('DSInfo.Client.Web.FileInformation');
}
if (typeof(DSInfo.Client.Web.SearchPersonRow) === 'undefined') {
DSInfo.Client.Web.SearchPersonRow=gtc("DSInfo.Client.Web.SearchPersonRow");
DSInfo.Client.Web.SearchPersonRow.registerClass('DSInfo.Client.Web.SearchPersonRow');
}
if (typeof(DSInfo.Client.Web.SearchCoupleResult) === 'undefined') {
DSInfo.Client.Web.SearchCoupleResult=gtc("DSInfo.Client.Web.SearchCoupleResult");
DSInfo.Client.Web.SearchCoupleResult.registerClass('DSInfo.Client.Web.SearchCoupleResult');
}
if (typeof(DSInfo.Client.Web.SearchCompResult) === 'undefined') {
DSInfo.Client.Web.SearchCompResult=gtc("DSInfo.Client.Web.SearchCompResult");
DSInfo.Client.Web.SearchCompResult.registerClass('DSInfo.Client.Web.SearchCompResult');
}
if (typeof(DSInfo.Client.Web.LogInDetails) === 'undefined') {
DSInfo.Client.Web.LogInDetails=gtc("DSInfo.Client.Web.LogInDetails");
DSInfo.Client.Web.LogInDetails.registerClass('DSInfo.Client.Web.LogInDetails');
}
if (typeof(DSInfo.Client.Web.CountryReturn) === 'undefined') {
DSInfo.Client.Web.CountryReturn=gtc("DSInfo.Client.Web.CountryReturn");
DSInfo.Client.Web.CountryReturn.registerClass('DSInfo.Client.Web.CountryReturn');
}
