Type.registerNamespace('hanleywood.com');
hanleywood.com.ihtmlmailer=function() {
hanleywood.com.ihtmlmailer.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
hanleywood.com.ihtmlmailer.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return hanleywood.com.ihtmlmailer._staticInstance.get_path();},
GetAllExhibitors:function(eventId,succeededCallback, failedCallback, userContext) {
/// <param name="eventId" 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(), 'GetAllExhibitors',false,{eventId:eventId},succeededCallback,failedCallback,userContext); },
SendMessage:function(eventId,eCode,address,exhibitingAs,boothLabel,subject,replyAddress,replyName,replyPhone,boothId,coId,customNote,allowSignIn,hideBoothNumber,customUrl,succeededCallback, failedCallback, userContext) {
/// <param name="eventId" type="Number">System.Int32</param>
/// <param name="eCode" type="String">System.String</param>
/// <param name="address" type="String">System.String</param>
/// <param name="exhibitingAs" type="String">System.String</param>
/// <param name="boothLabel" type="String">System.String</param>
/// <param name="subject" type="String">System.String</param>
/// <param name="replyAddress" type="String">System.String</param>
/// <param name="replyName" type="String">System.String</param>
/// <param name="replyPhone" type="String">System.String</param>
/// <param name="boothId" type="Number">System.Int32</param>
/// <param name="coId" type="Number">System.Int32</param>
/// <param name="customNote" type="String">System.String</param>
/// <param name="allowSignIn" type="Boolean">System.Boolean</param>
/// <param name="hideBoothNumber" type="Boolean">System.Boolean</param>
/// <param name="customUrl" 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(), 'SendMessage',false,{eventId:eventId,eCode:eCode,address:address,exhibitingAs:exhibitingAs,boothLabel:boothLabel,subject:subject,replyAddress:replyAddress,replyName:replyName,replyPhone:replyPhone,boothId:boothId,coId:coId,customNote:customNote,allowSignIn:allowSignIn,hideBoothNumber:hideBoothNumber,customUrl:customUrl},succeededCallback,failedCallback,userContext); },
SendBulkMessage:function(exhibitors,replyAddress,eventId,subject,from,replyName,customNote,allowSignIn,hideBoothNumber,customUrl,succeededCallback, failedCallback, userContext) {
/// <param name="exhibitors" type="Array">System.Collections.Generic.List`1[[HanleyAjaxControls.AjaxHtmlMailer.Exhibitor, HanleyAjaxControls, Version=1.0.4276.23360, Culture=neutral, PublicKeyToken=null]]</param>
/// <param name="replyAddress" type="String">System.String</param>
/// <param name="eventId" type="Number">System.Int32</param>
/// <param name="subject" type="String">System.String</param>
/// <param name="from" type="String">System.String</param>
/// <param name="replyName" type="String">System.String</param>
/// <param name="customNote" type="String">System.String</param>
/// <param name="allowSignIn" type="Boolean">System.Boolean</param>
/// <param name="hideBoothNumber" type="Boolean">System.Boolean</param>
/// <param name="customUrl" 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(), 'SendBulkMessage',false,{exhibitors:exhibitors,replyAddress:replyAddress,eventId:eventId,subject:subject,from:from,replyName:replyName,customNote:customNote,allowSignIn:allowSignIn,hideBoothNumber:hideBoothNumber,customUrl:customUrl},succeededCallback,failedCallback,userContext); },
SendTestMessage:function(exhibitors,replyAddress,eventId,subject,from,replyName,customNote,allowSignIn,hideBoothNumber,customUrl,testEmails,succeededCallback, failedCallback, userContext) {
/// <param name="exhibitors" type="Array">System.Collections.Generic.List`1[[HanleyAjaxControls.AjaxHtmlMailer.Exhibitor, HanleyAjaxControls, Version=1.0.4276.23360, Culture=neutral, PublicKeyToken=null]]</param>
/// <param name="replyAddress" type="String">System.String</param>
/// <param name="eventId" type="Number">System.Int32</param>
/// <param name="subject" type="String">System.String</param>
/// <param name="from" type="String">System.String</param>
/// <param name="replyName" type="String">System.String</param>
/// <param name="customNote" type="String">System.String</param>
/// <param name="allowSignIn" type="Boolean">System.Boolean</param>
/// <param name="hideBoothNumber" type="Boolean">System.Boolean</param>
/// <param name="customUrl" type="String">System.String</param>
/// <param name="testEmails" 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(), 'SendTestMessage',false,{exhibitors:exhibitors,replyAddress:replyAddress,eventId:eventId,subject:subject,from:from,replyName:replyName,customNote:customNote,allowSignIn:allowSignIn,hideBoothNumber:hideBoothNumber,customUrl:customUrl,testEmails:testEmails},succeededCallback,failedCallback,userContext); }}
hanleywood.com.ihtmlmailer.registerClass('hanleywood.com.ihtmlmailer',Sys.Net.WebServiceProxy);
hanleywood.com.ihtmlmailer._staticInstance = new hanleywood.com.ihtmlmailer();
hanleywood.com.ihtmlmailer.set_path = function(value) {
hanleywood.com.ihtmlmailer._staticInstance.set_path(value); }
hanleywood.com.ihtmlmailer.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return hanleywood.com.ihtmlmailer._staticInstance.get_path();}
hanleywood.com.ihtmlmailer.set_timeout = function(value) {
hanleywood.com.ihtmlmailer._staticInstance.set_timeout(value); }
hanleywood.com.ihtmlmailer.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return hanleywood.com.ihtmlmailer._staticInstance.get_timeout(); }
hanleywood.com.ihtmlmailer.set_defaultUserContext = function(value) { 
hanleywood.com.ihtmlmailer._staticInstance.set_defaultUserContext(value); }
hanleywood.com.ihtmlmailer.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return hanleywood.com.ihtmlmailer._staticInstance.get_defaultUserContext(); }
hanleywood.com.ihtmlmailer.set_defaultSucceededCallback = function(value) { 
 hanleywood.com.ihtmlmailer._staticInstance.set_defaultSucceededCallback(value); }
hanleywood.com.ihtmlmailer.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return hanleywood.com.ihtmlmailer._staticInstance.get_defaultSucceededCallback(); }
hanleywood.com.ihtmlmailer.set_defaultFailedCallback = function(value) { 
hanleywood.com.ihtmlmailer._staticInstance.set_defaultFailedCallback(value); }
hanleywood.com.ihtmlmailer.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return hanleywood.com.ihtmlmailer._staticInstance.get_defaultFailedCallback(); }
hanleywood.com.ihtmlmailer.set_path("/CONNECT/AjaxWebServices/AjaxHtmlMailerService.svc");
hanleywood.com.ihtmlmailer.GetAllExhibitors= function(eventId,onSuccess,onFailed,userContext) {
/// <param name="eventId" 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>
hanleywood.com.ihtmlmailer._staticInstance.GetAllExhibitors(eventId,onSuccess,onFailed,userContext); }
hanleywood.com.ihtmlmailer.SendMessage= function(eventId,eCode,address,exhibitingAs,boothLabel,subject,replyAddress,replyName,replyPhone,boothId,coId,customNote,allowSignIn,hideBoothNumber,customUrl,onSuccess,onFailed,userContext) {
/// <param name="eventId" type="Number">System.Int32</param>
/// <param name="eCode" type="String">System.String</param>
/// <param name="address" type="String">System.String</param>
/// <param name="exhibitingAs" type="String">System.String</param>
/// <param name="boothLabel" type="String">System.String</param>
/// <param name="subject" type="String">System.String</param>
/// <param name="replyAddress" type="String">System.String</param>
/// <param name="replyName" type="String">System.String</param>
/// <param name="replyPhone" type="String">System.String</param>
/// <param name="boothId" type="Number">System.Int32</param>
/// <param name="coId" type="Number">System.Int32</param>
/// <param name="customNote" type="String">System.String</param>
/// <param name="allowSignIn" type="Boolean">System.Boolean</param>
/// <param name="hideBoothNumber" type="Boolean">System.Boolean</param>
/// <param name="customUrl" 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>
hanleywood.com.ihtmlmailer._staticInstance.SendMessage(eventId,eCode,address,exhibitingAs,boothLabel,subject,replyAddress,replyName,replyPhone,boothId,coId,customNote,allowSignIn,hideBoothNumber,customUrl,onSuccess,onFailed,userContext); }
hanleywood.com.ihtmlmailer.SendBulkMessage= function(exhibitors,replyAddress,eventId,subject,from,replyName,customNote,allowSignIn,hideBoothNumber,customUrl,onSuccess,onFailed,userContext) {
/// <param name="exhibitors" type="Array">System.Collections.Generic.List`1[[HanleyAjaxControls.AjaxHtmlMailer.Exhibitor, HanleyAjaxControls, Version=1.0.4276.23360, Culture=neutral, PublicKeyToken=null]]</param>
/// <param name="replyAddress" type="String">System.String</param>
/// <param name="eventId" type="Number">System.Int32</param>
/// <param name="subject" type="String">System.String</param>
/// <param name="from" type="String">System.String</param>
/// <param name="replyName" type="String">System.String</param>
/// <param name="customNote" type="String">System.String</param>
/// <param name="allowSignIn" type="Boolean">System.Boolean</param>
/// <param name="hideBoothNumber" type="Boolean">System.Boolean</param>
/// <param name="customUrl" 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>
hanleywood.com.ihtmlmailer._staticInstance.SendBulkMessage(exhibitors,replyAddress,eventId,subject,from,replyName,customNote,allowSignIn,hideBoothNumber,customUrl,onSuccess,onFailed,userContext); }
hanleywood.com.ihtmlmailer.SendTestMessage= function(exhibitors,replyAddress,eventId,subject,from,replyName,customNote,allowSignIn,hideBoothNumber,customUrl,testEmails,onSuccess,onFailed,userContext) {
/// <param name="exhibitors" type="Array">System.Collections.Generic.List`1[[HanleyAjaxControls.AjaxHtmlMailer.Exhibitor, HanleyAjaxControls, Version=1.0.4276.23360, Culture=neutral, PublicKeyToken=null]]</param>
/// <param name="replyAddress" type="String">System.String</param>
/// <param name="eventId" type="Number">System.Int32</param>
/// <param name="subject" type="String">System.String</param>
/// <param name="from" type="String">System.String</param>
/// <param name="replyName" type="String">System.String</param>
/// <param name="customNote" type="String">System.String</param>
/// <param name="allowSignIn" type="Boolean">System.Boolean</param>
/// <param name="hideBoothNumber" type="Boolean">System.Boolean</param>
/// <param name="customUrl" type="String">System.String</param>
/// <param name="testEmails" 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>
hanleywood.com.ihtmlmailer._staticInstance.SendTestMessage(exhibitors,replyAddress,eventId,subject,from,replyName,customNote,allowSignIn,hideBoothNumber,customUrl,testEmails,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('HanleyAjaxControls.AjaxHtmlMailer');
if (typeof(HanleyAjaxControls.AjaxHtmlMailer.Exhibitor) === 'undefined') {
HanleyAjaxControls.AjaxHtmlMailer.Exhibitor=gtc("Exhibitor:http://schemas.datacontract.org/2004/07/HanleyAjaxControls.AjaxHtmlMailer");
HanleyAjaxControls.AjaxHtmlMailer.Exhibitor.registerClass('HanleyAjaxControls.AjaxHtmlMailer.Exhibitor');
}

