Type.registerNamespace('CustomWebServices');
CustomWebServices.RhServices=function() {
CustomWebServices.RhServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CustomWebServices.RhServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CustomWebServices.RhServices._staticInstance.get_path();},
SendLeadToHubSpot:function(formName,name,email,comment,currURL,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendLeadToHubSpot',false,{formName:formName,name:name,email:email,comment:comment,currURL:currURL},succeededCallback,failedCallback,userContext); },
VerifyUserExists:function(search,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'VerifyUserExists',false,{search:search},succeededCallback,failedCallback,userContext); },
RequestUser:function(search,userlevel,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RequestUser',false,{search:search,userlevel:userlevel},succeededCallback,failedCallback,userContext); },
RemoveUser:function(username,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveUser',false,{username:username},succeededCallback,failedCallback,userContext); },
UpdateUserLevel:function(username,institutionAdmin,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateUserLevel',false,{username:username,institutionAdmin:institutionAdmin},succeededCallback,failedCallback,userContext); },
GetLicensesByCode:function(code,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLicensesByCode',false,{code:code},succeededCallback,failedCallback,userContext); },
GetUsersForAdmin:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUsersForAdmin',false,{},succeededCallback,failedCallback,userContext); }}
CustomWebServices.RhServices.registerClass('CustomWebServices.RhServices',Sys.Net.WebServiceProxy);
CustomWebServices.RhServices._staticInstance = new CustomWebServices.RhServices();
CustomWebServices.RhServices.set_path = function(value) { CustomWebServices.RhServices._staticInstance.set_path(value); }
CustomWebServices.RhServices.get_path = function() { return CustomWebServices.RhServices._staticInstance.get_path(); }
CustomWebServices.RhServices.set_timeout = function(value) { CustomWebServices.RhServices._staticInstance.set_timeout(value); }
CustomWebServices.RhServices.get_timeout = function() { return CustomWebServices.RhServices._staticInstance.get_timeout(); }
CustomWebServices.RhServices.set_defaultUserContext = function(value) { CustomWebServices.RhServices._staticInstance.set_defaultUserContext(value); }
CustomWebServices.RhServices.get_defaultUserContext = function() { return CustomWebServices.RhServices._staticInstance.get_defaultUserContext(); }
CustomWebServices.RhServices.set_defaultSucceededCallback = function(value) { CustomWebServices.RhServices._staticInstance.set_defaultSucceededCallback(value); }
CustomWebServices.RhServices.get_defaultSucceededCallback = function() { return CustomWebServices.RhServices._staticInstance.get_defaultSucceededCallback(); }
CustomWebServices.RhServices.set_defaultFailedCallback = function(value) { CustomWebServices.RhServices._staticInstance.set_defaultFailedCallback(value); }
CustomWebServices.RhServices.get_defaultFailedCallback = function() { return CustomWebServices.RhServices._staticInstance.get_defaultFailedCallback(); }
CustomWebServices.RhServices.set_enableJsonp = function(value) { CustomWebServices.RhServices._staticInstance.set_enableJsonp(value); }
CustomWebServices.RhServices.get_enableJsonp = function() { return CustomWebServices.RhServices._staticInstance.get_enableJsonp(); }
CustomWebServices.RhServices.set_jsonpCallbackParameter = function(value) { CustomWebServices.RhServices._staticInstance.set_jsonpCallbackParameter(value); }
CustomWebServices.RhServices.get_jsonpCallbackParameter = function() { return CustomWebServices.RhServices._staticInstance.get_jsonpCallbackParameter(); }
CustomWebServices.RhServices.set_path("/webservices/CustomWebServices.asmx");
CustomWebServices.RhServices.SendLeadToHubSpot= function(formName,name,email,comment,currURL,onSuccess,onFailed,userContext) {CustomWebServices.RhServices._staticInstance.SendLeadToHubSpot(formName,name,email,comment,currURL,onSuccess,onFailed,userContext); }
CustomWebServices.RhServices.VerifyUserExists= function(search,onSuccess,onFailed,userContext) {CustomWebServices.RhServices._staticInstance.VerifyUserExists(search,onSuccess,onFailed,userContext); }
CustomWebServices.RhServices.RequestUser= function(search,userlevel,onSuccess,onFailed,userContext) {CustomWebServices.RhServices._staticInstance.RequestUser(search,userlevel,onSuccess,onFailed,userContext); }
CustomWebServices.RhServices.RemoveUser= function(username,onSuccess,onFailed,userContext) {CustomWebServices.RhServices._staticInstance.RemoveUser(username,onSuccess,onFailed,userContext); }
CustomWebServices.RhServices.UpdateUserLevel= function(username,institutionAdmin,onSuccess,onFailed,userContext) {CustomWebServices.RhServices._staticInstance.UpdateUserLevel(username,institutionAdmin,onSuccess,onFailed,userContext); }
CustomWebServices.RhServices.GetLicensesByCode= function(code,onSuccess,onFailed,userContext) {CustomWebServices.RhServices._staticInstance.GetLicensesByCode(code,onSuccess,onFailed,userContext); }
CustomWebServices.RhServices.GetUsersForAdmin= function(onSuccess,onFailed,userContext) {CustomWebServices.RhServices._staticInstance.GetUsersForAdmin(onSuccess,onFailed,userContext); }

