var WSAssessmentReport=function() {
WSAssessmentReport.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WSAssessmentReport.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WSAssessmentReport._staticInstance.get_path();},
GetAdminReportState:function(reportType,assessmentId,customerId,showLink,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAdminReportState',false,{reportType:reportType,assessmentId:assessmentId,customerId:customerId,showLink:showLink},succeededCallback,failedCallback,userContext); },
DeductCreditBalance:function(reportType,assessmentId,showLink,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeductCreditBalance',false,{reportType:reportType,assessmentId:assessmentId,showLink:showLink},succeededCallback,failedCallback,userContext); },
SaveAssessmentResults:function(listQuestions,ifilename,qHandlerType,questionnaireType,groupId,userId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveAssessmentResults',false,{listQuestions:listQuestions,ifilename:ifilename,qHandlerType:qHandlerType,questionnaireType:questionnaireType,groupId:groupId,userId:userId},succeededCallback,failedCallback,userContext); }}
WSAssessmentReport.registerClass('WSAssessmentReport',Sys.Net.WebServiceProxy);
WSAssessmentReport._staticInstance = new WSAssessmentReport();
WSAssessmentReport.set_path = function(value) { WSAssessmentReport._staticInstance.set_path(value); }
WSAssessmentReport.get_path = function() { return WSAssessmentReport._staticInstance.get_path(); }
WSAssessmentReport.set_timeout = function(value) { WSAssessmentReport._staticInstance.set_timeout(value); }
WSAssessmentReport.get_timeout = function() { return WSAssessmentReport._staticInstance.get_timeout(); }
WSAssessmentReport.set_defaultUserContext = function(value) { WSAssessmentReport._staticInstance.set_defaultUserContext(value); }
WSAssessmentReport.get_defaultUserContext = function() { return WSAssessmentReport._staticInstance.get_defaultUserContext(); }
WSAssessmentReport.set_defaultSucceededCallback = function(value) { WSAssessmentReport._staticInstance.set_defaultSucceededCallback(value); }
WSAssessmentReport.get_defaultSucceededCallback = function() { return WSAssessmentReport._staticInstance.get_defaultSucceededCallback(); }
WSAssessmentReport.set_defaultFailedCallback = function(value) { WSAssessmentReport._staticInstance.set_defaultFailedCallback(value); }
WSAssessmentReport.get_defaultFailedCallback = function() { return WSAssessmentReport._staticInstance.get_defaultFailedCallback(); }
WSAssessmentReport.set_path("/WebServices/AssessmentReport.asmx");
WSAssessmentReport.GetAdminReportState= function(reportType,assessmentId,customerId,showLink,onSuccess,onFailed,userContext) {WSAssessmentReport._staticInstance.GetAdminReportState(reportType,assessmentId,customerId,showLink,onSuccess,onFailed,userContext); }
WSAssessmentReport.DeductCreditBalance= function(reportType,assessmentId,showLink,onSuccess,onFailed,userContext) {WSAssessmentReport._staticInstance.DeductCreditBalance(reportType,assessmentId,showLink,onSuccess,onFailed,userContext); }
WSAssessmentReport.SaveAssessmentResults= function(listQuestions,ifilename,qHandlerType,questionnaireType,groupId,userId,onSuccess,onFailed,userContext) {WSAssessmentReport._staticInstance.SaveAssessmentResults(listQuestions,ifilename,qHandlerType,questionnaireType,groupId,userId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('IB.BL');
if (typeof(IB.BL.AssessmentReportState) === 'undefined') {
IB.BL.AssessmentReportState=gtc("IB.BL.AssessmentReportState");
IB.BL.AssessmentReportState.registerClass('IB.BL.AssessmentReportState');
}
Type.registerNamespace('IB.QuestionsHandler');
if (typeof(IB.QuestionsHandler.Question) === 'undefined') {
IB.QuestionsHandler.Question=gtc("IB.QuestionsHandler.Question");
IB.QuestionsHandler.Question.registerClass('IB.QuestionsHandler.Question');
}
if (typeof(IB.BL.DatabaseUploadResult) === 'undefined') {
IB.BL.DatabaseUploadResult=gtc("IB.BL.DatabaseUploadResult");
IB.BL.DatabaseUploadResult.registerClass('IB.BL.DatabaseUploadResult');
}
if (typeof(IB.BL.UploadMode) === 'undefined') {
IB.BL.UploadMode = function() { throw Error.invalidOperation(); }
IB.BL.UploadMode.prototype = {JTP: 0,CareerAdvice: 1,LeaderShip: 2,Other: 3}
IB.BL.UploadMode.registerEnum('IB.BL.UploadMode', true);
}
if (typeof(IB.BL.UploadStatus) === 'undefined') {
IB.BL.UploadStatus = function() { throw Error.invalidOperation(); }
IB.BL.UploadStatus.prototype = {Success: 0,UnReliable: 1,Error: 2}
IB.BL.UploadStatus.registerEnum('IB.BL.UploadStatus', true);
}
if (typeof(IB.BL.AssessmentReportType) === 'undefined') {
IB.BL.AssessmentReportType = function() { throw Error.invalidOperation(); }
IB.BL.AssessmentReportType.prototype = {General: 1,Responces: 2,Specialist: 3,JCG: 4}
IB.BL.AssessmentReportType.registerEnum('IB.BL.AssessmentReportType', true);
}
if (typeof(IB.BL.UserRole) === 'undefined') {
IB.BL.UserRole = function() { throw Error.invalidOperation(); }
IB.BL.UserRole.prototype = {SuperAdmin: 1,Admin: 3,Respondent: 5,CareerAdvice: 7,Leadership: 9}
IB.BL.UserRole.registerEnum('IB.BL.UserRole', true);
}
if (typeof(IB.BL.AssessmentReportStatus) === 'undefined') {
IB.BL.AssessmentReportStatus = function() { throw Error.invalidOperation(); }
IB.BL.AssessmentReportStatus.prototype = {paid: 0,unpaidCreditsExists: 1,unpaidNotEnoughCredits: 2,noSuchAssessment: 3,paymentError: 4,sessionExpired: 5,respondentUnpaidNotEnoughCredits: 6}
IB.BL.AssessmentReportStatus.registerEnum('IB.BL.AssessmentReportStatus', true);
}
if (typeof(IB.QuestionsHandler.QHandlerType) === 'undefined') {
IB.QuestionsHandler.QHandlerType = function() { throw Error.invalidOperation(); }
IB.QuestionsHandler.QHandlerType.prototype = {Standard: 0,Leadership: 1,other: 2}
IB.QuestionsHandler.QHandlerType.registerEnum('IB.QuestionsHandler.QHandlerType', true);
}
if (typeof(IB.QuestionsHandler.QuestionnaireType) === 'undefined') {
IB.QuestionsHandler.QuestionnaireType = function() { throw Error.invalidOperation(); }
IB.QuestionsHandler.QuestionnaireType.prototype = {JTP: 0,CareerAdvice: 1,LeaderShip: 2,Another: 3}
IB.QuestionsHandler.QuestionnaireType.registerEnum('IB.QuestionsHandler.QuestionnaireType', true);
}

