Type.registerNamespace('Melaleuca.Web');
Melaleuca.Web.AjaxManager=function() {
Melaleuca.Web.AjaxManager.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Melaleuca.Web.AjaxManager.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Melaleuca.Web.AjaxManager._staticInstance.get_path();},
TeamSearchItems:function(teamName,teamID,targetID,challengeManager,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TeamSearchItems',false,{teamName:teamName,teamID:teamID,targetID:targetID,challengeManager:challengeManager},succeededCallback,failedCallback,userContext); },
ChallengeChats:function(teamID,challengingTeamID,targetID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ChallengeChats',false,{teamID:teamID,challengingTeamID:challengingTeamID,targetID:targetID},succeededCallback,failedCallback,userContext); },
TeamingUpTeamChallengeChats:function(teamID,targetID,ajaxLoaderID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TeamingUpTeamChallengeChats',false,{teamID:teamID,targetID:targetID,ajaxLoaderID:ajaxLoaderID},succeededCallback,failedCallback,userContext); },
TeamingUpTeamMessages:function(teamID,targetID,ajaxLoaderID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TeamingUpTeamMessages',false,{teamID:teamID,targetID:targetID,ajaxLoaderID:ajaxLoaderID},succeededCallback,failedCallback,userContext); },
TeamingUpChallenges:function(teamID,targetID,modalPopupID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TeamingUpChallenges',false,{teamID:teamID,targetID:targetID,modalPopupID:modalPopupID},succeededCallback,failedCallback,userContext); },
TeamingUpEnrollmentStats:function(teamID,targetID,modalPopupID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TeamingUpEnrollmentStats',false,{teamID:teamID,targetID:targetID,modalPopupID:modalPopupID},succeededCallback,failedCallback,userContext); },
TeamingUpList:function(teamID,targetID,modalPopupID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TeamingUpList',false,{teamID:teamID,targetID:targetID,modalPopupID:modalPopupID},succeededCallback,failedCallback,userContext); },
ManageChallenges:function(teamID,teamName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ManageChallenges',false,{teamID:teamID,teamName:teamName},succeededCallback,failedCallback,userContext); },
SendTeamChallenge:function(teamID,challengedTeamID,challengesResponse,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendTeamChallenge',false,{teamID:teamID,challengedTeamID:challengedTeamID,challengesResponse:challengesResponse},succeededCallback,failedCallback,userContext); },
DeclineChallenge:function(challengeID,teamID,challengesResponse,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeclineChallenge',false,{challengeID:challengeID,teamID:teamID,challengesResponse:challengesResponse},succeededCallback,failedCallback,userContext); },
AcceptChallenge:function(challengeID,teamID,challengesResponse,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AcceptChallenge',false,{challengeID:challengeID,teamID:teamID,challengesResponse:challengesResponse},succeededCallback,failedCallback,userContext); },
CancelTeamChallenge:function(challengeID,teamID,challengesResponse,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CancelTeamChallenge',false,{challengeID:challengeID,teamID:teamID,challengesResponse:challengesResponse},succeededCallback,failedCallback,userContext); },
DeleteTeamMessage:function(messageID,teamID,targetID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteTeamMessage',false,{messageID:messageID,teamID:teamID,targetID:targetID},succeededCallback,failedCallback,userContext); },
SaveTeamMessage:function(messageID,teamID,teamLeadID,message,targetID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveTeamMessage',false,{messageID:messageID,teamID:teamID,teamLeadID:teamLeadID,message:message,targetID:targetID},succeededCallback,failedCallback,userContext); },
SaveChallengeChat:function(chatID,chat,memberIDFrom,teamIDFrom,teamIDTo,targetID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveChallengeChat',false,{chatID:chatID,chat:chat,memberIDFrom:memberIDFrom,teamIDFrom:teamIDFrom,teamIDTo:teamIDTo,targetID:targetID},succeededCallback,failedCallback,userContext); },
GetTeamRoster:function(TeamID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTeamRoster',false,{TeamID:TeamID},succeededCallback,failedCallback,userContext); },
CheckTeamName:function(TeamName,TeamID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckTeamName',false,{TeamName:TeamName,TeamID:TeamID},succeededCallback,failedCallback,userContext); },
SendInvite:function(TeamID,CustomerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendInvite',false,{TeamID:TeamID,CustomerID:CustomerID},succeededCallback,failedCallback,userContext); },
CancelInvite:function(TeamID,CustomerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CancelInvite',false,{TeamID:TeamID,CustomerID:CustomerID},succeededCallback,failedCallback,userContext); },
ResignFromTeam:function(TeamID,CustomerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ResignFromTeam',false,{TeamID:TeamID,CustomerID:CustomerID},succeededCallback,failedCallback,userContext); },
DeclineInvite:function(TeamID,CustomerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeclineInvite',false,{TeamID:TeamID,CustomerID:CustomerID},succeededCallback,failedCallback,userContext); },
AcceptInvite:function(TeamID,CustomerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AcceptInvite',false,{TeamID:TeamID,CustomerID:CustomerID},succeededCallback,failedCallback,userContext); },
UpdateTeamGoal:function(TeamID,EnrollmentGoal,DirectorGoal,PopupClientID,Save,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateTeamGoal',false,{TeamID:TeamID,EnrollmentGoal:EnrollmentGoal,DirectorGoal:DirectorGoal,PopupClientID:PopupClientID,Save:Save},succeededCallback,failedCallback,userContext); },
CloseTeam:function(TeamID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CloseTeam',false,{TeamID:TeamID},succeededCallback,failedCallback,userContext); },
FindContact:function(PhoneNumber,LastName,IsOrgSearch,TeamID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FindContact',false,{PhoneNumber:PhoneNumber,LastName:LastName,IsOrgSearch:IsOrgSearch,TeamID:TeamID},succeededCallback,failedCallback,userContext); },
FindContact2:function(PhoneNumber,IsOrgSearch,Parameter1,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FindContact2',false,{PhoneNumber:PhoneNumber,IsOrgSearch:IsOrgSearch,Parameter1:Parameter1},succeededCallback,failedCallback,userContext); },
SendCheer:function(CustomerID,CustomerName,cheerMessage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendCheer',false,{CustomerID:CustomerID,CustomerName:CustomerName,cheerMessage:cheerMessage},succeededCallback,failedCallback,userContext); },
GetPictureManagement:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPictureManagement',false,{},succeededCallback,failedCallback,userContext); },
GetNECContent:function(MangerCustomerID,LevelNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNECContent',false,{MangerCustomerID:MangerCustomerID,LevelNumber:LevelNumber},succeededCallback,failedCallback,userContext); },
ValidateSwap:function(CustomerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ValidateSwap',false,{CustomerID:CustomerID},succeededCallback,failedCallback,userContext); },
ValidateCustomer:function(CustomerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ValidateCustomer',false,{CustomerID:CustomerID},succeededCallback,failedCallback,userContext); },
ValidateSwapRules:function(SwapACustomerID,SwapBCustomerID,amountToCharge,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ValidateSwapRules',false,{SwapACustomerID:SwapACustomerID,SwapBCustomerID:SwapBCustomerID,amountToCharge:amountToCharge},succeededCallback,failedCallback,userContext); },
ValidateMoveTarget:function(moveUnderCustomerID,customerIDToMove,amountToCharge,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ValidateMoveTarget',false,{moveUnderCustomerID:moveUnderCustomerID,customerIDToMove:customerIDToMove,amountToCharge:amountToCharge},succeededCallback,failedCallback,userContext); },
AddMoreSubscription:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddMoreSubscription',false,{},succeededCallback,failedCallback,userContext); },
SearchForPotentialDirector:function(PhoneNumber,LastName,PreviousPotentialDirectorsList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchForPotentialDirector',false,{PhoneNumber:PhoneNumber,LastName:LastName,PreviousPotentialDirectorsList:PreviousPotentialDirectorsList},succeededCallback,failedCallback,userContext); },
AddShare:function(CustomerID,businessName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddShare',false,{CustomerID:CustomerID,businessName:businessName},succeededCallback,failedCallback,userContext); },
RemoveShare:function(CustomerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveShare',false,{CustomerID:CustomerID},succeededCallback,failedCallback,userContext); },
PopulateVSGoals:function(filter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PopulateVSGoals',false,{filter:filter},succeededCallback,failedCallback,userContext); },
GetFaqItemsBySubCategoryID:function(id,container,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFaqItemsBySubCategoryID',false,{id:id,container:container},succeededCallback,failedCallback,userContext); },
CheckUsername:function(username,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckUsername',false,{username:username},succeededCallback,failedCallback,userContext); },
AddProductToCart:function(sku,qty,addSource,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddProductToCart',false,{sku:sku,qty:qty,addSource:addSource},succeededCallback,failedCallback,userContext); },
AddProductToCartQuickShop:function(sku,qty,qtyOverride,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddProductToCartQuickShop',false,{sku:sku,qty:qty,qtyOverride:qtyOverride},succeededCallback,failedCallback,userContext); },
RemoveProductFromCart:function(sku,lineTypeID,inoIden,linkID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveProductFromCart',false,{sku:sku,lineTypeID:lineTypeID,inoIden:inoIden,linkID:linkID},succeededCallback,failedCallback,userContext); },
RemoveKitConfigFromCart:function(sku,lineTypeIden,configurationIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveKitConfigFromCart',false,{sku:sku,lineTypeIden:lineTypeIden,configurationIndex:configurationIndex},succeededCallback,failedCallback,userContext); },
AddMultipleKitsToCart:function(sku,source,configurationArray,lineTypeIden,promotionID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddMultipleKitsToCart',false,{sku:sku,source:source,configurationArray:configurationArray,lineTypeIden:lineTypeIden,promotionID:promotionID},succeededCallback,failedCallback,userContext); },
AddKitToCart:function(sku,source,configuration,isEdit,lineTypeIden,configurationIndex,promotionID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddKitToCart',false,{sku:sku,source:source,configuration:configuration,isEdit:isEdit,lineTypeIden:lineTypeIden,configurationIndex:configurationIndex,promotionID:promotionID},succeededCallback,failedCallback,userContext); },
AddProductToCartBySkuList:function(skuList,source,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddProductToCartBySkuList',false,{skuList:skuList,source:source},succeededCallback,failedCallback,userContext); },
AddProductBundleToCart:function(skuList,parentKitSku,source,lineTypeIden,promotionID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddProductBundleToCart',false,{skuList:skuList,parentKitSku:parentKitSku,source:source,lineTypeIden:lineTypeIden,promotionID:promotionID},succeededCallback,failedCallback,userContext); },
UpdateProductsInCartBySkuList:function(skuList,source,overrideQty,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateProductsInCartBySkuList',false,{skuList:skuList,source:source,overrideQty:overrideQty},succeededCallback,failedCallback,userContext); },
AddLSDPromoSku:function(skuList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddLSDPromoSku',false,{skuList:skuList},succeededCallback,failedCallback,userContext); },
GetCartCount:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCartCount',false,{},succeededCallback,failedCallback,userContext); },
MyCartList:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'MyCartList',false,{},succeededCallback,failedCallback,userContext); },
MyCartList_Error:function(ShowError,ErrorMessage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'MyCartList_Error',false,{ShowError:ShowError,ErrorMessage:ErrorMessage},succeededCallback,failedCallback,userContext); },
GetProductKitSelectorWithOmnitureSource:function(sku,lineTypeIden,configurationIndex,promotionID,omnitureSource,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductKitSelectorWithOmnitureSource',false,{sku:sku,lineTypeIden:lineTypeIden,configurationIndex:configurationIndex,promotionID:promotionID,omnitureSource:omnitureSource},succeededCallback,failedCallback,userContext); },
GetProductKitSelector:function(sku,lineTypeIden,configurationIndex,promotionID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductKitSelector',false,{sku:sku,lineTypeIden:lineTypeIden,configurationIndex:configurationIndex,promotionID:promotionID},succeededCallback,failedCallback,userContext); },
GetProductKitBundleSelector:function(sku,lineTypeIden,configurationIndex,promotionID,omnitureSource,headerText,maxSkuQty,labelsArray,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductKitBundleSelector',false,{sku:sku,lineTypeIden:lineTypeIden,configurationIndex:configurationIndex,promotionID:promotionID,omnitureSource:omnitureSource,headerText:headerText,maxSkuQty:maxSkuQty,labelsArray:labelsArray},succeededCallback,failedCallback,userContext); },
GetProductKitBundleSelectorWithList:function(skuList,maxCount,lineTypeIden,configurationIndex,promotionID,omnitureSource,headerText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductKitBundleSelectorWithList',false,{skuList:skuList,maxCount:maxCount,lineTypeIden:lineTypeIden,configurationIndex:configurationIndex,promotionID:promotionID,omnitureSource:omnitureSource,headerText:headerText},succeededCallback,failedCallback,userContext); },
GetProductGroupSelector:function(sku,size,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductGroupSelector',false,{sku:sku,size:size},succeededCallback,failedCallback,userContext); },
CheckPromotionQualifications:function(onConfirmScript,onCancelScript,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckPromotionQualifications',false,{onConfirmScript:onConfirmScript,onCancelScript:onCancelScript},succeededCallback,failedCallback,userContext); },
SetLSDOn:function(sku,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetLSDOn',false,{sku:sku},succeededCallback,failedCallback,userContext); },
SetLSDOff:function(sku,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetLSDOff',false,{sku:sku},succeededCallback,failedCallback,userContext); },
SetConvenienceOn:function(sku,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetConvenienceOn',false,{sku:sku},succeededCallback,failedCallback,userContext); },
SetConvenienceOff:function(sku,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetConvenienceOff',false,{sku:sku},succeededCallback,failedCallback,userContext); },
ShipAddress_OnChange:function(addressID,shipMethodDescription,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ShipAddress_OnChange',false,{addressID:addressID,shipMethodDescription:shipMethodDescription},succeededCallback,failedCallback,userContext); },
ShipMethod_OnChange:function(addressID,shipMethodDescription,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ShipMethod_OnChange',false,{addressID:addressID,shipMethodDescription:shipMethodDescription},succeededCallback,failedCallback,userContext); },
rbAddress_OnChange:function(AddressID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'rbAddress_OnChange',false,{AddressID:AddressID},succeededCallback,failedCallback,userContext); },
AddPueFamilyMember:function(CustomerID,Name,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddPueFamilyMember',false,{CustomerID:CustomerID,Name:Name},succeededCallback,failedCallback,userContext); },
RemovePueFamilyMember:function(CustomerID,CustRelationID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemovePueFamilyMember',false,{CustomerID:CustomerID,CustRelationID:CustRelationID},succeededCallback,failedCallback,userContext); },
ProcessBulkPromotionAdd:function(promotionID,bulkObject,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ProcessBulkPromotionAdd',false,{promotionID:promotionID,bulkObject:bulkObject},succeededCallback,failedCallback,userContext); },
ProcessFlashPromotion:function(promotionID,sku,qty,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ProcessFlashPromotion',false,{promotionID:promotionID,sku:sku,qty:qty},succeededCallback,failedCallback,userContext); },
ProcessPromotion:function(promotionId,qty,promoAddActionIndex,omnitureSource,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ProcessPromotion',false,{promotionId:promotionId,qty:qty,promoAddActionIndex:promoAddActionIndex,omnitureSource:omnitureSource},succeededCallback,failedCallback,userContext); },
ProcessKitPromotion:function(promotionID,sku,qty,configurationArray,promoAddActionIndex,promoSource,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ProcessKitPromotion',false,{promotionID:promotionID,sku:sku,qty:qty,configurationArray:configurationArray,promoAddActionIndex:promoAddActionIndex,promoSource:promoSource},succeededCallback,failedCallback,userContext); },
RemovePromotion:function(promotionID,redirectToCheckout,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemovePromotion',false,{promotionID:promotionID,redirectToCheckout:redirectToCheckout},succeededCallback,failedCallback,userContext); },
RemovePromotions:function(promotionIDs,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemovePromotions',false,{promotionIDs:promotionIDs},succeededCallback,failedCallback,userContext); },
MyFavoriteList:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'MyFavoriteList',false,{},succeededCallback,failedCallback,userContext); },
RemoveFromFavorites:function(customerId,sku,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveFromFavorites',false,{customerId:customerId,sku:sku},succeededCallback,failedCallback,userContext); },
AddProductToFavorites:function(sku,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddProductToFavorites',false,{sku:sku},succeededCallback,failedCallback,userContext); },
PaymethodNew:function(allowACH,targetContainerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PaymethodNew',false,{allowACH:allowACH,targetContainerID:targetContainerID},succeededCallback,failedCallback,userContext); },
PaymethodEdit:function(paymethodID,targetContainerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PaymethodEdit',false,{paymethodID:paymethodID,targetContainerID:targetContainerID},succeededCallback,failedCallback,userContext); },
SavePaymethod:function(paymethod,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SavePaymethod',false,{paymethod:paymethod},succeededCallback,failedCallback,userContext); },
LogException:function(message,exception,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LogException',false,{message:message,exception:exception},succeededCallback,failedCallback,userContext); },
RequestPasswordReset:function(username,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RequestPasswordReset',false,{username:username},succeededCallback,failedCallback,userContext); },
RequestUsername:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RequestUsername',false,{email:email},succeededCallback,failedCallback,userContext); },
RequestUsernameByBusinessPhone:function(email,businessPhone,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RequestUsernameByBusinessPhone',false,{email:email,businessPhone:businessPhone},succeededCallback,failedCallback,userContext); },
CompetitionDetail:function(customerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CompetitionDetail',false,{customerID:customerID},succeededCallback,failedCallback,userContext); },
GetCompetitionChat:function(teamID,leftCustomerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompetitionChat',false,{teamID:teamID,leftCustomerID:leftCustomerID},succeededCallback,failedCallback,userContext); },
AddCompetitionChat:function(postBody,teamID,leftCustomerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddCompetitionChat',false,{postBody:postBody,teamID:teamID,leftCustomerID:leftCustomerID},succeededCallback,failedCallback,userContext); },
EditCompetitionChat:function(postBody,postID,teamID,leftCustomerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditCompetitionChat',false,{postBody:postBody,postID:postID,teamID:teamID,leftCustomerID:leftCustomerID},succeededCallback,failedCallback,userContext); },
DeleteCompetitionChat:function(postID,teamID,leftCustomerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteCompetitionChat',false,{postID:postID,teamID:teamID,leftCustomerID:leftCustomerID},succeededCallback,failedCallback,userContext); },
GetSelectedOwingBalance:function(orderIDList,balanceContainerID,formID,indexID,selectID,buttonID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSelectedOwingBalance',false,{orderIDList:orderIDList,balanceContainerID:balanceContainerID,formID:formID,indexID:indexID,selectID:selectID,buttonID:buttonID},succeededCallback,failedCallback,userContext); },
ProcessContentForm:function(paramList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ProcessContentForm',false,{paramList:paramList},succeededCallback,failedCallback,userContext); },
DisplayContent:function(pageName,displayLocation,displayContainerName,includePromotions,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DisplayContent',false,{pageName:pageName,displayLocation:displayLocation,displayContainerName:displayContainerName,includePromotions:includePromotions},succeededCallback,failedCallback,userContext); },
DisplayPromotionContentByID:function(promoID,location,displayContainerName,promoLocation,updatePromotionViewed,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DisplayPromotionContentByID',false,{promoID:promoID,location:location,displayContainerName:displayContainerName,promoLocation:promoLocation,updatePromotionViewed:updatePromotionViewed},succeededCallback,failedCallback,userContext); },
GetSurveyScript:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSurveyScript',false,{},succeededCallback,failedCallback,userContext); }}
Melaleuca.Web.AjaxManager.registerClass('Melaleuca.Web.AjaxManager',Sys.Net.WebServiceProxy);
Melaleuca.Web.AjaxManager._staticInstance = new Melaleuca.Web.AjaxManager();
Melaleuca.Web.AjaxManager.set_path = function(value) { Melaleuca.Web.AjaxManager._staticInstance.set_path(value); }
Melaleuca.Web.AjaxManager.get_path = function() { return Melaleuca.Web.AjaxManager._staticInstance.get_path(); }
Melaleuca.Web.AjaxManager.set_timeout = function(value) { Melaleuca.Web.AjaxManager._staticInstance.set_timeout(value); }
Melaleuca.Web.AjaxManager.get_timeout = function() { return Melaleuca.Web.AjaxManager._staticInstance.get_timeout(); }
Melaleuca.Web.AjaxManager.set_defaultUserContext = function(value) { Melaleuca.Web.AjaxManager._staticInstance.set_defaultUserContext(value); }
Melaleuca.Web.AjaxManager.get_defaultUserContext = function() { return Melaleuca.Web.AjaxManager._staticInstance.get_defaultUserContext(); }
Melaleuca.Web.AjaxManager.set_defaultSucceededCallback = function(value) { Melaleuca.Web.AjaxManager._staticInstance.set_defaultSucceededCallback(value); }
Melaleuca.Web.AjaxManager.get_defaultSucceededCallback = function() { return Melaleuca.Web.AjaxManager._staticInstance.get_defaultSucceededCallback(); }
Melaleuca.Web.AjaxManager.set_defaultFailedCallback = function(value) { Melaleuca.Web.AjaxManager._staticInstance.set_defaultFailedCallback(value); }
Melaleuca.Web.AjaxManager.get_defaultFailedCallback = function() { return Melaleuca.Web.AjaxManager._staticInstance.get_defaultFailedCallback(); }
Melaleuca.Web.AjaxManager.set_path("/Shared/AjaxManager.asmx");
Melaleuca.Web.AjaxManager.TeamSearchItems= function(teamName,teamID,targetID,challengeManager,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.TeamSearchItems(teamName,teamID,targetID,challengeManager,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ChallengeChats= function(teamID,challengingTeamID,targetID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ChallengeChats(teamID,challengingTeamID,targetID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.TeamingUpTeamChallengeChats= function(teamID,targetID,ajaxLoaderID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.TeamingUpTeamChallengeChats(teamID,targetID,ajaxLoaderID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.TeamingUpTeamMessages= function(teamID,targetID,ajaxLoaderID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.TeamingUpTeamMessages(teamID,targetID,ajaxLoaderID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.TeamingUpChallenges= function(teamID,targetID,modalPopupID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.TeamingUpChallenges(teamID,targetID,modalPopupID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.TeamingUpEnrollmentStats= function(teamID,targetID,modalPopupID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.TeamingUpEnrollmentStats(teamID,targetID,modalPopupID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.TeamingUpList= function(teamID,targetID,modalPopupID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.TeamingUpList(teamID,targetID,modalPopupID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ManageChallenges= function(teamID,teamName,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ManageChallenges(teamID,teamName,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.SendTeamChallenge= function(teamID,challengedTeamID,challengesResponse,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.SendTeamChallenge(teamID,challengedTeamID,challengesResponse,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.DeclineChallenge= function(challengeID,teamID,challengesResponse,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.DeclineChallenge(challengeID,teamID,challengesResponse,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AcceptChallenge= function(challengeID,teamID,challengesResponse,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AcceptChallenge(challengeID,teamID,challengesResponse,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.CancelTeamChallenge= function(challengeID,teamID,challengesResponse,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.CancelTeamChallenge(challengeID,teamID,challengesResponse,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.DeleteTeamMessage= function(messageID,teamID,targetID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.DeleteTeamMessage(messageID,teamID,targetID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.SaveTeamMessage= function(messageID,teamID,teamLeadID,message,targetID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.SaveTeamMessage(messageID,teamID,teamLeadID,message,targetID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.SaveChallengeChat= function(chatID,chat,memberIDFrom,teamIDFrom,teamIDTo,targetID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.SaveChallengeChat(chatID,chat,memberIDFrom,teamIDFrom,teamIDTo,targetID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetTeamRoster= function(TeamID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetTeamRoster(TeamID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.CheckTeamName= function(TeamName,TeamID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.CheckTeamName(TeamName,TeamID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.SendInvite= function(TeamID,CustomerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.SendInvite(TeamID,CustomerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.CancelInvite= function(TeamID,CustomerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.CancelInvite(TeamID,CustomerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ResignFromTeam= function(TeamID,CustomerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ResignFromTeam(TeamID,CustomerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.DeclineInvite= function(TeamID,CustomerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.DeclineInvite(TeamID,CustomerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AcceptInvite= function(TeamID,CustomerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AcceptInvite(TeamID,CustomerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.UpdateTeamGoal= function(TeamID,EnrollmentGoal,DirectorGoal,PopupClientID,Save,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.UpdateTeamGoal(TeamID,EnrollmentGoal,DirectorGoal,PopupClientID,Save,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.CloseTeam= function(TeamID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.CloseTeam(TeamID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.FindContact= function(PhoneNumber,LastName,IsOrgSearch,TeamID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.FindContact(PhoneNumber,LastName,IsOrgSearch,TeamID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.FindContact2= function(PhoneNumber,IsOrgSearch,Parameter1,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.FindContact2(PhoneNumber,IsOrgSearch,Parameter1,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.SendCheer= function(CustomerID,CustomerName,cheerMessage,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.SendCheer(CustomerID,CustomerName,cheerMessage,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetPictureManagement= function(onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetPictureManagement(onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetNECContent= function(MangerCustomerID,LevelNumber,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetNECContent(MangerCustomerID,LevelNumber,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ValidateSwap= function(CustomerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ValidateSwap(CustomerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ValidateCustomer= function(CustomerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ValidateCustomer(CustomerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ValidateSwapRules= function(SwapACustomerID,SwapBCustomerID,amountToCharge,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ValidateSwapRules(SwapACustomerID,SwapBCustomerID,amountToCharge,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ValidateMoveTarget= function(moveUnderCustomerID,customerIDToMove,amountToCharge,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ValidateMoveTarget(moveUnderCustomerID,customerIDToMove,amountToCharge,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AddMoreSubscription= function(onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AddMoreSubscription(onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.SearchForPotentialDirector= function(PhoneNumber,LastName,PreviousPotentialDirectorsList,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.SearchForPotentialDirector(PhoneNumber,LastName,PreviousPotentialDirectorsList,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AddShare= function(CustomerID,businessName,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AddShare(CustomerID,businessName,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.RemoveShare= function(CustomerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.RemoveShare(CustomerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.PopulateVSGoals= function(filter,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.PopulateVSGoals(filter,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetFaqItemsBySubCategoryID= function(id,container,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetFaqItemsBySubCategoryID(id,container,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.CheckUsername= function(username,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.CheckUsername(username,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AddProductToCart= function(sku,qty,addSource,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AddProductToCart(sku,qty,addSource,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AddProductToCartQuickShop= function(sku,qty,qtyOverride,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AddProductToCartQuickShop(sku,qty,qtyOverride,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.RemoveProductFromCart= function(sku,lineTypeID,inoIden,linkID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.RemoveProductFromCart(sku,lineTypeID,inoIden,linkID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.RemoveKitConfigFromCart= function(sku,lineTypeIden,configurationIndex,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.RemoveKitConfigFromCart(sku,lineTypeIden,configurationIndex,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AddMultipleKitsToCart= function(sku,source,configurationArray,lineTypeIden,promotionID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AddMultipleKitsToCart(sku,source,configurationArray,lineTypeIden,promotionID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AddKitToCart= function(sku,source,configuration,isEdit,lineTypeIden,configurationIndex,promotionID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AddKitToCart(sku,source,configuration,isEdit,lineTypeIden,configurationIndex,promotionID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AddProductToCartBySkuList= function(skuList,source,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AddProductToCartBySkuList(skuList,source,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AddProductBundleToCart= function(skuList,parentKitSku,source,lineTypeIden,promotionID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AddProductBundleToCart(skuList,parentKitSku,source,lineTypeIden,promotionID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.UpdateProductsInCartBySkuList= function(skuList,source,overrideQty,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.UpdateProductsInCartBySkuList(skuList,source,overrideQty,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AddLSDPromoSku= function(skuList,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AddLSDPromoSku(skuList,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetCartCount= function(onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetCartCount(onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.MyCartList= function(onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.MyCartList(onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.MyCartList_Error= function(ShowError,ErrorMessage,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.MyCartList_Error(ShowError,ErrorMessage,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetProductKitSelectorWithOmnitureSource= function(sku,lineTypeIden,configurationIndex,promotionID,omnitureSource,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetProductKitSelectorWithOmnitureSource(sku,lineTypeIden,configurationIndex,promotionID,omnitureSource,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetProductKitSelector= function(sku,lineTypeIden,configurationIndex,promotionID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetProductKitSelector(sku,lineTypeIden,configurationIndex,promotionID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetProductKitBundleSelector= function(sku,lineTypeIden,configurationIndex,promotionID,omnitureSource,headerText,maxSkuQty,labelsArray,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetProductKitBundleSelector(sku,lineTypeIden,configurationIndex,promotionID,omnitureSource,headerText,maxSkuQty,labelsArray,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetProductKitBundleSelectorWithList= function(skuList,maxCount,lineTypeIden,configurationIndex,promotionID,omnitureSource,headerText,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetProductKitBundleSelectorWithList(skuList,maxCount,lineTypeIden,configurationIndex,promotionID,omnitureSource,headerText,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetProductGroupSelector= function(sku,size,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetProductGroupSelector(sku,size,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.CheckPromotionQualifications= function(onConfirmScript,onCancelScript,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.CheckPromotionQualifications(onConfirmScript,onCancelScript,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.SetLSDOn= function(sku,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.SetLSDOn(sku,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.SetLSDOff= function(sku,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.SetLSDOff(sku,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.SetConvenienceOn= function(sku,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.SetConvenienceOn(sku,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.SetConvenienceOff= function(sku,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.SetConvenienceOff(sku,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ShipAddress_OnChange= function(addressID,shipMethodDescription,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ShipAddress_OnChange(addressID,shipMethodDescription,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ShipMethod_OnChange= function(addressID,shipMethodDescription,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ShipMethod_OnChange(addressID,shipMethodDescription,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.rbAddress_OnChange= function(AddressID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.rbAddress_OnChange(AddressID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AddPueFamilyMember= function(CustomerID,Name,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AddPueFamilyMember(CustomerID,Name,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.RemovePueFamilyMember= function(CustomerID,CustRelationID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.RemovePueFamilyMember(CustomerID,CustRelationID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ProcessBulkPromotionAdd= function(promotionID,bulkObject,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ProcessBulkPromotionAdd(promotionID,bulkObject,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ProcessFlashPromotion= function(promotionID,sku,qty,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ProcessFlashPromotion(promotionID,sku,qty,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ProcessPromotion= function(promotionId,qty,promoAddActionIndex,omnitureSource,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ProcessPromotion(promotionId,qty,promoAddActionIndex,omnitureSource,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ProcessKitPromotion= function(promotionID,sku,qty,configurationArray,promoAddActionIndex,promoSource,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ProcessKitPromotion(promotionID,sku,qty,configurationArray,promoAddActionIndex,promoSource,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.RemovePromotion= function(promotionID,redirectToCheckout,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.RemovePromotion(promotionID,redirectToCheckout,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.RemovePromotions= function(promotionIDs,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.RemovePromotions(promotionIDs,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.MyFavoriteList= function(onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.MyFavoriteList(onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.RemoveFromFavorites= function(customerId,sku,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.RemoveFromFavorites(customerId,sku,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AddProductToFavorites= function(sku,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AddProductToFavorites(sku,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.PaymethodNew= function(allowACH,targetContainerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.PaymethodNew(allowACH,targetContainerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.PaymethodEdit= function(paymethodID,targetContainerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.PaymethodEdit(paymethodID,targetContainerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.SavePaymethod= function(paymethod,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.SavePaymethod(paymethod,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.LogException= function(message,exception,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.LogException(message,exception,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.RequestPasswordReset= function(username,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.RequestPasswordReset(username,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.RequestUsername= function(email,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.RequestUsername(email,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.RequestUsernameByBusinessPhone= function(email,businessPhone,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.RequestUsernameByBusinessPhone(email,businessPhone,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.CompetitionDetail= function(customerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.CompetitionDetail(customerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetCompetitionChat= function(teamID,leftCustomerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetCompetitionChat(teamID,leftCustomerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.AddCompetitionChat= function(postBody,teamID,leftCustomerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.AddCompetitionChat(postBody,teamID,leftCustomerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.EditCompetitionChat= function(postBody,postID,teamID,leftCustomerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.EditCompetitionChat(postBody,postID,teamID,leftCustomerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.DeleteCompetitionChat= function(postID,teamID,leftCustomerID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.DeleteCompetitionChat(postID,teamID,leftCustomerID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetSelectedOwingBalance= function(orderIDList,balanceContainerID,formID,indexID,selectID,buttonID,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetSelectedOwingBalance(orderIDList,balanceContainerID,formID,indexID,selectID,buttonID,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.ProcessContentForm= function(paramList,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.ProcessContentForm(paramList,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.DisplayContent= function(pageName,displayLocation,displayContainerName,includePromotions,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.DisplayContent(pageName,displayLocation,displayContainerName,includePromotions,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.DisplayPromotionContentByID= function(promoID,location,displayContainerName,promoLocation,updatePromotionViewed,onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.DisplayPromotionContentByID(promoID,location,displayContainerName,promoLocation,updatePromotionViewed,onSuccess,onFailed,userContext); }
Melaleuca.Web.AjaxManager.GetSurveyScript= function(onSuccess,onFailed,userContext) {Melaleuca.Web.AjaxManager._staticInstance.GetSurveyScript(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Melaleuca.Web.AjaxFAQ) === 'undefined') {
Melaleuca.Web.AjaxFAQ=gtc("Melaleuca.Web.AjaxFAQ");
Melaleuca.Web.AjaxFAQ.registerClass('Melaleuca.Web.AjaxFAQ');
}
if (typeof(Melaleuca.Web.AjaxCartActionResponse) === 'undefined') {
Melaleuca.Web.AjaxCartActionResponse=gtc("Melaleuca.Web.AjaxCartActionResponse");
Melaleuca.Web.AjaxCartActionResponse.registerClass('Melaleuca.Web.AjaxCartActionResponse');
}
if (typeof(Melaleuca.Web.AjaxOwingBalance) === 'undefined') {
Melaleuca.Web.AjaxOwingBalance=gtc("Melaleuca.Web.AjaxOwingBalance");
Melaleuca.Web.AjaxOwingBalance.registerClass('Melaleuca.Web.AjaxOwingBalance');
}
Type.registerNamespace('Melaleuca.Web.Shared.Controls');
if (typeof(Melaleuca.Web.Shared.Controls.ContentDisplayLocation) === 'undefined') {
Melaleuca.Web.Shared.Controls.ContentDisplayLocation = function() { throw Error.invalidOperation(); }
Melaleuca.Web.Shared.Controls.ContentDisplayLocation.prototype = {Page: 0,Popup: 1,PopupFullWidth: 2}
Melaleuca.Web.Shared.Controls.ContentDisplayLocation.registerEnum('Melaleuca.Web.Shared.Controls.ContentDisplayLocation', true);
}
Type.registerNamespace('Melaleuca.Framework.GlobalEnums');
if (typeof(Melaleuca.Framework.GlobalEnums.PromotionLocation) === 'undefined') {
Melaleuca.Framework.GlobalEnums.PromotionLocation = function() { throw Error.invalidOperation(); }
Melaleuca.Framework.GlobalEnums.PromotionLocation.prototype = {BeginOrder: 0,PreviewLineItemChange: 1,LineItemChange: 2,FinishOrder: 3,CustomerLoad: 4,ConfirmProducts: 5,WebProductStoreHome: 6,EnterPayment: 7,OrderTypeChange: 8,ProductStoreFlash: 9,ProductStoreHighlight: 10,MarketPlaceFlash: 11,SubCategoryPageFeature: 12,SubCategoryPageHighlight: 13,PageLoadPopup: 14,PageLoadPopupGeneralWidth: 15,AddToCartPopup: 16,WebCheckout: 17,WelcomePageFlash: 18,ProductStorePromoPage: 19,WebCancellation: 20,WebAfterOrderSurvey: 21}
Melaleuca.Framework.GlobalEnums.PromotionLocation.registerEnum('Melaleuca.Framework.GlobalEnums.PromotionLocation', true);
}
