Type.registerNamespace('MB.BabyArmy.Shared.WebServices');
MB.BabyArmy.Shared.WebServices.BabyTimelineService=function() {
MB.BabyArmy.Shared.WebServices.BabyTimelineService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MB.BabyArmy.Shared.WebServices.BabyTimelineService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.get_path();},
GetStages:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStages',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetBabyNames:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBabyNames',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetCityOrTown:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCityOrTown',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetPostcode:function(postcode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPostcode',false,{postcode:postcode},succeededCallback,failedCallback,userContext); },
GetCityFromPostcode:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCityFromPostcode',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
Country_Validate:function(country,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Country_Validate',false,{country:country},succeededCallback,failedCallback,userContext); },
PostCode_Validate:function(country,postcode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostCode_Validate',false,{country:country,postcode:postcode},succeededCallback,failedCallback,userContext); },
CalculateDueDate:function(lastDate,numberOfDays,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CalculateDueDate',false,{lastDate:lastDate,numberOfDays:numberOfDays},succeededCallback,failedCallback,userContext); }}
MB.BabyArmy.Shared.WebServices.BabyTimelineService.registerClass('MB.BabyArmy.Shared.WebServices.BabyTimelineService',Sys.Net.WebServiceProxy);
MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance = new MB.BabyArmy.Shared.WebServices.BabyTimelineService();
MB.BabyArmy.Shared.WebServices.BabyTimelineService.set_path = function(value) { MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.set_path(value); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.get_path = function() { return MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.get_path(); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.set_timeout = function(value) { MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.set_timeout(value); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.get_timeout = function() { return MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.get_timeout(); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.set_defaultUserContext = function(value) { MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.set_defaultUserContext(value); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.get_defaultUserContext = function() { return MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.get_defaultUserContext(); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.set_defaultSucceededCallback = function(value) { MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.set_defaultSucceededCallback(value); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.get_defaultSucceededCallback = function() { return MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.get_defaultSucceededCallback(); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.set_defaultFailedCallback = function(value) { MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.set_defaultFailedCallback(value); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.get_defaultFailedCallback = function() { return MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.get_defaultFailedCallback(); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.set_path("/AdminBA/BabyTimelineService.asmx");
MB.BabyArmy.Shared.WebServices.BabyTimelineService.GetStages= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.GetStages(knownCategoryValues,category,onSuccess,onFailed,userContext); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.GetBabyNames= function(prefixText,count,onSuccess,onFailed,userContext) {MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.GetBabyNames(prefixText,count,onSuccess,onFailed,userContext); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.GetCityOrTown= function(prefixText,count,onSuccess,onFailed,userContext) {MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.GetCityOrTown(prefixText,count,onSuccess,onFailed,userContext); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.GetPostcode= function(postcode,onSuccess,onFailed,userContext) {MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.GetPostcode(postcode,onSuccess,onFailed,userContext); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.GetCityFromPostcode= function(contextKey,onSuccess,onFailed,userContext) {MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.GetCityFromPostcode(contextKey,onSuccess,onFailed,userContext); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.Country_Validate= function(country,onSuccess,onFailed,userContext) {MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.Country_Validate(country,onSuccess,onFailed,userContext); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.PostCode_Validate= function(country,postcode,onSuccess,onFailed,userContext) {MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.PostCode_Validate(country,postcode,onSuccess,onFailed,userContext); }
MB.BabyArmy.Shared.WebServices.BabyTimelineService.CalculateDueDate= function(lastDate,numberOfDays,onSuccess,onFailed,userContext) {MB.BabyArmy.Shared.WebServices.BabyTimelineService._staticInstance.CalculateDueDate(lastDate,numberOfDays,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}
Type.registerNamespace('MB.Framework.Data');
if (typeof(MB.Framework.Data.Postcode) === 'undefined') {
MB.Framework.Data.Postcode=gtc("MB.Framework.Data.Postcode");
MB.Framework.Data.Postcode.registerClass('MB.Framework.Data.Postcode');
}
