Type.registerNamespace('CarbonBlack.Web');
CarbonBlack.Web.ActionRecorder=function() {
CarbonBlack.Web.ActionRecorder.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CarbonBlack.Web.ActionRecorder.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CarbonBlack.Web.ActionRecorder._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
LogMessageWithTime:function(message,succeededCallback, failedCallback, userContext) {
/// <param name="message" 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(), 'LogMessageWithTime',false,{message:message},succeededCallback,failedCallback,userContext); },
KeepingRecordClickToDealerSite:function(strDealerUserId,succeededCallback, failedCallback, userContext) {
/// <param name="strDealerUserId" 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(), 'KeepingRecordClickToDealerSite',false,{strDealerUserId:strDealerUserId},succeededCallback,failedCallback,userContext); },
RecordEmailSubscription:function(cbEmailAddress,succeededCallback, failedCallback, userContext) {
/// <param name="cbEmailAddress" 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(), 'RecordEmailSubscription',false,{cbEmailAddress:cbEmailAddress},succeededCallback,failedCallback,userContext); },
SaveEmailAddressToSendDeal:function(cbEmailAddress,succeededCallback, failedCallback, userContext) {
/// <param name="cbEmailAddress" 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(), 'SaveEmailAddressToSendDeal',false,{cbEmailAddress:cbEmailAddress},succeededCallback,failedCallback,userContext); }}
CarbonBlack.Web.ActionRecorder.registerClass('CarbonBlack.Web.ActionRecorder',Sys.Net.WebServiceProxy);
CarbonBlack.Web.ActionRecorder._staticInstance = new CarbonBlack.Web.ActionRecorder();
CarbonBlack.Web.ActionRecorder.set_path = function(value) {
CarbonBlack.Web.ActionRecorder._staticInstance.set_path(value); }
CarbonBlack.Web.ActionRecorder.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return CarbonBlack.Web.ActionRecorder._staticInstance.get_path();}
CarbonBlack.Web.ActionRecorder.set_timeout = function(value) {
CarbonBlack.Web.ActionRecorder._staticInstance.set_timeout(value); }
CarbonBlack.Web.ActionRecorder.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return CarbonBlack.Web.ActionRecorder._staticInstance.get_timeout(); }
CarbonBlack.Web.ActionRecorder.set_defaultUserContext = function(value) { 
CarbonBlack.Web.ActionRecorder._staticInstance.set_defaultUserContext(value); }
CarbonBlack.Web.ActionRecorder.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return CarbonBlack.Web.ActionRecorder._staticInstance.get_defaultUserContext(); }
CarbonBlack.Web.ActionRecorder.set_defaultSucceededCallback = function(value) { 
 CarbonBlack.Web.ActionRecorder._staticInstance.set_defaultSucceededCallback(value); }
CarbonBlack.Web.ActionRecorder.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return CarbonBlack.Web.ActionRecorder._staticInstance.get_defaultSucceededCallback(); }
CarbonBlack.Web.ActionRecorder.set_defaultFailedCallback = function(value) { 
CarbonBlack.Web.ActionRecorder._staticInstance.set_defaultFailedCallback(value); }
CarbonBlack.Web.ActionRecorder.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return CarbonBlack.Web.ActionRecorder._staticInstance.get_defaultFailedCallback(); }
CarbonBlack.Web.ActionRecorder.set_path("/ActionRecorder.asmx");
CarbonBlack.Web.ActionRecorder.HelloWorld= function(onSuccess,onFailed,userContext) {
/// <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>
CarbonBlack.Web.ActionRecorder._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
CarbonBlack.Web.ActionRecorder.LogMessageWithTime= function(message,onSuccess,onFailed,userContext) {
/// <param name="message" 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>
CarbonBlack.Web.ActionRecorder._staticInstance.LogMessageWithTime(message,onSuccess,onFailed,userContext); }
CarbonBlack.Web.ActionRecorder.KeepingRecordClickToDealerSite= function(strDealerUserId,onSuccess,onFailed,userContext) {
/// <param name="strDealerUserId" 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>
CarbonBlack.Web.ActionRecorder._staticInstance.KeepingRecordClickToDealerSite(strDealerUserId,onSuccess,onFailed,userContext); }
CarbonBlack.Web.ActionRecorder.RecordEmailSubscription= function(cbEmailAddress,onSuccess,onFailed,userContext) {
/// <param name="cbEmailAddress" 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>
CarbonBlack.Web.ActionRecorder._staticInstance.RecordEmailSubscription(cbEmailAddress,onSuccess,onFailed,userContext); }
CarbonBlack.Web.ActionRecorder.SaveEmailAddressToSendDeal= function(cbEmailAddress,onSuccess,onFailed,userContext) {
/// <param name="cbEmailAddress" 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>
CarbonBlack.Web.ActionRecorder._staticInstance.SaveEmailAddressToSendDeal(cbEmailAddress,onSuccess,onFailed,userContext); }
