Type.registerNamespace('TellBob.Services');
TellBob.Services.WebCall=function() {
TellBob.Services.WebCall.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TellBob.Services.WebCall.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TellBob.Services.WebCall._staticInstance.get_path();},
UsernameExists:function(username,succeededCallback, failedCallback, userContext) {
/// <param name="username" 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(), 'UsernameExists',false,{username:username},succeededCallback,failedCallback,userContext); },
GetOptionTemplateResponses:function(templateID,succeededCallback, failedCallback, userContext) {
/// <param name="templateID" 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(), 'GetOptionTemplateResponses',false,{templateID:templateID},succeededCallback,failedCallback,userContext); },
SetMerchantID:function(merchantID,succeededCallback, failedCallback, userContext) {
/// <param name="merchantID" 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(), 'SetMerchantID',false,{merchantID:merchantID},succeededCallback,failedCallback,userContext); },
ResetMerchantID: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(), 'ResetMerchantID',false,{},succeededCallback,failedCallback,userContext); },
GetTimeoutConfig: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(), 'GetTimeoutConfig',false,{},succeededCallback,failedCallback,userContext); },
TemplateTitleExists:function(title,templateID,succeededCallback, failedCallback, userContext) {
/// <param name="title" type="String">System.String</param>
/// <param name="templateID" 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(), 'TemplateTitleExists',false,{title:title,templateID:templateID},succeededCallback,failedCallback,userContext); },
GetTrades:function(count,index,direction,succeededCallback, failedCallback, userContext) {
/// <param name="count" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="direction" type="Boolean">System.Boolean</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(), 'GetTrades',false,{count:count,index:index,direction:direction},succeededCallback,failedCallback,userContext); },
GetTradedRewards:function(swapID,initiatorUserID,targetUserID,succeededCallback, failedCallback, userContext) {
/// <param name="swapID" type="String">System.Guid</param>
/// <param name="initiatorUserID" type="String">System.Guid</param>
/// <param name="targetUserID" type="String">System.Guid</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(), 'GetTradedRewards',false,{swapID:swapID,initiatorUserID:initiatorUserID,targetUserID:targetUserID},succeededCallback,failedCallback,userContext); },
GetPopularRewards:function(count,index,succeededCallback, failedCallback, userContext) {
/// <param name="count" type="Number">System.Int32</param>
/// <param name="index" 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(), 'GetPopularRewards',false,{count:count,index:index},succeededCallback,failedCallback,userContext); },
GetMembersForRotator:function(count,index,succeededCallback, failedCallback, userContext) {
/// <param name="count" type="Number">System.Int32</param>
/// <param name="index" 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(), 'GetMembersForRotator',false,{count:count,index:index},succeededCallback,failedCallback,userContext); },
GetMostActiveMembersForRotator:function(count,index,succeededCallback, failedCallback, userContext) {
/// <param name="count" type="Number">System.Int32</param>
/// <param name="index" 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(), 'GetMostActiveMembersForRotator',false,{count:count,index:index},succeededCallback,failedCallback,userContext); },
GetMembersCompletedSurvey:function(count,index,surveyID,succeededCallback, failedCallback, userContext) {
/// <param name="count" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="surveyID" 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(), 'GetMembersCompletedSurvey',false,{count:count,index:index,surveyID:surveyID},succeededCallback,failedCallback,userContext); },
GetMembersForReward:function(count,index,rewardID,succeededCallback, failedCallback, userContext) {
/// <param name="count" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="rewardID" 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(), 'GetMembersForReward',false,{count:count,index:index,rewardID:rewardID},succeededCallback,failedCallback,userContext); },
GetSurveyQuestions:function(userSurveyID,succeededCallback, failedCallback, userContext) {
/// <param name="userSurveyID" type="String">System.Guid</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(), 'GetSurveyQuestions',false,{userSurveyID:userSurveyID},succeededCallback,failedCallback,userContext); },
PostSurveyResult:function(userSurveyID,responses,succeededCallback, failedCallback, userContext) {
/// <param name="userSurveyID" type="String">System.Guid</param>
/// <param name="responses" type="Array">TellBob.Data.QuestionResponse[]</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(), 'PostSurveyResult',false,{userSurveyID:userSurveyID,responses:responses},succeededCallback,failedCallback,userContext); },
SaveReward:function(userSurveyID,rewardID,doPrint,goToLogin,canPublish,feedMsg,succeededCallback, failedCallback, userContext) {
/// <param name="userSurveyID" type="String">System.Guid</param>
/// <param name="rewardID" type="Number">System.Int32</param>
/// <param name="doPrint" type="Boolean">System.Boolean</param>
/// <param name="goToLogin" type="Boolean">System.Boolean</param>
/// <param name="canPublish" type="Boolean">System.Boolean</param>
/// <param name="feedMsg" 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(), 'SaveReward',false,{userSurveyID:userSurveyID,rewardID:rewardID,doPrint:doPrint,goToLogin:goToLogin,canPublish:canPublish,feedMsg:feedMsg},succeededCallback,failedCallback,userContext); },
CheckPromoCode:function(code,succeededCallback, failedCallback, userContext) {
/// <param name="code" 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(), 'CheckPromoCode',false,{code:code},succeededCallback,failedCallback,userContext); },
GetRewards:function(catID,index,pageSize,succeededCallback, failedCallback, userContext) {
/// <param name="catID" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="pageSize" 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(), 'GetRewards',false,{catID:catID,index:index,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
GetRewardsSearch:function(search,index,pageSize,succeededCallback, failedCallback, userContext) {
/// <param name="search" type="String">System.String</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="pageSize" 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(), 'GetRewardsSearch',false,{search:search,index:index,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
GetRewardCategories: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(), 'GetRewardCategories',false,{},succeededCallback,failedCallback,userContext); },
CropImage:function(path,origW,origH,displayW,displayH,x,y,w,h,succeededCallback, failedCallback, userContext) {
/// <param name="path" type="String">System.String</param>
/// <param name="origW" type="Number">System.Int32</param>
/// <param name="origH" type="Number">System.Int32</param>
/// <param name="displayW" type="Number">System.Int32</param>
/// <param name="displayH" type="Number">System.Int32</param>
/// <param name="x" type="Number">System.Int32</param>
/// <param name="y" type="Number">System.Int32</param>
/// <param name="w" type="Number">System.Int32</param>
/// <param name="h" 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(), 'CropImage',false,{path:path,origW:origW,origH:origH,displayW:displayW,displayH:displayH,x:x,y:y,w:w,h:h},succeededCallback,failedCallback,userContext); },
GetSatisfactionZones: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(), 'GetSatisfactionZones',false,{},succeededCallback,failedCallback,userContext); }}
TellBob.Services.WebCall.registerClass('TellBob.Services.WebCall',Sys.Net.WebServiceProxy);
TellBob.Services.WebCall._staticInstance = new TellBob.Services.WebCall();
TellBob.Services.WebCall.set_path = function(value) {
TellBob.Services.WebCall._staticInstance.set_path(value); }
TellBob.Services.WebCall.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return TellBob.Services.WebCall._staticInstance.get_path();}
TellBob.Services.WebCall.set_timeout = function(value) {
TellBob.Services.WebCall._staticInstance.set_timeout(value); }
TellBob.Services.WebCall.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return TellBob.Services.WebCall._staticInstance.get_timeout(); }
TellBob.Services.WebCall.set_defaultUserContext = function(value) { 
TellBob.Services.WebCall._staticInstance.set_defaultUserContext(value); }
TellBob.Services.WebCall.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return TellBob.Services.WebCall._staticInstance.get_defaultUserContext(); }
TellBob.Services.WebCall.set_defaultSucceededCallback = function(value) { 
 TellBob.Services.WebCall._staticInstance.set_defaultSucceededCallback(value); }
TellBob.Services.WebCall.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return TellBob.Services.WebCall._staticInstance.get_defaultSucceededCallback(); }
TellBob.Services.WebCall.set_defaultFailedCallback = function(value) { 
TellBob.Services.WebCall._staticInstance.set_defaultFailedCallback(value); }
TellBob.Services.WebCall.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return TellBob.Services.WebCall._staticInstance.get_defaultFailedCallback(); }
TellBob.Services.WebCall.set_path("/Services/WebCall.asmx");
TellBob.Services.WebCall.UsernameExists= function(username,onSuccess,onFailed,userContext) {
/// <param name="username" 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>
TellBob.Services.WebCall._staticInstance.UsernameExists(username,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetOptionTemplateResponses= function(templateID,onSuccess,onFailed,userContext) {
/// <param name="templateID" 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>
TellBob.Services.WebCall._staticInstance.GetOptionTemplateResponses(templateID,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.SetMerchantID= function(merchantID,onSuccess,onFailed,userContext) {
/// <param name="merchantID" 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>
TellBob.Services.WebCall._staticInstance.SetMerchantID(merchantID,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.ResetMerchantID= 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>
TellBob.Services.WebCall._staticInstance.ResetMerchantID(onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetTimeoutConfig= 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>
TellBob.Services.WebCall._staticInstance.GetTimeoutConfig(onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.TemplateTitleExists= function(title,templateID,onSuccess,onFailed,userContext) {
/// <param name="title" type="String">System.String</param>
/// <param name="templateID" 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>
TellBob.Services.WebCall._staticInstance.TemplateTitleExists(title,templateID,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetTrades= function(count,index,direction,onSuccess,onFailed,userContext) {
/// <param name="count" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="direction" type="Boolean">System.Boolean</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>
TellBob.Services.WebCall._staticInstance.GetTrades(count,index,direction,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetTradedRewards= function(swapID,initiatorUserID,targetUserID,onSuccess,onFailed,userContext) {
/// <param name="swapID" type="String">System.Guid</param>
/// <param name="initiatorUserID" type="String">System.Guid</param>
/// <param name="targetUserID" type="String">System.Guid</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>
TellBob.Services.WebCall._staticInstance.GetTradedRewards(swapID,initiatorUserID,targetUserID,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetPopularRewards= function(count,index,onSuccess,onFailed,userContext) {
/// <param name="count" type="Number">System.Int32</param>
/// <param name="index" 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>
TellBob.Services.WebCall._staticInstance.GetPopularRewards(count,index,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetMembersForRotator= function(count,index,onSuccess,onFailed,userContext) {
/// <param name="count" type="Number">System.Int32</param>
/// <param name="index" 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>
TellBob.Services.WebCall._staticInstance.GetMembersForRotator(count,index,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetMostActiveMembersForRotator= function(count,index,onSuccess,onFailed,userContext) {
/// <param name="count" type="Number">System.Int32</param>
/// <param name="index" 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>
TellBob.Services.WebCall._staticInstance.GetMostActiveMembersForRotator(count,index,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetMembersCompletedSurvey= function(count,index,surveyID,onSuccess,onFailed,userContext) {
/// <param name="count" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="surveyID" 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>
TellBob.Services.WebCall._staticInstance.GetMembersCompletedSurvey(count,index,surveyID,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetMembersForReward= function(count,index,rewardID,onSuccess,onFailed,userContext) {
/// <param name="count" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="rewardID" 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>
TellBob.Services.WebCall._staticInstance.GetMembersForReward(count,index,rewardID,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetSurveyQuestions= function(userSurveyID,onSuccess,onFailed,userContext) {
/// <param name="userSurveyID" type="String">System.Guid</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>
TellBob.Services.WebCall._staticInstance.GetSurveyQuestions(userSurveyID,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.PostSurveyResult= function(userSurveyID,responses,onSuccess,onFailed,userContext) {
/// <param name="userSurveyID" type="String">System.Guid</param>
/// <param name="responses" type="Array">TellBob.Data.QuestionResponse[]</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>
TellBob.Services.WebCall._staticInstance.PostSurveyResult(userSurveyID,responses,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.SaveReward= function(userSurveyID,rewardID,doPrint,goToLogin,canPublish,feedMsg,onSuccess,onFailed,userContext) {
/// <param name="userSurveyID" type="String">System.Guid</param>
/// <param name="rewardID" type="Number">System.Int32</param>
/// <param name="doPrint" type="Boolean">System.Boolean</param>
/// <param name="goToLogin" type="Boolean">System.Boolean</param>
/// <param name="canPublish" type="Boolean">System.Boolean</param>
/// <param name="feedMsg" 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>
TellBob.Services.WebCall._staticInstance.SaveReward(userSurveyID,rewardID,doPrint,goToLogin,canPublish,feedMsg,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.CheckPromoCode= function(code,onSuccess,onFailed,userContext) {
/// <param name="code" 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>
TellBob.Services.WebCall._staticInstance.CheckPromoCode(code,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetRewards= function(catID,index,pageSize,onSuccess,onFailed,userContext) {
/// <param name="catID" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="pageSize" 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>
TellBob.Services.WebCall._staticInstance.GetRewards(catID,index,pageSize,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetRewardsSearch= function(search,index,pageSize,onSuccess,onFailed,userContext) {
/// <param name="search" type="String">System.String</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="pageSize" 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>
TellBob.Services.WebCall._staticInstance.GetRewardsSearch(search,index,pageSize,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetRewardCategories= 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>
TellBob.Services.WebCall._staticInstance.GetRewardCategories(onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.CropImage= function(path,origW,origH,displayW,displayH,x,y,w,h,onSuccess,onFailed,userContext) {
/// <param name="path" type="String">System.String</param>
/// <param name="origW" type="Number">System.Int32</param>
/// <param name="origH" type="Number">System.Int32</param>
/// <param name="displayW" type="Number">System.Int32</param>
/// <param name="displayH" type="Number">System.Int32</param>
/// <param name="x" type="Number">System.Int32</param>
/// <param name="y" type="Number">System.Int32</param>
/// <param name="w" type="Number">System.Int32</param>
/// <param name="h" 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>
TellBob.Services.WebCall._staticInstance.CropImage(path,origW,origH,displayW,displayH,x,y,w,h,onSuccess,onFailed,userContext); }
TellBob.Services.WebCall.GetSatisfactionZones= 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>
TellBob.Services.WebCall._staticInstance.GetSatisfactionZones(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('WiredCMS');
if (typeof(WiredCMS.ValidationObject) === 'undefined') {
WiredCMS.ValidationObject=gtc("WiredCMS.ValidationObject");
WiredCMS.ValidationObject.registerClass('WiredCMS.ValidationObject');
}
Type.registerNamespace('TellBob.Data');
if (typeof(TellBob.Data.Question) === 'undefined') {
TellBob.Data.Question=gtc("TellBob.Data.Question");
TellBob.Data.Question.registerClass('TellBob.Data.Question');
}
if (typeof(TellBob.Data.QuestionResponse) === 'undefined') {
TellBob.Data.QuestionResponse=gtc("TellBob.Data.QuestionResponse");
TellBob.Data.QuestionResponse.registerClass('TellBob.Data.QuestionResponse');
}
if (typeof(TellBob.Data.QuestionOption) === 'undefined') {
TellBob.Data.QuestionOption=gtc("TellBob.Data.QuestionOption");
TellBob.Data.QuestionOption.registerClass('TellBob.Data.QuestionOption');
}
