Type.registerNamespace('APR.Services.Contracts');
APR.Services.Contracts.ISystemService=function() {
APR.Services.Contracts.ISystemService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
APR.Services.Contracts.ISystemService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return APR.Services.Contracts.ISystemService._staticInstance.get_path();},
GetEnvironment: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(), 'GetEnvironment',false,{},succeededCallback,failedCallback,userContext); },
GetLastError: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(), 'GetLastError',false,{},succeededCallback,failedCallback,userContext); },
GetUSStates: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(), 'GetUSStates',false,{},succeededCallback,failedCallback,userContext); },
SubmitIncident:function(title,description,notes,replicationProcedures,succeededCallback, failedCallback, userContext) {
/// <param name="title" type="String">System.String</param>
/// <param name="description" type="String">System.String</param>
/// <param name="notes" type="String">System.String</param>
/// <param name="replicationProcedures" 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(), 'SubmitIncident',false,{title:title,description:description,notes:notes,replicationProcedures:replicationProcedures},succeededCallback,failedCallback,userContext); }}
APR.Services.Contracts.ISystemService.registerClass('APR.Services.Contracts.ISystemService',Sys.Net.WebServiceProxy);
APR.Services.Contracts.ISystemService._staticInstance = new APR.Services.Contracts.ISystemService();
APR.Services.Contracts.ISystemService.set_path = function(value) {
APR.Services.Contracts.ISystemService._staticInstance.set_path(value); }
APR.Services.Contracts.ISystemService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return APR.Services.Contracts.ISystemService._staticInstance.get_path();}
APR.Services.Contracts.ISystemService.set_timeout = function(value) {
APR.Services.Contracts.ISystemService._staticInstance.set_timeout(value); }
APR.Services.Contracts.ISystemService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return APR.Services.Contracts.ISystemService._staticInstance.get_timeout(); }
APR.Services.Contracts.ISystemService.set_defaultUserContext = function(value) { 
APR.Services.Contracts.ISystemService._staticInstance.set_defaultUserContext(value); }
APR.Services.Contracts.ISystemService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return APR.Services.Contracts.ISystemService._staticInstance.get_defaultUserContext(); }
APR.Services.Contracts.ISystemService.set_defaultSucceededCallback = function(value) { 
 APR.Services.Contracts.ISystemService._staticInstance.set_defaultSucceededCallback(value); }
APR.Services.Contracts.ISystemService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return APR.Services.Contracts.ISystemService._staticInstance.get_defaultSucceededCallback(); }
APR.Services.Contracts.ISystemService.set_defaultFailedCallback = function(value) { 
APR.Services.Contracts.ISystemService._staticInstance.set_defaultFailedCallback(value); }
APR.Services.Contracts.ISystemService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return APR.Services.Contracts.ISystemService._staticInstance.get_defaultFailedCallback(); }
APR.Services.Contracts.ISystemService.set_enableJsonp = function(value) { APR.Services.Contracts.ISystemService._staticInstance.set_enableJsonp(value); }
APR.Services.Contracts.ISystemService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return APR.Services.Contracts.ISystemService._staticInstance.get_enableJsonp(); }
APR.Services.Contracts.ISystemService.set_jsonpCallbackParameter = function(value) { APR.Services.Contracts.ISystemService._staticInstance.set_jsonpCallbackParameter(value); }
APR.Services.Contracts.ISystemService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return APR.Services.Contracts.ISystemService._staticInstance.get_jsonpCallbackParameter(); }
APR.Services.Contracts.ISystemService.set_path("http://vds.performancereporting.com/Services/SystemService.svc");
APR.Services.Contracts.ISystemService.GetEnvironment= 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>
APR.Services.Contracts.ISystemService._staticInstance.GetEnvironment(onSuccess,onFailed,userContext); }
APR.Services.Contracts.ISystemService.GetLastError= 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>
APR.Services.Contracts.ISystemService._staticInstance.GetLastError(onSuccess,onFailed,userContext); }
APR.Services.Contracts.ISystemService.GetUSStates= 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>
APR.Services.Contracts.ISystemService._staticInstance.GetUSStates(onSuccess,onFailed,userContext); }
APR.Services.Contracts.ISystemService.SubmitIncident= function(title,description,notes,replicationProcedures,onSuccess,onFailed,userContext) {
/// <param name="title" type="String">System.String</param>
/// <param name="description" type="String">System.String</param>
/// <param name="notes" type="String">System.String</param>
/// <param name="replicationProcedures" 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>
APR.Services.Contracts.ISystemService._staticInstance.SubmitIncident(title,description,notes,replicationProcedures,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('APR.Business.Dto');
if (typeof(APR.Business.Dto.EnvironmentDto) === 'undefined') {
APR.Business.Dto.EnvironmentDto=gtc("EnvironmentDto:http://schemas.datacontract.org/2004/07/APR.Business.Dto");
APR.Business.Dto.EnvironmentDto.registerClass('APR.Business.Dto.EnvironmentDto');
}
if (typeof(APR.Business.Dto.ErrorDto) === 'undefined') {
APR.Business.Dto.ErrorDto=gtc("ErrorDto:http://schemas.datacontract.org/2004/07/APR.Business.Dto");
APR.Business.Dto.ErrorDto.registerClass('APR.Business.Dto.ErrorDto');
}
Type.registerNamespace('www.performancereporting.com.Business.Admin._01');
if (typeof(www.performancereporting.com.Business.Admin._01.NameCode) === 'undefined') {
www.performancereporting.com.Business.Admin._01.NameCode=gtc("NameCode:http://www.performancereporting.com/Business/Admin/01");
www.performancereporting.com.Business.Admin._01.NameCode.registerClass('www.performancereporting.com.Business.Admin._01.NameCode');
}

