Type.registerNamespace('Complaceo.Web.Services');
Complaceo.Web.Services.SearchProfiles=function() {
Complaceo.Web.Services.SearchProfiles.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Complaceo.Web.Services.SearchProfiles.prototype={
ProfilesByCategory_IdOnly:function(category,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'ProfilesByCategory_IdOnly',false,{category:category},succeededCallback,failedCallback,userContext); },
ValidateUrl:function(url,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'ValidateUrl',false,{url:url},succeededCallback,failedCallback,userContext); },
SearchFreeText_IdOnly:function(type,searchParams,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'SearchFreeText_IdOnly',false,{type:type,searchParams:searchParams},succeededCallback,failedCallback,userContext); },
SearchJobs:function(type,searchString,searchType,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'SearchJobs',false,{type:type,searchString:searchString,searchType:searchType},succeededCallback,failedCallback,userContext); },
GetStatics:function(searchType,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'GetStatics',false,{searchType:searchType},succeededCallback,failedCallback,userContext); },
GetHTMLForJob:function(id,culture,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'GetHTMLForJob',false,{id:id,culture:culture},succeededCallback,failedCallback,userContext); },
ToggleSearchable:function(profileID,searchType,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'ToggleSearchable',false,{profileID:profileID,searchType:searchType},succeededCallback,failedCallback,userContext); },
ArchiveProfile:function(profileID,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'ArchiveProfile',false,{profileID:profileID},succeededCallback,failedCallback,userContext); },
CopyProfile:function(profileID,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'CopyProfile',false,{profileID:profileID},succeededCallback,failedCallback,userContext); },
SearchForMatchingProfiles:function(profileID,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'SearchForMatchingProfiles',false,{profileID:profileID},succeededCallback,failedCallback,userContext); },
CreateAgentForProfile:function(profileID,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'CreateAgentForProfile',false,{profileID:profileID},succeededCallback,failedCallback,userContext); },
EditAgentForProfile:function(profileID,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'EditAgentForProfile',false,{profileID:profileID},succeededCallback,failedCallback,userContext); },
GetAgentCreatedSiteCatalystScript:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'GetAgentCreatedSiteCatalystScript',false,{},succeededCallback,failedCallback,userContext); },
GetHTMLForCategoryById:function(profileId,category,activeTab,type,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'GetHTMLForCategoryById',false,{profileId:profileId,category:category,activeTab:activeTab,type:type},succeededCallback,failedCallback,userContext); },
GetHTMLForSearchById:function(id,type,search,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'GetHTMLForSearchById',false,{id:id,type:type,search:search},succeededCallback,failedCallback,userContext); },
SaveMailTemplate:function(json,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'SaveMailTemplate',false,{json:json},succeededCallback,failedCallback,userContext); },
GetMailTemplate:function(mailType,cultureString,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'GetMailTemplate',false,{mailType:mailType,cultureString:cultureString},succeededCallback,failedCallback,userContext); },
ReportError:function(error,succeededCallback, failedCallback, userContext) {
return this._invoke(Complaceo.Web.Services.SearchProfiles.get_path(), 'ReportError',true,{error:error},succeededCallback,failedCallback,userContext); }}
Complaceo.Web.Services.SearchProfiles.registerClass('Complaceo.Web.Services.SearchProfiles',Sys.Net.WebServiceProxy);
Complaceo.Web.Services.SearchProfiles._staticInstance = new Complaceo.Web.Services.SearchProfiles();
Complaceo.Web.Services.SearchProfiles.set_path = function(value) { Complaceo.Web.Services.SearchProfiles._staticInstance._path = value; }
Complaceo.Web.Services.SearchProfiles.get_path = function() { return Complaceo.Web.Services.SearchProfiles._staticInstance._path; }
Complaceo.Web.Services.SearchProfiles.set_timeout = function(value) { Complaceo.Web.Services.SearchProfiles._staticInstance._timeout = value; }
Complaceo.Web.Services.SearchProfiles.get_timeout = function() { return Complaceo.Web.Services.SearchProfiles._staticInstance._timeout; }
Complaceo.Web.Services.SearchProfiles.set_defaultUserContext = function(value) { Complaceo.Web.Services.SearchProfiles._staticInstance._userContext = value; }
Complaceo.Web.Services.SearchProfiles.get_defaultUserContext = function() { return Complaceo.Web.Services.SearchProfiles._staticInstance._userContext; }
Complaceo.Web.Services.SearchProfiles.set_defaultSucceededCallback = function(value) { Complaceo.Web.Services.SearchProfiles._staticInstance._succeeded = value; }
Complaceo.Web.Services.SearchProfiles.get_defaultSucceededCallback = function() { return Complaceo.Web.Services.SearchProfiles._staticInstance._succeeded; }
Complaceo.Web.Services.SearchProfiles.set_defaultFailedCallback = function(value) { Complaceo.Web.Services.SearchProfiles._staticInstance._failed = value; }
Complaceo.Web.Services.SearchProfiles.get_defaultFailedCallback = function() { return Complaceo.Web.Services.SearchProfiles._staticInstance._failed; }
Complaceo.Web.Services.SearchProfiles.set_path("/webservices/SearchProfiles.asmx");
Complaceo.Web.Services.SearchProfiles.ProfilesByCategory_IdOnly= function(category,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.ProfilesByCategory_IdOnly(category,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.ValidateUrl= function(url,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.ValidateUrl(url,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.SearchFreeText_IdOnly= function(type,searchParams,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.SearchFreeText_IdOnly(type,searchParams,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.SearchJobs= function(type,searchString,searchType,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.SearchJobs(type,searchString,searchType,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.GetStatics= function(searchType,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.GetStatics(searchType,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.GetHTMLForJob= function(id,culture,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.GetHTMLForJob(id,culture,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.ToggleSearchable= function(profileID,searchType,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.ToggleSearchable(profileID,searchType,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.ArchiveProfile= function(profileID,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.ArchiveProfile(profileID,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.CopyProfile= function(profileID,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.CopyProfile(profileID,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.SearchForMatchingProfiles= function(profileID,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.SearchForMatchingProfiles(profileID,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.CreateAgentForProfile= function(profileID,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.CreateAgentForProfile(profileID,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.EditAgentForProfile= function(profileID,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.EditAgentForProfile(profileID,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.GetAgentCreatedSiteCatalystScript= function(onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.GetAgentCreatedSiteCatalystScript(onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.GetHTMLForCategoryById= function(profileId,category,activeTab,type,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.GetHTMLForCategoryById(profileId,category,activeTab,type,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.GetHTMLForSearchById= function(id,type,search,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.GetHTMLForSearchById(id,type,search,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.SaveMailTemplate= function(json,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.SaveMailTemplate(json,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.GetMailTemplate= function(mailType,cultureString,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.GetMailTemplate(mailType,cultureString,onSuccess,onFailed,userContext); }
Complaceo.Web.Services.SearchProfiles.ReportError= function(error,onSuccess,onFailed,userContext) {Complaceo.Web.Services.SearchProfiles._staticInstance.ReportError(error,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataTable) === 'undefined') {
System.Data.DataTable=gtc("System.Data.DataTable");
System.Data.DataTable.registerClass('System.Data.DataTable');
}
if (typeof(Complaceo.Web.Services.SearchProfiles_SearchType) === 'undefined') {
Complaceo.Web.Services.SearchProfiles_SearchType = function() { throw Error.invalidOperation(); }
Complaceo.Web.Services.SearchProfiles_SearchType.prototype = {Searchable: 1,NotSearchable: 2,Archived: 3,All: 4}
Complaceo.Web.Services.SearchProfiles_SearchType.registerEnum('Complaceo.Web.Services.SearchProfiles_SearchType', true);
}

