Type.registerNamespace('WebServices');
WebServices.webMethod_CIS_Customer=function() {
WebServices.webMethod_CIS_Customer.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebServices.webMethod_CIS_Customer.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebServices.webMethod_CIS_Customer._staticInstance.get_path();},
emailError:function(err,succeededCallback, failedCallback, userContext) {
/// <param name="err" 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(), 'emailError',false,{err:err},succeededCallback,failedCallback,userContext); },
login: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(), 'login',false,{email:email,password:password},succeededCallback,failedCallback,userContext); },
setUserPassword: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(), 'setUserPassword',false,{email:email,password:password},succeededCallback,failedCallback,userContext); },
return_SimilarBoughtProducts:function(custID,salesID,succeededCallback, failedCallback, userContext) {
/// <param name="custID" type="Number">System.Int32</param>
/// <param name="salesID" 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(), 'return_SimilarBoughtProducts',false,{custID:custID,salesID:salesID},succeededCallback,failedCallback,userContext); },
return_CustomerMessages:function(custID,noteID,succeededCallback, failedCallback, userContext) {
/// <param name="custID" type="Number">System.Int32</param>
/// <param name="noteID" 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(), 'return_CustomerMessages',false,{custID:custID,noteID:noteID},succeededCallback,failedCallback,userContext); },
send_CustomerMessage:function(custID,noteID,noteSubject,message,fromEmail,succeededCallback, failedCallback, userContext) {
/// <param name="custID" type="Number">System.Int32</param>
/// <param name="noteID" type="Number">System.Int32</param>
/// <param name="noteSubject" type="String">System.String</param>
/// <param name="message" type="String">System.String</param>
/// <param name="fromEmail" 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(), 'send_CustomerMessage',false,{custID:custID,noteID:noteID,noteSubject:noteSubject,message:message,fromEmail:fromEmail},succeededCallback,failedCallback,userContext); }}
WebServices.webMethod_CIS_Customer.registerClass('WebServices.webMethod_CIS_Customer',Sys.Net.WebServiceProxy);
WebServices.webMethod_CIS_Customer._staticInstance = new WebServices.webMethod_CIS_Customer();
WebServices.webMethod_CIS_Customer.set_path = function(value) {
WebServices.webMethod_CIS_Customer._staticInstance.set_path(value); }
WebServices.webMethod_CIS_Customer.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WebServices.webMethod_CIS_Customer._staticInstance.get_path();}
WebServices.webMethod_CIS_Customer.set_timeout = function(value) {
WebServices.webMethod_CIS_Customer._staticInstance.set_timeout(value); }
WebServices.webMethod_CIS_Customer.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WebServices.webMethod_CIS_Customer._staticInstance.get_timeout(); }
WebServices.webMethod_CIS_Customer.set_defaultUserContext = function(value) { 
WebServices.webMethod_CIS_Customer._staticInstance.set_defaultUserContext(value); }
WebServices.webMethod_CIS_Customer.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WebServices.webMethod_CIS_Customer._staticInstance.get_defaultUserContext(); }
WebServices.webMethod_CIS_Customer.set_defaultSucceededCallback = function(value) { 
 WebServices.webMethod_CIS_Customer._staticInstance.set_defaultSucceededCallback(value); }
WebServices.webMethod_CIS_Customer.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WebServices.webMethod_CIS_Customer._staticInstance.get_defaultSucceededCallback(); }
WebServices.webMethod_CIS_Customer.set_defaultFailedCallback = function(value) { 
WebServices.webMethod_CIS_Customer._staticInstance.set_defaultFailedCallback(value); }
WebServices.webMethod_CIS_Customer.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WebServices.webMethod_CIS_Customer._staticInstance.get_defaultFailedCallback(); }
WebServices.webMethod_CIS_Customer.set_path("/webServices/CIS_Customer.asmx");
WebServices.webMethod_CIS_Customer.emailError= function(err,onSuccess,onFailed,userContext) {
/// <param name="err" 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>
WebServices.webMethod_CIS_Customer._staticInstance.emailError(err,onSuccess,onFailed,userContext); }
WebServices.webMethod_CIS_Customer.login= 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>
WebServices.webMethod_CIS_Customer._staticInstance.login(email,password,onSuccess,onFailed,userContext); }
WebServices.webMethod_CIS_Customer.setUserPassword= 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>
WebServices.webMethod_CIS_Customer._staticInstance.setUserPassword(email,password,onSuccess,onFailed,userContext); }
WebServices.webMethod_CIS_Customer.return_SimilarBoughtProducts= function(custID,salesID,onSuccess,onFailed,userContext) {
/// <param name="custID" type="Number">System.Int32</param>
/// <param name="salesID" 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>
WebServices.webMethod_CIS_Customer._staticInstance.return_SimilarBoughtProducts(custID,salesID,onSuccess,onFailed,userContext); }
WebServices.webMethod_CIS_Customer.return_CustomerMessages= function(custID,noteID,onSuccess,onFailed,userContext) {
/// <param name="custID" type="Number">System.Int32</param>
/// <param name="noteID" 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>
WebServices.webMethod_CIS_Customer._staticInstance.return_CustomerMessages(custID,noteID,onSuccess,onFailed,userContext); }
WebServices.webMethod_CIS_Customer.send_CustomerMessage= function(custID,noteID,noteSubject,message,fromEmail,onSuccess,onFailed,userContext) {
/// <param name="custID" type="Number">System.Int32</param>
/// <param name="noteID" type="Number">System.Int32</param>
/// <param name="noteSubject" type="String">System.String</param>
/// <param name="message" type="String">System.String</param>
/// <param name="fromEmail" 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>
WebServices.webMethod_CIS_Customer._staticInstance.send_CustomerMessage(custID,noteID,noteSubject,message,fromEmail,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WebServices.loginObject) === 'undefined') {
WebServices.loginObject=gtc("WebServices.loginObject");
WebServices.loginObject.registerClass('WebServices.loginObject');
}
if (typeof(WebServices.productDataObject) === 'undefined') {
WebServices.productDataObject=gtc("WebServices.productDataObject");
WebServices.productDataObject.registerClass('WebServices.productDataObject');
}
if (typeof(WebServices.messageObject) === 'undefined') {
WebServices.messageObject=gtc("WebServices.messageObject");
WebServices.messageObject.registerClass('WebServices.messageObject');
}

