Type.registerNamespace('Finatica.WebServices');
Finatica.WebServices.ContactManager=function() {
Finatica.WebServices.ContactManager.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Finatica.WebServices.ContactManager.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Finatica.WebServices.ContactManager._staticInstance.get_path();},
AddContactNew:function(contactID,succeededCallback, failedCallback, userContext) {
/// <param name="contactID" type="String">System.Guid</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(), 'AddContactNew',false,{contactID:contactID},succeededCallback,failedCallback,userContext); },
AddContact:function(currentUserId,contactID,succeededCallback, failedCallback, userContext) {
/// <param name="currentUserId" type="String">System.Guid</param>
/// <param name="contactID" type="String">System.Guid</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(), 'AddContact',false,{currentUserId:currentUserId,contactID:contactID},succeededCallback,failedCallback,userContext); },
GetEmailContacts: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(), 'GetEmailContacts',false,{email:email,password:password},succeededCallback,failedCallback,userContext); },
DeleteContactNew:function(contactID,isFriend,isGentleRefuse,succeededCallback, failedCallback, userContext) {
/// <param name="contactID" type="String">System.Guid</param>
/// <param name="isFriend" type="Boolean">System.Boolean</param>
/// <param name="isGentleRefuse" 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(), 'DeleteContactNew',false,{contactID:contactID,isFriend:isFriend,isGentleRefuse:isGentleRefuse},succeededCallback,failedCallback,userContext); },
DeleteContact:function(currentUserId,contactID,isFriend,isGentleRefuse,succeededCallback, failedCallback, userContext) {
/// <param name="currentUserId" type="String">System.Guid</param>
/// <param name="contactID" type="String">System.Guid</param>
/// <param name="isFriend" type="Boolean">System.Boolean</param>
/// <param name="isGentleRefuse" 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(), 'DeleteContact',false,{currentUserId:currentUserId,contactID:contactID,isFriend:isFriend,isGentleRefuse:isGentleRefuse},succeededCallback,failedCallback,userContext); },
ApproveContact:function(userId,contactID,succeededCallback, failedCallback, userContext) {
/// <param name="userId" type="String">System.Guid</param>
/// <param name="contactID" type="String">System.Guid</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(), 'ApproveContact',false,{userId:userId,contactID:contactID},succeededCallback,failedCallback,userContext); },
ApproveCompanyContact:function(userId,companyID,succeededCallback, failedCallback, userContext) {
/// <param name="userId" type="String">System.Guid</param>
/// <param name="companyID" type="String">System.Guid</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(), 'ApproveCompanyContact',false,{userId:userId,companyID:companyID},succeededCallback,failedCallback,userContext); },
DeleteCompanyContact:function(userId,companyID,succeededCallback, failedCallback, userContext) {
/// <param name="userId" type="String">System.Guid</param>
/// <param name="companyID" type="String">System.Guid</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(), 'DeleteCompanyContact',false,{userId:userId,companyID:companyID},succeededCallback,failedCallback,userContext); },
RestoreFromBlackListNew:function(contactID,succeededCallback, failedCallback, userContext) {
/// <param name="contactID" type="String">System.Guid</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(), 'RestoreFromBlackListNew',false,{contactID:contactID},succeededCallback,failedCallback,userContext); },
RestoreFromBlackList:function(userID,contactID,succeededCallback, failedCallback, userContext) {
/// <param name="userID" type="String">System.Guid</param>
/// <param name="contactID" type="String">System.Guid</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(), 'RestoreFromBlackList',false,{userID:userID,contactID:contactID},succeededCallback,failedCallback,userContext); },
ChangeUserLogin:function(oldLogin,newLogin,succeededCallback, failedCallback, userContext) {
/// <param name="oldLogin" type="String">System.String</param>
/// <param name="newLogin" 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(), 'ChangeUserLogin',false,{oldLogin:oldLogin,newLogin:newLogin},succeededCallback,failedCallback,userContext); },
AddContactsGroup:function(contactIds,succeededCallback, failedCallback, userContext) {
/// <param name="contactIds" type="Array">System.Guid[]</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(), 'AddContactsGroup',false,{contactIds:contactIds},succeededCallback,failedCallback,userContext); },
AddInviteGroup:function(emails,succeededCallback, failedCallback, userContext) {
/// <param name="emails" 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(), 'AddInviteGroup',false,{emails:emails},succeededCallback,failedCallback,userContext); }}
Finatica.WebServices.ContactManager.registerClass('Finatica.WebServices.ContactManager',Sys.Net.WebServiceProxy);
Finatica.WebServices.ContactManager._staticInstance = new Finatica.WebServices.ContactManager();
Finatica.WebServices.ContactManager.set_path = function(value) {
Finatica.WebServices.ContactManager._staticInstance.set_path(value); }
Finatica.WebServices.ContactManager.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Finatica.WebServices.ContactManager._staticInstance.get_path();}
Finatica.WebServices.ContactManager.set_timeout = function(value) {
Finatica.WebServices.ContactManager._staticInstance.set_timeout(value); }
Finatica.WebServices.ContactManager.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Finatica.WebServices.ContactManager._staticInstance.get_timeout(); }
Finatica.WebServices.ContactManager.set_defaultUserContext = function(value) { 
Finatica.WebServices.ContactManager._staticInstance.set_defaultUserContext(value); }
Finatica.WebServices.ContactManager.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Finatica.WebServices.ContactManager._staticInstance.get_defaultUserContext(); }
Finatica.WebServices.ContactManager.set_defaultSucceededCallback = function(value) { 
 Finatica.WebServices.ContactManager._staticInstance.set_defaultSucceededCallback(value); }
Finatica.WebServices.ContactManager.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Finatica.WebServices.ContactManager._staticInstance.get_defaultSucceededCallback(); }
Finatica.WebServices.ContactManager.set_defaultFailedCallback = function(value) { 
Finatica.WebServices.ContactManager._staticInstance.set_defaultFailedCallback(value); }
Finatica.WebServices.ContactManager.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Finatica.WebServices.ContactManager._staticInstance.get_defaultFailedCallback(); }
Finatica.WebServices.ContactManager.set_path("/Services/ContactManager/ContactManager.asmx");
Finatica.WebServices.ContactManager.AddContactNew= function(contactID,onSuccess,onFailed,userContext) {
/// <param name="contactID" type="String">System.Guid</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>
Finatica.WebServices.ContactManager._staticInstance.AddContactNew(contactID,onSuccess,onFailed,userContext); }
Finatica.WebServices.ContactManager.AddContact= function(currentUserId,contactID,onSuccess,onFailed,userContext) {
/// <param name="currentUserId" type="String">System.Guid</param>
/// <param name="contactID" type="String">System.Guid</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>
Finatica.WebServices.ContactManager._staticInstance.AddContact(currentUserId,contactID,onSuccess,onFailed,userContext); }
Finatica.WebServices.ContactManager.GetEmailContacts= 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>
Finatica.WebServices.ContactManager._staticInstance.GetEmailContacts(email,password,onSuccess,onFailed,userContext); }
Finatica.WebServices.ContactManager.DeleteContactNew= function(contactID,isFriend,isGentleRefuse,onSuccess,onFailed,userContext) {
/// <param name="contactID" type="String">System.Guid</param>
/// <param name="isFriend" type="Boolean">System.Boolean</param>
/// <param name="isGentleRefuse" 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>
Finatica.WebServices.ContactManager._staticInstance.DeleteContactNew(contactID,isFriend,isGentleRefuse,onSuccess,onFailed,userContext); }
Finatica.WebServices.ContactManager.DeleteContact= function(currentUserId,contactID,isFriend,isGentleRefuse,onSuccess,onFailed,userContext) {
/// <param name="currentUserId" type="String">System.Guid</param>
/// <param name="contactID" type="String">System.Guid</param>
/// <param name="isFriend" type="Boolean">System.Boolean</param>
/// <param name="isGentleRefuse" 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>
Finatica.WebServices.ContactManager._staticInstance.DeleteContact(currentUserId,contactID,isFriend,isGentleRefuse,onSuccess,onFailed,userContext); }
Finatica.WebServices.ContactManager.ApproveContact= function(userId,contactID,onSuccess,onFailed,userContext) {
/// <param name="userId" type="String">System.Guid</param>
/// <param name="contactID" type="String">System.Guid</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>
Finatica.WebServices.ContactManager._staticInstance.ApproveContact(userId,contactID,onSuccess,onFailed,userContext); }
Finatica.WebServices.ContactManager.ApproveCompanyContact= function(userId,companyID,onSuccess,onFailed,userContext) {
/// <param name="userId" type="String">System.Guid</param>
/// <param name="companyID" type="String">System.Guid</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>
Finatica.WebServices.ContactManager._staticInstance.ApproveCompanyContact(userId,companyID,onSuccess,onFailed,userContext); }
Finatica.WebServices.ContactManager.DeleteCompanyContact= function(userId,companyID,onSuccess,onFailed,userContext) {
/// <param name="userId" type="String">System.Guid</param>
/// <param name="companyID" type="String">System.Guid</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>
Finatica.WebServices.ContactManager._staticInstance.DeleteCompanyContact(userId,companyID,onSuccess,onFailed,userContext); }
Finatica.WebServices.ContactManager.RestoreFromBlackListNew= function(contactID,onSuccess,onFailed,userContext) {
/// <param name="contactID" type="String">System.Guid</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>
Finatica.WebServices.ContactManager._staticInstance.RestoreFromBlackListNew(contactID,onSuccess,onFailed,userContext); }
Finatica.WebServices.ContactManager.RestoreFromBlackList= function(userID,contactID,onSuccess,onFailed,userContext) {
/// <param name="userID" type="String">System.Guid</param>
/// <param name="contactID" type="String">System.Guid</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>
Finatica.WebServices.ContactManager._staticInstance.RestoreFromBlackList(userID,contactID,onSuccess,onFailed,userContext); }
Finatica.WebServices.ContactManager.ChangeUserLogin= function(oldLogin,newLogin,onSuccess,onFailed,userContext) {
/// <param name="oldLogin" type="String">System.String</param>
/// <param name="newLogin" 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>
Finatica.WebServices.ContactManager._staticInstance.ChangeUserLogin(oldLogin,newLogin,onSuccess,onFailed,userContext); }
Finatica.WebServices.ContactManager.AddContactsGroup= function(contactIds,onSuccess,onFailed,userContext) {
/// <param name="contactIds" type="Array">System.Guid[]</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>
Finatica.WebServices.ContactManager._staticInstance.AddContactsGroup(contactIds,onSuccess,onFailed,userContext); }
Finatica.WebServices.ContactManager.AddInviteGroup= function(emails,onSuccess,onFailed,userContext) {
/// <param name="emails" 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>
Finatica.WebServices.ContactManager._staticInstance.AddInviteGroup(emails,onSuccess,onFailed,userContext); }

