Type.registerNamespace('Webmercs.Cetus.WebServices');
Webmercs.Cetus.WebServices.CommonProxyWebService=function() {
Webmercs.Cetus.WebServices.CommonProxyWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Webmercs.Cetus.WebServices.CommonProxyWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_path();},
GetFeaturedProducts:function(productsInfo,request,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFeaturedProducts',false,{productsInfo:productsInfo,request:request},succeededCallback,failedCallback,userContext); },
GetProductInfo:function(productId,templatePath,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductInfo',false,{productId:productId,templatePath:templatePath},succeededCallback,failedCallback,userContext); },
GetStockNotification:function(productId,templatePath,createRequest,popupClientId,pageQuery,loginRequired,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStockNotification',false,{productId:productId,templatePath:templatePath,createRequest:createRequest,popupClientId:popupClientId,pageQuery:pageQuery,loginRequired:loginRequired},succeededCallback,failedCallback,userContext); },
UpdateSuite:function(suiteInfo,elementCard,summaryControlInfo,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateSuite',false,{suiteInfo:suiteInfo,elementCard:elementCard,summaryControlInfo:summaryControlInfo},succeededCallback,failedCallback,userContext); },
GetSuite:function(suiteInfo,elementsControlInfo,summaryControlInfo,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSuite',false,{suiteInfo:suiteInfo,elementsControlInfo:elementsControlInfo,summaryControlInfo:summaryControlInfo},succeededCallback,failedCallback,userContext); },
BuyConfiguredSuite:function(suiteInfo,redirectKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'BuyConfiguredSuite',false,{suiteInfo:suiteInfo,redirectKey:redirectKey},succeededCallback,failedCallback,userContext); },
ChangeProductQuantity:function(controlsInfo,productId,newQuantity,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ChangeProductQuantity',false,{controlsInfo:controlsInfo,productId:productId,newQuantity:newQuantity},succeededCallback,failedCallback,userContext); },
DeleteProduct:function(controlsInfo,productId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteProduct',false,{controlsInfo:controlsInfo,productId:productId},succeededCallback,failedCallback,userContext); },
BuyProduct:function(controlsInfo,productId,quantity,insuranceQuantity,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'BuyProduct',false,{controlsInfo:controlsInfo,productId:productId,quantity:quantity,insuranceQuantity:insuranceQuantity},succeededCallback,failedCallback,userContext); },
BuyProductEx:function(controlsInfo,productId,quantity,additionalOptionsInfo,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'BuyProductEx',false,{controlsInfo:controlsInfo,productId:productId,quantity:quantity,additionalOptionsInfo:additionalOptionsInfo},succeededCallback,failedCallback,userContext); },
BuySuite:function(suiteInfo,controlsInfo,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'BuySuite',false,{suiteInfo:suiteInfo,controlsInfo:controlsInfo},succeededCallback,failedCallback,userContext); },
GetShoppingCartShipping:function(zipCode,templatePath,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetShoppingCartShipping',false,{zipCode:zipCode,templatePath:templatePath},succeededCallback,failedCallback,userContext); },
GetProductShipping:function(zipCode,templatePath,partId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductShipping',false,{zipCode:zipCode,templatePath:templatePath,partId:partId},succeededCallback,failedCallback,userContext); },
GetCityName:function(countryId,zipCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCityName',false,{countryId:countryId,zipCode:zipCode},succeededCallback,failedCallback,userContext); },
GetModelViewData:function(templatePath,configuratorType,brandId,keywords,listSize,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetModelViewData',false,{templatePath:templatePath,configuratorType:configuratorType,brandId:brandId,keywords:keywords,listSize:listSize},succeededCallback,failedCallback,userContext); },
ValidateZipCode:function(zipCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ValidateZipCode',false,{zipCode:zipCode},succeededCallback,failedCallback,userContext); },
ValidateMsisdnPhoneNumber:function(phoneNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ValidateMsisdnPhoneNumber',false,{phoneNumber:phoneNumber},succeededCallback,failedCallback,userContext); },
GetTestseekReview:function(reviewInfo,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTestseekReview',false,{reviewInfo:reviewInfo},succeededCallback,failedCallback,userContext); }}
Webmercs.Cetus.WebServices.CommonProxyWebService.registerClass('Webmercs.Cetus.WebServices.CommonProxyWebService',Sys.Net.WebServiceProxy);
Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance = new Webmercs.Cetus.WebServices.CommonProxyWebService();
Webmercs.Cetus.WebServices.CommonProxyWebService.set_path = function(value) { Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.set_path(value); }
Webmercs.Cetus.WebServices.CommonProxyWebService.get_path = function() { return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_path(); }
Webmercs.Cetus.WebServices.CommonProxyWebService.set_timeout = function(value) { Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.set_timeout(value); }
Webmercs.Cetus.WebServices.CommonProxyWebService.get_timeout = function() { return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_timeout(); }
Webmercs.Cetus.WebServices.CommonProxyWebService.set_defaultUserContext = function(value) { Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.set_defaultUserContext(value); }
Webmercs.Cetus.WebServices.CommonProxyWebService.get_defaultUserContext = function() { return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_defaultUserContext(); }
Webmercs.Cetus.WebServices.CommonProxyWebService.set_defaultSucceededCallback = function(value) { Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.set_defaultSucceededCallback(value); }
Webmercs.Cetus.WebServices.CommonProxyWebService.get_defaultSucceededCallback = function() { return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_defaultSucceededCallback(); }
Webmercs.Cetus.WebServices.CommonProxyWebService.set_defaultFailedCallback = function(value) { Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.set_defaultFailedCallback(value); }
Webmercs.Cetus.WebServices.CommonProxyWebService.get_defaultFailedCallback = function() { return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_defaultFailedCallback(); }
Webmercs.Cetus.WebServices.CommonProxyWebService.set_enableJsonp = function(value) { Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.set_enableJsonp(value); }
Webmercs.Cetus.WebServices.CommonProxyWebService.get_enableJsonp = function() { return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_enableJsonp(); }
Webmercs.Cetus.WebServices.CommonProxyWebService.set_jsonpCallbackParameter = function(value) { Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.set_jsonpCallbackParameter(value); }
Webmercs.Cetus.WebServices.CommonProxyWebService.get_jsonpCallbackParameter = function() { return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_jsonpCallbackParameter(); }
Webmercs.Cetus.WebServices.CommonProxyWebService.set_path("/Services/CommonProxyWebService.asmx");
Webmercs.Cetus.WebServices.CommonProxyWebService.GetFeaturedProducts= function(productsInfo,request,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.GetFeaturedProducts(productsInfo,request,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.GetProductInfo= function(productId,templatePath,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.GetProductInfo(productId,templatePath,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.GetStockNotification= function(productId,templatePath,createRequest,popupClientId,pageQuery,loginRequired,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.GetStockNotification(productId,templatePath,createRequest,popupClientId,pageQuery,loginRequired,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.UpdateSuite= function(suiteInfo,elementCard,summaryControlInfo,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.UpdateSuite(suiteInfo,elementCard,summaryControlInfo,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.GetSuite= function(suiteInfo,elementsControlInfo,summaryControlInfo,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.GetSuite(suiteInfo,elementsControlInfo,summaryControlInfo,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.BuyConfiguredSuite= function(suiteInfo,redirectKey,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.BuyConfiguredSuite(suiteInfo,redirectKey,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.ChangeProductQuantity= function(controlsInfo,productId,newQuantity,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.ChangeProductQuantity(controlsInfo,productId,newQuantity,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.DeleteProduct= function(controlsInfo,productId,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.DeleteProduct(controlsInfo,productId,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.BuyProduct= function(controlsInfo,productId,quantity,insuranceQuantity,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.BuyProduct(controlsInfo,productId,quantity,insuranceQuantity,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.BuyProductEx= function(controlsInfo,productId,quantity,additionalOptionsInfo,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.BuyProductEx(controlsInfo,productId,quantity,additionalOptionsInfo,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.BuySuite= function(suiteInfo,controlsInfo,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.BuySuite(suiteInfo,controlsInfo,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.GetShoppingCartShipping= function(zipCode,templatePath,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.GetShoppingCartShipping(zipCode,templatePath,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.GetProductShipping= function(zipCode,templatePath,partId,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.GetProductShipping(zipCode,templatePath,partId,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.GetCityName= function(countryId,zipCode,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.GetCityName(countryId,zipCode,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.GetModelViewData= function(templatePath,configuratorType,brandId,keywords,listSize,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.GetModelViewData(templatePath,configuratorType,brandId,keywords,listSize,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.ValidateZipCode= function(zipCode,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.ValidateZipCode(zipCode,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.ValidateMsisdnPhoneNumber= function(phoneNumber,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.ValidateMsisdnPhoneNumber(phoneNumber,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.GetTestseekReview= function(reviewInfo,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.GetTestseekReview(reviewInfo,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Webmercs.Cetus.Components');
if (typeof(Webmercs.Cetus.Components.ScrolledViewerRequest) === 'undefined') {
Webmercs.Cetus.Components.ScrolledViewerRequest=gtc("Webmercs.Cetus.Components.ScrolledViewerRequest");
Webmercs.Cetus.Components.ScrolledViewerRequest.registerClass('Webmercs.Cetus.Components.ScrolledViewerRequest');
}
if (typeof(Webmercs.Cetus.Components.SuiteInfo) === 'undefined') {
Webmercs.Cetus.Components.SuiteInfo=gtc("Webmercs.Cetus.Components.SuiteInfo");
Webmercs.Cetus.Components.SuiteInfo.registerClass('Webmercs.Cetus.Components.SuiteInfo');
}
Type.registerNamespace('Webmercs.Cetus.Controls');
if (typeof(Webmercs.Cetus.Controls.PhoneSubscriptionInfo) === 'undefined') {
Webmercs.Cetus.Controls.PhoneSubscriptionInfo=gtc("Webmercs.Cetus.Controls.PhoneSubscriptionInfo");
Webmercs.Cetus.Controls.PhoneSubscriptionInfo.registerClass('Webmercs.Cetus.Controls.PhoneSubscriptionInfo');
}
if (typeof(Webmercs.Cetus.Components.TestseekReviewResponse) === 'undefined') {
Webmercs.Cetus.Components.TestseekReviewResponse=gtc("Webmercs.Cetus.Components.TestseekReviewResponse");
Webmercs.Cetus.Components.TestseekReviewResponse.registerClass('Webmercs.Cetus.Components.TestseekReviewResponse');
}
if (typeof(Webmercs.Cetus.Components.FeaturedProductsInfo) === 'undefined') {
Webmercs.Cetus.Components.FeaturedProductsInfo=gtc("Webmercs.Cetus.Components.FeaturedProductsInfo");
Webmercs.Cetus.Components.FeaturedProductsInfo.registerClass('Webmercs.Cetus.Components.FeaturedProductsInfo');
}
if (typeof(Webmercs.Cetus.Controls.ServerProfilingInfo) === 'undefined') {
Webmercs.Cetus.Controls.ServerProfilingInfo=gtc("Webmercs.Cetus.Controls.ServerProfilingInfo");
Webmercs.Cetus.Controls.ServerProfilingInfo.registerClass('Webmercs.Cetus.Controls.ServerProfilingInfo');
}
if (typeof(Webmercs.Cetus.Controls.MotherboardProfilingInfo) === 'undefined') {
Webmercs.Cetus.Controls.MotherboardProfilingInfo=gtc("Webmercs.Cetus.Controls.MotherboardProfilingInfo");
Webmercs.Cetus.Controls.MotherboardProfilingInfo.registerClass('Webmercs.Cetus.Controls.MotherboardProfilingInfo');
}
Type.registerNamespace('Webmercs.Cetus.Catalog15');
if (typeof(Webmercs.Cetus.Catalog15.OfficeLicenseInfo) === 'undefined') {
Webmercs.Cetus.Catalog15.OfficeLicenseInfo=gtc("Webmercs.Cetus.Catalog15.OfficeLicenseInfo");
Webmercs.Cetus.Catalog15.OfficeLicenseInfo.registerClass('Webmercs.Cetus.Catalog15.OfficeLicenseInfo');
}
if (typeof(Webmercs.Cetus.Catalog15.InsuranceLookupInfo) === 'undefined') {
Webmercs.Cetus.Catalog15.InsuranceLookupInfo=gtc("Webmercs.Cetus.Catalog15.InsuranceLookupInfo");
Webmercs.Cetus.Catalog15.InsuranceLookupInfo.registerClass('Webmercs.Cetus.Catalog15.InsuranceLookupInfo');
}
if (typeof(Webmercs.Cetus.Components.FeaturedProductsResponse) === 'undefined') {
Webmercs.Cetus.Components.FeaturedProductsResponse=gtc("Webmercs.Cetus.Components.FeaturedProductsResponse");
Webmercs.Cetus.Components.FeaturedProductsResponse.registerClass('Webmercs.Cetus.Components.FeaturedProductsResponse');
}
if (typeof(Webmercs.Cetus.Components.ElementCardControlInfo) === 'undefined') {
Webmercs.Cetus.Components.ElementCardControlInfo=gtc("Webmercs.Cetus.Components.ElementCardControlInfo");
Webmercs.Cetus.Components.ElementCardControlInfo.registerClass('Webmercs.Cetus.Components.ElementCardControlInfo');
}
if (typeof(Webmercs.Cetus.Components.SummaryControlInfo) === 'undefined') {
Webmercs.Cetus.Components.SummaryControlInfo=gtc("Webmercs.Cetus.Components.SummaryControlInfo");
Webmercs.Cetus.Components.SummaryControlInfo.registerClass('Webmercs.Cetus.Components.SummaryControlInfo');
}
if (typeof(Webmercs.Cetus.Components.SuiteConstructorResponse) === 'undefined') {
Webmercs.Cetus.Components.SuiteConstructorResponse=gtc("Webmercs.Cetus.Components.SuiteConstructorResponse");
Webmercs.Cetus.Components.SuiteConstructorResponse.registerClass('Webmercs.Cetus.Components.SuiteConstructorResponse');
}
if (typeof(Webmercs.Cetus.Components.SuiteElementsControlInfo) === 'undefined') {
Webmercs.Cetus.Components.SuiteElementsControlInfo=gtc("Webmercs.Cetus.Components.SuiteElementsControlInfo");
Webmercs.Cetus.Components.SuiteElementsControlInfo.registerClass('Webmercs.Cetus.Components.SuiteElementsControlInfo');
}
if (typeof(Webmercs.Cetus.Controls.ShoppingCartControlInfo) === 'undefined') {
Webmercs.Cetus.Controls.ShoppingCartControlInfo=gtc("Webmercs.Cetus.Controls.ShoppingCartControlInfo");
Webmercs.Cetus.Controls.ShoppingCartControlInfo.registerClass('Webmercs.Cetus.Controls.ShoppingCartControlInfo');
}
if (typeof(Webmercs.Cetus.Components.BuyMethodCallResult) === 'undefined') {
Webmercs.Cetus.Components.BuyMethodCallResult=gtc("Webmercs.Cetus.Components.BuyMethodCallResult");
Webmercs.Cetus.Components.BuyMethodCallResult.registerClass('Webmercs.Cetus.Components.BuyMethodCallResult');
}
if (typeof(Webmercs.Cetus.Components.TestseekReviewInfo) === 'undefined') {
Webmercs.Cetus.Components.TestseekReviewInfo=gtc("Webmercs.Cetus.Components.TestseekReviewInfo");
Webmercs.Cetus.Components.TestseekReviewInfo.registerClass('Webmercs.Cetus.Components.TestseekReviewInfo');
}
if (typeof(Webmercs.Cetus.Components.FeaturedProductType) === 'undefined') {
Webmercs.Cetus.Components.FeaturedProductType = function() { throw Error.invalidOperation(); }
Webmercs.Cetus.Components.FeaturedProductType.prototype = {Special: 1,Fresh: 2,Popular: 3,Clearance: 4,Favorite: 5,SuperSpecial: 6,UserBundles: 8,Campaign: 10,Bestseller: 11,Extra1: 12,NewPartsLastDay: 253,NewPartsLastWeek: 254,NewPartsLastMonth: 255,MostViewed: 256,MostShared: 257}
Webmercs.Cetus.Components.FeaturedProductType.registerEnum('Webmercs.Cetus.Components.FeaturedProductType', true);
}
Type.registerNamespace('Webmercs.Cetus.Catalog.Components');
if (typeof(Webmercs.Cetus.Catalog.Components.ConfiguratorType) === 'undefined') {
Webmercs.Cetus.Catalog.Components.ConfiguratorType = function() { throw Error.invalidOperation(); }
Webmercs.Cetus.Catalog.Components.ConfiguratorType.prototype = {None: 0,Memory: 1,Supplies: 2}
Webmercs.Cetus.Catalog.Components.ConfiguratorType.registerEnum('Webmercs.Cetus.Catalog.Components.ConfiguratorType', true);
}

