Type.registerNamespace('VeloBase2');
VeloBase2.VeloWebServices=function() {
VeloBase2.VeloWebServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
VeloBase2.VeloWebServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return VeloBase2.VeloWebServices._staticInstance.get_path();},
BrandsByCategoryWithCounts:function(iCategory,succeededCallback, failedCallback, userContext) {
/// <param name="iCategory" 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(), 'BrandsByCategoryWithCounts',false,{iCategory:iCategory},succeededCallback,failedCallback,userContext); },
GroupsByBrandWithCounts:function(iCategory,sBrand,succeededCallback, failedCallback, userContext) {
/// <param name="iCategory" type="Number">System.Int32</param>
/// <param name="sBrand" 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(), 'GroupsByBrandWithCounts',false,{iCategory:iCategory,sBrand:sBrand},succeededCallback,failedCallback,userContext); },
ComponentsByCategoryBrand:function(iCategory,sBrand,sGroup,succeededCallback, failedCallback, userContext) {
/// <param name="iCategory" type="Number">System.Int32</param>
/// <param name="sBrand" type="String">System.String</param>
/// <param name="sGroup" 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(), 'ComponentsByCategoryBrand',false,{iCategory:iCategory,sBrand:sBrand,sGroup:sGroup},succeededCallback,failedCallback,userContext); },
ComponentsByCategorySearch:function(q,Param1,succeededCallback, failedCallback, userContext) {
/// <param name="q" type="String">System.String</param>
/// <param name="Param1" 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(), 'ComponentsByCategorySearch',false,{q:q,Param1:Param1},succeededCallback,failedCallback,userContext); },
CountriesByCategory:function(iCat,succeededCallback, failedCallback, userContext) {
/// <param name="iCat" 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(), 'CountriesByCategory',false,{iCat:iCat},succeededCallback,failedCallback,userContext); },
ResourceLinksByCategory:function(sCategory,succeededCallback, failedCallback, userContext) {
/// <param name="sCategory" 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(), 'ResourceLinksByCategory',false,{sCategory:sCategory},succeededCallback,failedCallback,userContext); },
FrameModelsByBrand:function(Brand,succeededCallback, failedCallback, userContext) {
/// <param name="Brand" 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(), 'FrameModelsByBrand',false,{Brand:Brand},succeededCallback,failedCallback,userContext); },
FrameExamplesByBrand:function(Brand,Model,succeededCallback, failedCallback, userContext) {
/// <param name="Brand" type="String">System.String</param>
/// <param name="Model" 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(), 'FrameExamplesByBrand',false,{Brand:Brand,Model:Model},succeededCallback,failedCallback,userContext); },
AddHeadBadgeFromFrameExample:function(BrandID,ExampleID,Name,Type,succeededCallback, failedCallback, userContext) {
/// <param name="BrandID" type="String">System.String</param>
/// <param name="ExampleID" type="String">System.String</param>
/// <param name="Name" type="String">System.String</param>
/// <param name="Type" 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(), 'AddHeadBadgeFromFrameExample',false,{BrandID:BrandID,ExampleID:ExampleID,Name:Name,Type:Type},succeededCallback,failedCallback,userContext); },
SaveSearchResults:function(SearchID,SearchTable,SearchName,succeededCallback, failedCallback, userContext) {
/// <param name="SearchID" type="String">System.String</param>
/// <param name="SearchTable" type="String">System.String</param>
/// <param name="SearchName" 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(), 'SaveSearchResults',false,{SearchID:SearchID,SearchTable:SearchTable,SearchName:SearchName},succeededCallback,failedCallback,userContext); },
TempPhotoCleanup: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(), 'TempPhotoCleanup',false,{},succeededCallback,failedCallback,userContext); },
VeloFramePartOptions:function(sType,sBrandFilter,Value1,Value2,succeededCallback, failedCallback, userContext) {
/// <param name="sType" type="String">System.String</param>
/// <param name="sBrandFilter" type="String">System.String</param>
/// <param name="Value1" type="String">System.String</param>
/// <param name="Value2" 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(), 'VeloFramePartOptions',false,{sType:sType,sBrandFilter:sBrandFilter,Value1:Value1,Value2:Value2},succeededCallback,failedCallback,userContext); },
AddFramePartOption:function(sType,succeededCallback, failedCallback, userContext) {
/// <param name="sType" 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(), 'AddFramePartOption',false,{sType:sType},succeededCallback,failedCallback,userContext); },
SubmitNewFramePartOption:function(sType,brand,model,name,Val1,Val2,ParentID,succeededCallback, failedCallback, userContext) {
/// <param name="sType" type="String">System.String</param>
/// <param name="brand" type="String">System.String</param>
/// <param name="model" type="String">System.String</param>
/// <param name="name" type="String">System.String</param>
/// <param name="Val1" type="String">System.String</param>
/// <param name="Val2" type="String">System.String</param>
/// <param name="ParentID" 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(), 'SubmitNewFramePartOption',false,{sType:sType,brand:brand,model:model,name:name,Val1:Val1,Val2:Val2,ParentID:ParentID},succeededCallback,failedCallback,userContext); }}
VeloBase2.VeloWebServices.registerClass('VeloBase2.VeloWebServices',Sys.Net.WebServiceProxy);
VeloBase2.VeloWebServices._staticInstance = new VeloBase2.VeloWebServices();
VeloBase2.VeloWebServices.set_path = function(value) {
VeloBase2.VeloWebServices._staticInstance.set_path(value); }
VeloBase2.VeloWebServices.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return VeloBase2.VeloWebServices._staticInstance.get_path();}
VeloBase2.VeloWebServices.set_timeout = function(value) {
VeloBase2.VeloWebServices._staticInstance.set_timeout(value); }
VeloBase2.VeloWebServices.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return VeloBase2.VeloWebServices._staticInstance.get_timeout(); }
VeloBase2.VeloWebServices.set_defaultUserContext = function(value) { 
VeloBase2.VeloWebServices._staticInstance.set_defaultUserContext(value); }
VeloBase2.VeloWebServices.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return VeloBase2.VeloWebServices._staticInstance.get_defaultUserContext(); }
VeloBase2.VeloWebServices.set_defaultSucceededCallback = function(value) { 
 VeloBase2.VeloWebServices._staticInstance.set_defaultSucceededCallback(value); }
VeloBase2.VeloWebServices.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return VeloBase2.VeloWebServices._staticInstance.get_defaultSucceededCallback(); }
VeloBase2.VeloWebServices.set_defaultFailedCallback = function(value) { 
VeloBase2.VeloWebServices._staticInstance.set_defaultFailedCallback(value); }
VeloBase2.VeloWebServices.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return VeloBase2.VeloWebServices._staticInstance.get_defaultFailedCallback(); }
VeloBase2.VeloWebServices.set_path("/velobase.com/Utility/VeloWebServices.asmx");
VeloBase2.VeloWebServices.BrandsByCategoryWithCounts= function(iCategory,onSuccess,onFailed,userContext) {
/// <param name="iCategory" 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>
VeloBase2.VeloWebServices._staticInstance.BrandsByCategoryWithCounts(iCategory,onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.GroupsByBrandWithCounts= function(iCategory,sBrand,onSuccess,onFailed,userContext) {
/// <param name="iCategory" type="Number">System.Int32</param>
/// <param name="sBrand" 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>
VeloBase2.VeloWebServices._staticInstance.GroupsByBrandWithCounts(iCategory,sBrand,onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.ComponentsByCategoryBrand= function(iCategory,sBrand,sGroup,onSuccess,onFailed,userContext) {
/// <param name="iCategory" type="Number">System.Int32</param>
/// <param name="sBrand" type="String">System.String</param>
/// <param name="sGroup" 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>
VeloBase2.VeloWebServices._staticInstance.ComponentsByCategoryBrand(iCategory,sBrand,sGroup,onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.ComponentsByCategorySearch= function(q,Param1,onSuccess,onFailed,userContext) {
/// <param name="q" type="String">System.String</param>
/// <param name="Param1" 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>
VeloBase2.VeloWebServices._staticInstance.ComponentsByCategorySearch(q,Param1,onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.CountriesByCategory= function(iCat,onSuccess,onFailed,userContext) {
/// <param name="iCat" 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>
VeloBase2.VeloWebServices._staticInstance.CountriesByCategory(iCat,onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.ResourceLinksByCategory= function(sCategory,onSuccess,onFailed,userContext) {
/// <param name="sCategory" 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>
VeloBase2.VeloWebServices._staticInstance.ResourceLinksByCategory(sCategory,onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.FrameModelsByBrand= function(Brand,onSuccess,onFailed,userContext) {
/// <param name="Brand" 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>
VeloBase2.VeloWebServices._staticInstance.FrameModelsByBrand(Brand,onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.FrameExamplesByBrand= function(Brand,Model,onSuccess,onFailed,userContext) {
/// <param name="Brand" type="String">System.String</param>
/// <param name="Model" 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>
VeloBase2.VeloWebServices._staticInstance.FrameExamplesByBrand(Brand,Model,onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.AddHeadBadgeFromFrameExample= function(BrandID,ExampleID,Name,Type,onSuccess,onFailed,userContext) {
/// <param name="BrandID" type="String">System.String</param>
/// <param name="ExampleID" type="String">System.String</param>
/// <param name="Name" type="String">System.String</param>
/// <param name="Type" 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>
VeloBase2.VeloWebServices._staticInstance.AddHeadBadgeFromFrameExample(BrandID,ExampleID,Name,Type,onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.SaveSearchResults= function(SearchID,SearchTable,SearchName,onSuccess,onFailed,userContext) {
/// <param name="SearchID" type="String">System.String</param>
/// <param name="SearchTable" type="String">System.String</param>
/// <param name="SearchName" 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>
VeloBase2.VeloWebServices._staticInstance.SaveSearchResults(SearchID,SearchTable,SearchName,onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.TempPhotoCleanup= 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>
VeloBase2.VeloWebServices._staticInstance.TempPhotoCleanup(onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.VeloFramePartOptions= function(sType,sBrandFilter,Value1,Value2,onSuccess,onFailed,userContext) {
/// <param name="sType" type="String">System.String</param>
/// <param name="sBrandFilter" type="String">System.String</param>
/// <param name="Value1" type="String">System.String</param>
/// <param name="Value2" 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>
VeloBase2.VeloWebServices._staticInstance.VeloFramePartOptions(sType,sBrandFilter,Value1,Value2,onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.AddFramePartOption= function(sType,onSuccess,onFailed,userContext) {
/// <param name="sType" 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>
VeloBase2.VeloWebServices._staticInstance.AddFramePartOption(sType,onSuccess,onFailed,userContext); }
VeloBase2.VeloWebServices.SubmitNewFramePartOption= function(sType,brand,model,name,Val1,Val2,ParentID,onSuccess,onFailed,userContext) {
/// <param name="sType" type="String">System.String</param>
/// <param name="brand" type="String">System.String</param>
/// <param name="model" type="String">System.String</param>
/// <param name="name" type="String">System.String</param>
/// <param name="Val1" type="String">System.String</param>
/// <param name="Val2" type="String">System.String</param>
/// <param name="ParentID" 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>
VeloBase2.VeloWebServices._staticInstance.SubmitNewFramePartOption(sType,brand,model,name,Val1,Val2,ParentID,onSuccess,onFailed,userContext); }

