Type.registerNamespace('WebServices');
WebServices.ChatInterface=function() {
WebServices.ChatInterface.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebServices.ChatInterface.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebServices.ChatInterface._staticInstance.get_path();},
OnLineUsers_Get:function(intOwnerID,strHash,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'OnLineUsers_Get',false,{intOwnerID:intOwnerID,strHash:strHash},succeededCallback,failedCallback,userContext); },
Start:function(intOwnerID,strHash,intUserID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Start',false,{intOwnerID:intOwnerID,strHash:strHash,intUserID:intUserID},succeededCallback,failedCallback,userContext); },
CurrentSessions_Get:function(intOwnerID,strHash,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CurrentSessions_Get',false,{intOwnerID:intOwnerID,strHash:strHash},succeededCallback,failedCallback,userContext); },
Chat_Close:function(intChatID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Chat_Close',false,{intChatID:intChatID},succeededCallback,failedCallback,userContext); },
Chat_Maximize:function(intChatID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Chat_Maximize',false,{intChatID:intChatID},succeededCallback,failedCallback,userContext); },
Chat_Minimize:function(intChatID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Chat_Minimize',false,{intChatID:intChatID},succeededCallback,failedCallback,userContext); },
Chat_ClearHistory:function(intChatID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Chat_ClearHistory',false,{intChatID:intChatID},succeededCallback,failedCallback,userContext); },
Chat_SendMessage:function(intChatID,intOwnerID,strHash,intUserID,strMessage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Chat_SendMessage',false,{intChatID:intChatID,intOwnerID:intOwnerID,strHash:strHash,intUserID:intUserID,strMessage:strMessage},succeededCallback,failedCallback,userContext); },
NewMessages_Get:function(intOwnerID,strHash,lastChecked,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'NewMessages_Get',false,{intOwnerID:intOwnerID,strHash:strHash,lastChecked:lastChecked},succeededCallback,failedCallback,userContext); },
Settings_Update:function(intUserID,strHash,intOnLinePrivacy,strPersonalDescription,intIMChatSoundMessage,isEdit,chatShowFullNames,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Settings_Update',false,{intUserID:intUserID,strHash:strHash,intOnLinePrivacy:intOnLinePrivacy,strPersonalDescription:strPersonalDescription,intIMChatSoundMessage:intIMChatSoundMessage,isEdit:isEdit,chatShowFullNames:chatShowFullNames},succeededCallback,failedCallback,userContext); },
ProfileStyles_Update:function(intUserID,strHash,strProfileStyles,strProfileBgColor,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ProfileStyles_Update',false,{intUserID:intUserID,strHash:strHash,strProfileStyles:strProfileStyles,strProfileBgColor:strProfileBgColor},succeededCallback,failedCallback,userContext); },
ProfileWallpaper_Update:function(intUserID,strHash,strWallpaperImageID,blnWallpaperRepeat,blnWallpaperFixed,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ProfileWallpaper_Update',false,{intUserID:intUserID,strHash:strHash,strWallpaperImageID:strWallpaperImageID,blnWallpaperRepeat:blnWallpaperRepeat,blnWallpaperFixed:blnWallpaperFixed},succeededCallback,failedCallback,userContext); },
ProfileWallpaper_Delete:function(intUserID,strHash,strWallpaperImageID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ProfileWallpaper_Delete',false,{intUserID:intUserID,strHash:strHash,strWallpaperImageID:strWallpaperImageID},succeededCallback,failedCallback,userContext); }}
WebServices.ChatInterface.registerClass('WebServices.ChatInterface',Sys.Net.WebServiceProxy);
WebServices.ChatInterface._staticInstance = new WebServices.ChatInterface();
WebServices.ChatInterface.set_path = function(value) { WebServices.ChatInterface._staticInstance.set_path(value); }
WebServices.ChatInterface.get_path = function() { return WebServices.ChatInterface._staticInstance.get_path(); }
WebServices.ChatInterface.set_timeout = function(value) { WebServices.ChatInterface._staticInstance.set_timeout(value); }
WebServices.ChatInterface.get_timeout = function() { return WebServices.ChatInterface._staticInstance.get_timeout(); }
WebServices.ChatInterface.set_defaultUserContext = function(value) { WebServices.ChatInterface._staticInstance.set_defaultUserContext(value); }
WebServices.ChatInterface.get_defaultUserContext = function() { return WebServices.ChatInterface._staticInstance.get_defaultUserContext(); }
WebServices.ChatInterface.set_defaultSucceededCallback = function(value) { WebServices.ChatInterface._staticInstance.set_defaultSucceededCallback(value); }
WebServices.ChatInterface.get_defaultSucceededCallback = function() { return WebServices.ChatInterface._staticInstance.get_defaultSucceededCallback(); }
WebServices.ChatInterface.set_defaultFailedCallback = function(value) { WebServices.ChatInterface._staticInstance.set_defaultFailedCallback(value); }
WebServices.ChatInterface.get_defaultFailedCallback = function() { return WebServices.ChatInterface._staticInstance.get_defaultFailedCallback(); }
WebServices.ChatInterface.set_path("/WebServices/Chat.asmx");
WebServices.ChatInterface.OnLineUsers_Get= function(intOwnerID,strHash,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.OnLineUsers_Get(intOwnerID,strHash,onSuccess,onFailed,userContext); }
WebServices.ChatInterface.Start= function(intOwnerID,strHash,intUserID,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.Start(intOwnerID,strHash,intUserID,onSuccess,onFailed,userContext); }
WebServices.ChatInterface.CurrentSessions_Get= function(intOwnerID,strHash,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.CurrentSessions_Get(intOwnerID,strHash,onSuccess,onFailed,userContext); }
WebServices.ChatInterface.Chat_Close= function(intChatID,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.Chat_Close(intChatID,onSuccess,onFailed,userContext); }
WebServices.ChatInterface.Chat_Maximize= function(intChatID,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.Chat_Maximize(intChatID,onSuccess,onFailed,userContext); }
WebServices.ChatInterface.Chat_Minimize= function(intChatID,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.Chat_Minimize(intChatID,onSuccess,onFailed,userContext); }
WebServices.ChatInterface.Chat_ClearHistory= function(intChatID,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.Chat_ClearHistory(intChatID,onSuccess,onFailed,userContext); }
WebServices.ChatInterface.Chat_SendMessage= function(intChatID,intOwnerID,strHash,intUserID,strMessage,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.Chat_SendMessage(intChatID,intOwnerID,strHash,intUserID,strMessage,onSuccess,onFailed,userContext); }
WebServices.ChatInterface.NewMessages_Get= function(intOwnerID,strHash,lastChecked,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.NewMessages_Get(intOwnerID,strHash,lastChecked,onSuccess,onFailed,userContext); }
WebServices.ChatInterface.Settings_Update= function(intUserID,strHash,intOnLinePrivacy,strPersonalDescription,intIMChatSoundMessage,isEdit,chatShowFullNames,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.Settings_Update(intUserID,strHash,intOnLinePrivacy,strPersonalDescription,intIMChatSoundMessage,isEdit,chatShowFullNames,onSuccess,onFailed,userContext); }
WebServices.ChatInterface.ProfileStyles_Update= function(intUserID,strHash,strProfileStyles,strProfileBgColor,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.ProfileStyles_Update(intUserID,strHash,strProfileStyles,strProfileBgColor,onSuccess,onFailed,userContext); }
WebServices.ChatInterface.ProfileWallpaper_Update= function(intUserID,strHash,strWallpaperImageID,blnWallpaperRepeat,blnWallpaperFixed,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.ProfileWallpaper_Update(intUserID,strHash,strWallpaperImageID,blnWallpaperRepeat,blnWallpaperFixed,onSuccess,onFailed,userContext); }
WebServices.ChatInterface.ProfileWallpaper_Delete= function(intUserID,strHash,strWallpaperImageID,onSuccess,onFailed,userContext) {WebServices.ChatInterface._staticInstance.ProfileWallpaper_Delete(intUserID,strHash,strWallpaperImageID,onSuccess,onFailed,userContext); }

