var AjaxWebService=function() {
AjaxWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AjaxWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AjaxWebService._staticInstance.get_path();},
GetOwnerEmailCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" 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(), 'GetOwnerEmailCompletionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetDatesForCheckIn:function(calendarId,pmAccountId,propertyId,propertyUnitId,year,month,succeededCallback, failedCallback, userContext) {
/// <param name="calendarId" type="String">System.String</param>
/// <param name="pmAccountId" type="String">System.Guid</param>
/// <param name="propertyId" type="String">System.Guid</param>
/// <param name="propertyUnitId" type="String">System.Guid</param>
/// <param name="year" type="Number">System.Int32</param>
/// <param name="month" 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(), 'GetDatesForCheckIn',false,{calendarId:calendarId,pmAccountId:pmAccountId,propertyId:propertyId,propertyUnitId:propertyUnitId,year:year,month:month},succeededCallback,failedCallback,userContext); },
GetDatesForCheckOut:function(propertyUnitId,year,month,day,checkInDate,succeededCallback, failedCallback, userContext) {
/// <param name="propertyUnitId" type="String">System.String</param>
/// <param name="year" type="Number">System.Int32</param>
/// <param name="month" type="Number">System.Int32</param>
/// <param name="day" type="Number">System.Int32</param>
/// <param name="checkInDate" type="Date">System.DateTime</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(), 'GetDatesForCheckOut',false,{propertyUnitId:propertyUnitId,year:year,month:month,day:day,checkInDate:checkInDate},succeededCallback,failedCallback,userContext); },
GetBlockedStartDate:function(propertyUnitId,year,month,day,succeededCallback, failedCallback, userContext) {
/// <param name="propertyUnitId" type="String">System.String</param>
/// <param name="year" type="Number">System.Int32</param>
/// <param name="month" type="Number">System.Int32</param>
/// <param name="day" 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(), 'GetBlockedStartDate',false,{propertyUnitId:propertyUnitId,year:year,month:month,day:day},succeededCallback,failedCallback,userContext); },
GetBlockedEndDate:function(propertyUnitId,year,month,day,checkInDate,succeededCallback, failedCallback, userContext) {
/// <param name="propertyUnitId" type="String">System.String</param>
/// <param name="year" type="Number">System.Int32</param>
/// <param name="month" type="Number">System.Int32</param>
/// <param name="day" type="Number">System.Int32</param>
/// <param name="checkInDate" type="Date">System.DateTime</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(), 'GetBlockedEndDate',false,{propertyUnitId:propertyUnitId,year:year,month:month,day:day,checkInDate:checkInDate},succeededCallback,failedCallback,userContext); }}
AjaxWebService.registerClass('AjaxWebService',Sys.Net.WebServiceProxy);
AjaxWebService._staticInstance = new AjaxWebService();
AjaxWebService.set_path = function(value) {
AjaxWebService._staticInstance.set_path(value); }
AjaxWebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AjaxWebService._staticInstance.get_path();}
AjaxWebService.set_timeout = function(value) {
AjaxWebService._staticInstance.set_timeout(value); }
AjaxWebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AjaxWebService._staticInstance.get_timeout(); }
AjaxWebService.set_defaultUserContext = function(value) { 
AjaxWebService._staticInstance.set_defaultUserContext(value); }
AjaxWebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AjaxWebService._staticInstance.get_defaultUserContext(); }
AjaxWebService.set_defaultSucceededCallback = function(value) { 
 AjaxWebService._staticInstance.set_defaultSucceededCallback(value); }
AjaxWebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AjaxWebService._staticInstance.get_defaultSucceededCallback(); }
AjaxWebService.set_defaultFailedCallback = function(value) { 
AjaxWebService._staticInstance.set_defaultFailedCallback(value); }
AjaxWebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AjaxWebService._staticInstance.get_defaultFailedCallback(); }
AjaxWebService.set_path("/Portal/WebServices/AjaxWebService.asmx");
AjaxWebService.GetOwnerEmailCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" 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>
AjaxWebService._staticInstance.GetOwnerEmailCompletionList(prefixText,count,onSuccess,onFailed,userContext); }
AjaxWebService.GetDatesForCheckIn= function(calendarId,pmAccountId,propertyId,propertyUnitId,year,month,onSuccess,onFailed,userContext) {
/// <param name="calendarId" type="String">System.String</param>
/// <param name="pmAccountId" type="String">System.Guid</param>
/// <param name="propertyId" type="String">System.Guid</param>
/// <param name="propertyUnitId" type="String">System.Guid</param>
/// <param name="year" type="Number">System.Int32</param>
/// <param name="month" 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>
AjaxWebService._staticInstance.GetDatesForCheckIn(calendarId,pmAccountId,propertyId,propertyUnitId,year,month,onSuccess,onFailed,userContext); }
AjaxWebService.GetDatesForCheckOut= function(propertyUnitId,year,month,day,checkInDate,onSuccess,onFailed,userContext) {
/// <param name="propertyUnitId" type="String">System.String</param>
/// <param name="year" type="Number">System.Int32</param>
/// <param name="month" type="Number">System.Int32</param>
/// <param name="day" type="Number">System.Int32</param>
/// <param name="checkInDate" type="Date">System.DateTime</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>
AjaxWebService._staticInstance.GetDatesForCheckOut(propertyUnitId,year,month,day,checkInDate,onSuccess,onFailed,userContext); }
AjaxWebService.GetBlockedStartDate= function(propertyUnitId,year,month,day,onSuccess,onFailed,userContext) {
/// <param name="propertyUnitId" type="String">System.String</param>
/// <param name="year" type="Number">System.Int32</param>
/// <param name="month" type="Number">System.Int32</param>
/// <param name="day" 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>
AjaxWebService._staticInstance.GetBlockedStartDate(propertyUnitId,year,month,day,onSuccess,onFailed,userContext); }
AjaxWebService.GetBlockedEndDate= function(propertyUnitId,year,month,day,checkInDate,onSuccess,onFailed,userContext) {
/// <param name="propertyUnitId" type="String">System.String</param>
/// <param name="year" type="Number">System.Int32</param>
/// <param name="month" type="Number">System.Int32</param>
/// <param name="day" type="Number">System.Int32</param>
/// <param name="checkInDate" type="Date">System.DateTime</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>
AjaxWebService._staticInstance.GetBlockedEndDate(propertyUnitId,year,month,day,checkInDate,onSuccess,onFailed,userContext); }
