Type.registerNamespace('RegistryService.Web');
RegistryService.Web.Service=function() {
RegistryService.Web.Service.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RegistryService.Web.Service.prototype={
GetStoresAndProducts:function(succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'GetStoresAndProducts',false,{},succeededCallback,failedCallback,userContext); },
GetData:function(sessionId,email,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'GetData',false,{sessionId:sessionId,email:email},succeededCallback,failedCallback,userContext); },
SaveRegistrySelections:function(sessionId,selections,amazingRegistryId,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'SaveRegistrySelections',false,{sessionId:sessionId,selections:selections,amazingRegistryId:amazingRegistryId},succeededCallback,failedCallback,userContext); },
ProductActivity:function(sessionId,productId,storeId,amazingRegistryId,registryIdAtStore,storeProductId,addedToCart,purchased,desired,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'ProductActivity',false,{sessionId:sessionId,productId:productId,storeId:storeId,amazingRegistryId:amazingRegistryId,registryIdAtStore:registryIdAtStore,storeProductId:storeProductId,addedToCart:addedToCart,purchased:purchased,desired:desired},succeededCallback,failedCallback,userContext); },
Authenticate:function(sessionId,email,credentials,rememberMe,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'Authenticate',false,{sessionId:sessionId,email:email,credentials:credentials,rememberMe:rememberMe},succeededCallback,failedCallback,userContext); },
CreateMyAmazingRegistry:function(sessionId,email,password,occassion,occassionDate,firstName,lastName,altName,relationship,city,state,url,coFirstName,coLastName,coAltName,coRelationship,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'CreateMyAmazingRegistry',false,{sessionId:sessionId,email:email,password:password,occassion:occassion,occassionDate:occassionDate,firstName:firstName,lastName:lastName,altName:altName,relationship:relationship,city:city,state:state,url:url,coFirstName:coFirstName,coLastName:coLastName,coAltName:coAltName,coRelationship:coRelationship},succeededCallback,failedCallback,userContext); },
UpdateAmazingRegistry:function(sessionId,ar,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'UpdateAmazingRegistry',false,{sessionId:sessionId,ar:ar},succeededCallback,failedCallback,userContext); },
SaveFeedback:function(sessionId,subject,email,body,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'SaveFeedback',false,{sessionId:sessionId,subject:subject,email:email,body:body},succeededCallback,failedCallback,userContext); },
AggregatedRegistryRequest:function(sessionId,aggregatedRegistryId,email,body,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'AggregatedRegistryRequest',false,{sessionId:sessionId,aggregatedRegistryId:aggregatedRegistryId,email:email,body:body},succeededCallback,failedCallback,userContext); },
RefreshStores:function(sessionId,ar,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'RefreshStores',false,{sessionId:sessionId,ar:ar},succeededCallback,failedCallback,userContext); },
Logout:function(sessionId,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'Logout',false,{sessionId:sessionId},succeededCallback,failedCallback,userContext); },
SearchForAuthenticatedRegistry:function(sessionId,storeId,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'SearchForAuthenticatedRegistry',false,{sessionId:sessionId,storeId:storeId},succeededCallback,failedCallback,userContext); },
InspectStoreRegistry:function(sessionId,sr,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'InspectStoreRegistry',false,{sessionId:sessionId,sr:sr},succeededCallback,failedCallback,userContext); },
ShowAmazingRegistry:function(sessionId,amazingRegistryId,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'ShowAmazingRegistry',false,{sessionId:sessionId,amazingRegistryId:amazingRegistryId},succeededCallback,failedCallback,userContext); },
a:function(s,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistryService.Web.Service.get_path(), 'a',false,{s:s},succeededCallback,failedCallback,userContext); }}
RegistryService.Web.Service.registerClass('RegistryService.Web.Service',Sys.Net.WebServiceProxy);
RegistryService.Web.Service._staticInstance = new RegistryService.Web.Service();
RegistryService.Web.Service.set_path = function(value) { RegistryService.Web.Service._staticInstance._path = value; }
RegistryService.Web.Service.get_path = function() { return RegistryService.Web.Service._staticInstance._path; }
RegistryService.Web.Service.set_timeout = function(value) { RegistryService.Web.Service._staticInstance._timeout = value; }
RegistryService.Web.Service.get_timeout = function() { return RegistryService.Web.Service._staticInstance._timeout; }
RegistryService.Web.Service.set_defaultUserContext = function(value) { RegistryService.Web.Service._staticInstance._userContext = value; }
RegistryService.Web.Service.get_defaultUserContext = function() { return RegistryService.Web.Service._staticInstance._userContext; }
RegistryService.Web.Service.set_defaultSucceededCallback = function(value) { RegistryService.Web.Service._staticInstance._succeeded = value; }
RegistryService.Web.Service.get_defaultSucceededCallback = function() { return RegistryService.Web.Service._staticInstance._succeeded; }
RegistryService.Web.Service.set_defaultFailedCallback = function(value) { RegistryService.Web.Service._staticInstance._failed = value; }
RegistryService.Web.Service.get_defaultFailedCallback = function() { return RegistryService.Web.Service._staticInstance._failed; }
RegistryService.Web.Service.set_path("/Service.asmx");
RegistryService.Web.Service.GetStoresAndProducts= function(onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.GetStoresAndProducts(onSuccess,onFailed,userContext); }
RegistryService.Web.Service.GetData= function(sessionId,email,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.GetData(sessionId,email,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.SaveRegistrySelections= function(sessionId,selections,amazingRegistryId,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.SaveRegistrySelections(sessionId,selections,amazingRegistryId,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.ProductActivity= function(sessionId,productId,storeId,amazingRegistryId,registryIdAtStore,storeProductId,addedToCart,purchased,desired,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.ProductActivity(sessionId,productId,storeId,amazingRegistryId,registryIdAtStore,storeProductId,addedToCart,purchased,desired,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.Authenticate= function(sessionId,email,credentials,rememberMe,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.Authenticate(sessionId,email,credentials,rememberMe,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.CreateMyAmazingRegistry= function(sessionId,email,password,occassion,occassionDate,firstName,lastName,altName,relationship,city,state,url,coFirstName,coLastName,coAltName,coRelationship,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.CreateMyAmazingRegistry(sessionId,email,password,occassion,occassionDate,firstName,lastName,altName,relationship,city,state,url,coFirstName,coLastName,coAltName,coRelationship,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.UpdateAmazingRegistry= function(sessionId,ar,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.UpdateAmazingRegistry(sessionId,ar,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.SaveFeedback= function(sessionId,subject,email,body,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.SaveFeedback(sessionId,subject,email,body,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.AggregatedRegistryRequest= function(sessionId,aggregatedRegistryId,email,body,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.AggregatedRegistryRequest(sessionId,aggregatedRegistryId,email,body,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.RefreshStores= function(sessionId,ar,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.RefreshStores(sessionId,ar,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.Logout= function(sessionId,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.Logout(sessionId,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.SearchForAuthenticatedRegistry= function(sessionId,storeId,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.SearchForAuthenticatedRegistry(sessionId,storeId,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.InspectStoreRegistry= function(sessionId,sr,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.InspectStoreRegistry(sessionId,sr,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.ShowAmazingRegistry= function(sessionId,amazingRegistryId,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.ShowAmazingRegistry(sessionId,amazingRegistryId,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.a= function(s,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.a(s,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('RegistryService.Platform');
if (typeof(RegistryService.Platform.AmazingRegistry) === 'undefined') {
RegistryService.Platform.AmazingRegistry=gtc("RegistryService.Platform.AmazingRegistry");
RegistryService.Platform.AmazingRegistry.registerClass('RegistryService.Platform.AmazingRegistry');
}
if (typeof(RegistryService.Platform.FinderResult) === 'undefined') {
RegistryService.Platform.FinderResult=gtc("RegistryService.Platform.FinderResult");
RegistryService.Platform.FinderResult.registerClass('RegistryService.Platform.FinderResult');
}
if (typeof(RegistryService.Platform.StoreRegistry) === 'undefined') {
RegistryService.Platform.StoreRegistry=gtc("RegistryService.Platform.StoreRegistry");
RegistryService.Platform.StoreRegistry.registerClass('RegistryService.Platform.StoreRegistry');
}
if (typeof(RegistryService.Platform.Store) === 'undefined') {
RegistryService.Platform.Store=gtc("RegistryService.Platform.Store");
RegistryService.Platform.Store.registerClass('RegistryService.Platform.Store');
}
