var AgentWebsiteService=function() {
AgentWebsiteService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AgentWebsiteService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AgentWebsiteService._staticInstance.get_path();},
GetDesignationDescription:function(designationId,succeededCallback, failedCallback, userContext) {
/// <param name="designationId" 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(), 'GetDesignationDescription',false,{designationId:designationId},succeededCallback,failedCallback,userContext); },
DeleteImportantDateReminder:function(reminderId,succeededCallback, failedCallback, userContext) {
/// <param name="reminderId" 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(), 'DeleteImportantDateReminder',false,{reminderId:reminderId},succeededCallback,failedCallback,userContext); },
SaveReminder:function(reminderId,description,eventMonth,eventDay,daysInAdvance,isAnnual,note,succeededCallback, failedCallback, userContext) {
/// <param name="reminderId" type="Number">System.Int32</param>
/// <param name="description" type="String">System.String</param>
/// <param name="eventMonth" type="Number">System.Int32</param>
/// <param name="eventDay" type="Number">System.Int32</param>
/// <param name="daysInAdvance" type="Number">System.Int32</param>
/// <param name="isAnnual" type="Boolean">System.Boolean</param>
/// <param name="note" 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(), 'SaveReminder',false,{reminderId:reminderId,description:description,eventMonth:eventMonth,eventDay:eventDay,daysInAdvance:daysInAdvance,isAnnual:isAnnual,note:note},succeededCallback,failedCallback,userContext); }}
AgentWebsiteService.registerClass('AgentWebsiteService',Sys.Net.WebServiceProxy);
AgentWebsiteService._staticInstance = new AgentWebsiteService();
AgentWebsiteService.set_path = function(value) {
AgentWebsiteService._staticInstance.set_path(value); }
AgentWebsiteService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AgentWebsiteService._staticInstance.get_path();}
AgentWebsiteService.set_timeout = function(value) {
AgentWebsiteService._staticInstance.set_timeout(value); }
AgentWebsiteService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AgentWebsiteService._staticInstance.get_timeout(); }
AgentWebsiteService.set_defaultUserContext = function(value) { 
AgentWebsiteService._staticInstance.set_defaultUserContext(value); }
AgentWebsiteService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AgentWebsiteService._staticInstance.get_defaultUserContext(); }
AgentWebsiteService.set_defaultSucceededCallback = function(value) { 
 AgentWebsiteService._staticInstance.set_defaultSucceededCallback(value); }
AgentWebsiteService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AgentWebsiteService._staticInstance.get_defaultSucceededCallback(); }
AgentWebsiteService.set_defaultFailedCallback = function(value) { 
AgentWebsiteService._staticInstance.set_defaultFailedCallback(value); }
AgentWebsiteService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AgentWebsiteService._staticInstance.get_defaultFailedCallback(); }
AgentWebsiteService.set_path("/agentwebsites/AgentWebsiteService.asmx");
AgentWebsiteService.GetDesignationDescription= function(designationId,onSuccess,onFailed,userContext) {
/// <param name="designationId" 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>
AgentWebsiteService._staticInstance.GetDesignationDescription(designationId,onSuccess,onFailed,userContext); }
AgentWebsiteService.DeleteImportantDateReminder= function(reminderId,onSuccess,onFailed,userContext) {
/// <param name="reminderId" 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>
AgentWebsiteService._staticInstance.DeleteImportantDateReminder(reminderId,onSuccess,onFailed,userContext); }
AgentWebsiteService.SaveReminder= function(reminderId,description,eventMonth,eventDay,daysInAdvance,isAnnual,note,onSuccess,onFailed,userContext) {
/// <param name="reminderId" type="Number">System.Int32</param>
/// <param name="description" type="String">System.String</param>
/// <param name="eventMonth" type="Number">System.Int32</param>
/// <param name="eventDay" type="Number">System.Int32</param>
/// <param name="daysInAdvance" type="Number">System.Int32</param>
/// <param name="isAnnual" type="Boolean">System.Boolean</param>
/// <param name="note" 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>
AgentWebsiteService._staticInstance.SaveReminder(reminderId,description,eventMonth,eventDay,daysInAdvance,isAnnual,note,onSuccess,onFailed,userContext); }

