Type.registerNamespace('NetcampusWeb.WebService');
NetcampusWeb.WebService.LiveService=function() {
NetcampusWeb.WebService.LiveService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
NetcampusWeb.WebService.LiveService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return NetcampusWeb.WebService.LiveService._staticInstance.get_path();},
getLiveChatIncoming:function(UserID,succeededCallback, failedCallback, userContext) {
/// <param name="UserID" 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(), 'getLiveChatIncoming',false,{UserID:UserID},succeededCallback,failedCallback,userContext); },
acceptLiveChatIncoming:function(LiveChatID,UserID,succeededCallback, failedCallback, userContext) {
/// <param name="LiveChatID" type="Number">System.Int32</param>
/// <param name="UserID" 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(), 'acceptLiveChatIncoming',false,{LiveChatID:LiveChatID,UserID:UserID},succeededCallback,failedCallback,userContext); },
getLiveChatPoll:function(LiveChatUserID,LiveChatEventID,LiveChatUserHash,succeededCallback, failedCallback, userContext) {
/// <param name="LiveChatUserID" type="String">System.String</param>
/// <param name="LiveChatEventID" type="String">System.String</param>
/// <param name="LiveChatUserHash" 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(), 'getLiveChatPoll',false,{LiveChatUserID:LiveChatUserID,LiveChatEventID:LiveChatEventID,LiveChatUserHash:LiveChatUserHash},succeededCallback,failedCallback,userContext); },
getLiveChatStatus:function(LiveChatID,succeededCallback, failedCallback, userContext) {
/// <param name="LiveChatID" 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(), 'getLiveChatStatus',false,{LiveChatID:LiveChatID},succeededCallback,failedCallback,userContext); },
publishEvent:function(LiveChatUserID,HTML,succeededCallback, failedCallback, userContext) {
/// <param name="LiveChatUserID" type="String">System.String</param>
/// <param name="HTML" 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(), 'publishEvent',false,{LiveChatUserID:LiveChatUserID,HTML:HTML},succeededCallback,failedCallback,userContext); },
getActiveOperators:function(UserID,Hash,succeededCallback, failedCallback, userContext) {
/// <param name="UserID" type="Number">System.Int32</param>
/// <param name="Hash" 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(), 'getActiveOperators',false,{UserID:UserID,Hash:Hash},succeededCallback,failedCallback,userContext); },
updateOperatorStatus:function(UserID,Hash,Status,succeededCallback, failedCallback, userContext) {
/// <param name="UserID" type="Number">System.Int32</param>
/// <param name="Hash" type="String">System.String</param>
/// <param name="Status" 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(), 'updateOperatorStatus',false,{UserID:UserID,Hash:Hash,Status:Status},succeededCallback,failedCallback,userContext); },
authenticateUser:function(Email,Password,succeededCallback, failedCallback, userContext) {
/// <param name="Email" type="String">System.String</param>
/// <param name="Password" 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(), 'authenticateUser',false,{Email:Email,Password:Password},succeededCallback,failedCallback,userContext); },
getActiveUserList:function(UserID,Hash,succeededCallback, failedCallback, userContext) {
/// <param name="UserID" type="Number">System.Int32</param>
/// <param name="Hash" 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(), 'getActiveUserList',false,{UserID:UserID,Hash:Hash},succeededCallback,failedCallback,userContext); },
getActiveChatList:function(UserID,Hash,succeededCallback, failedCallback, userContext) {
/// <param name="UserID" type="Number">System.Int32</param>
/// <param name="Hash" 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(), 'getActiveChatList',false,{UserID:UserID,Hash:Hash},succeededCallback,failedCallback,userContext); }}
NetcampusWeb.WebService.LiveService.registerClass('NetcampusWeb.WebService.LiveService',Sys.Net.WebServiceProxy);
NetcampusWeb.WebService.LiveService._staticInstance = new NetcampusWeb.WebService.LiveService();
NetcampusWeb.WebService.LiveService.set_path = function(value) {
NetcampusWeb.WebService.LiveService._staticInstance.set_path(value); }
NetcampusWeb.WebService.LiveService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return NetcampusWeb.WebService.LiveService._staticInstance.get_path();}
NetcampusWeb.WebService.LiveService.set_timeout = function(value) {
NetcampusWeb.WebService.LiveService._staticInstance.set_timeout(value); }
NetcampusWeb.WebService.LiveService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return NetcampusWeb.WebService.LiveService._staticInstance.get_timeout(); }
NetcampusWeb.WebService.LiveService.set_defaultUserContext = function(value) { 
NetcampusWeb.WebService.LiveService._staticInstance.set_defaultUserContext(value); }
NetcampusWeb.WebService.LiveService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return NetcampusWeb.WebService.LiveService._staticInstance.get_defaultUserContext(); }
NetcampusWeb.WebService.LiveService.set_defaultSucceededCallback = function(value) { 
 NetcampusWeb.WebService.LiveService._staticInstance.set_defaultSucceededCallback(value); }
NetcampusWeb.WebService.LiveService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return NetcampusWeb.WebService.LiveService._staticInstance.get_defaultSucceededCallback(); }
NetcampusWeb.WebService.LiveService.set_defaultFailedCallback = function(value) { 
NetcampusWeb.WebService.LiveService._staticInstance.set_defaultFailedCallback(value); }
NetcampusWeb.WebService.LiveService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return NetcampusWeb.WebService.LiveService._staticInstance.get_defaultFailedCallback(); }
NetcampusWeb.WebService.LiveService.set_enableJsonp = function(value) { NetcampusWeb.WebService.LiveService._staticInstance.set_enableJsonp(value); }
NetcampusWeb.WebService.LiveService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return NetcampusWeb.WebService.LiveService._staticInstance.get_enableJsonp(); }
NetcampusWeb.WebService.LiveService.set_jsonpCallbackParameter = function(value) { NetcampusWeb.WebService.LiveService._staticInstance.set_jsonpCallbackParameter(value); }
NetcampusWeb.WebService.LiveService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return NetcampusWeb.WebService.LiveService._staticInstance.get_jsonpCallbackParameter(); }
NetcampusWeb.WebService.LiveService.set_path("/Web/WebService/LiveService.asmx");
NetcampusWeb.WebService.LiveService.getLiveChatIncoming= function(UserID,onSuccess,onFailed,userContext) {
/// <param name="UserID" 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>
NetcampusWeb.WebService.LiveService._staticInstance.getLiveChatIncoming(UserID,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.LiveService.acceptLiveChatIncoming= function(LiveChatID,UserID,onSuccess,onFailed,userContext) {
/// <param name="LiveChatID" type="Number">System.Int32</param>
/// <param name="UserID" 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>
NetcampusWeb.WebService.LiveService._staticInstance.acceptLiveChatIncoming(LiveChatID,UserID,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.LiveService.getLiveChatPoll= function(LiveChatUserID,LiveChatEventID,LiveChatUserHash,onSuccess,onFailed,userContext) {
/// <param name="LiveChatUserID" type="String">System.String</param>
/// <param name="LiveChatEventID" type="String">System.String</param>
/// <param name="LiveChatUserHash" 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>
NetcampusWeb.WebService.LiveService._staticInstance.getLiveChatPoll(LiveChatUserID,LiveChatEventID,LiveChatUserHash,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.LiveService.getLiveChatStatus= function(LiveChatID,onSuccess,onFailed,userContext) {
/// <param name="LiveChatID" 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>
NetcampusWeb.WebService.LiveService._staticInstance.getLiveChatStatus(LiveChatID,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.LiveService.publishEvent= function(LiveChatUserID,HTML,onSuccess,onFailed,userContext) {
/// <param name="LiveChatUserID" type="String">System.String</param>
/// <param name="HTML" 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>
NetcampusWeb.WebService.LiveService._staticInstance.publishEvent(LiveChatUserID,HTML,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.LiveService.getActiveOperators= function(UserID,Hash,onSuccess,onFailed,userContext) {
/// <param name="UserID" type="Number">System.Int32</param>
/// <param name="Hash" 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>
NetcampusWeb.WebService.LiveService._staticInstance.getActiveOperators(UserID,Hash,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.LiveService.updateOperatorStatus= function(UserID,Hash,Status,onSuccess,onFailed,userContext) {
/// <param name="UserID" type="Number">System.Int32</param>
/// <param name="Hash" type="String">System.String</param>
/// <param name="Status" 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>
NetcampusWeb.WebService.LiveService._staticInstance.updateOperatorStatus(UserID,Hash,Status,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.LiveService.authenticateUser= function(Email,Password,onSuccess,onFailed,userContext) {
/// <param name="Email" type="String">System.String</param>
/// <param name="Password" 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>
NetcampusWeb.WebService.LiveService._staticInstance.authenticateUser(Email,Password,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.LiveService.getActiveUserList= function(UserID,Hash,onSuccess,onFailed,userContext) {
/// <param name="UserID" type="Number">System.Int32</param>
/// <param name="Hash" 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>
NetcampusWeb.WebService.LiveService._staticInstance.getActiveUserList(UserID,Hash,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.LiveService.getActiveChatList= function(UserID,Hash,onSuccess,onFailed,userContext) {
/// <param name="UserID" type="Number">System.Int32</param>
/// <param name="Hash" 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>
NetcampusWeb.WebService.LiveService._staticInstance.getActiveChatList(UserID,Hash,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataSet) === 'undefined') {
System.Data.DataSet=gtc("System.Data.DataSet");
System.Data.DataSet.registerClass('System.Data.DataSet');
}
Type.registerNamespace('NetcampusWeb.ChatService');
if (typeof(NetcampusWeb.ChatService.sqleLiveChat) === 'undefined') {
NetcampusWeb.ChatService.sqleLiveChat=gtc("NetcampusWeb.ChatService.sqleLiveChat");
NetcampusWeb.ChatService.sqleLiveChat.registerClass('NetcampusWeb.ChatService.sqleLiveChat');
}
if (typeof(NetcampusWeb.ChatService.PollResponse) === 'undefined') {
NetcampusWeb.ChatService.PollResponse=gtc("NetcampusWeb.ChatService.PollResponse");
NetcampusWeb.ChatService.PollResponse.registerClass('NetcampusWeb.ChatService.PollResponse');
}
if (typeof(NetcampusWeb.ChatService.authenticatedUser) === 'undefined') {
NetcampusWeb.ChatService.authenticatedUser=gtc("NetcampusWeb.ChatService.authenticatedUser");
NetcampusWeb.ChatService.authenticatedUser.registerClass('NetcampusWeb.ChatService.authenticatedUser');
}

