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={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RegistryService.Web.Service._staticInstance.get_path();},
GetStoresAndProducts:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStoresAndProducts',false,{},succeededCallback,failedCallback,userContext); },
GetData:function(sessionId,email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetData',false,{sessionId:sessionId,email:email},succeededCallback,failedCallback,userContext); },
SaveRegistrySelections:function(sessionId,selections,amazingRegistryId,selectionCriteria,occasion,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveRegistrySelections',false,{sessionId:sessionId,selections:selections,amazingRegistryId:amazingRegistryId,selectionCriteria:selectionCriteria,occasion:occasion},succeededCallback,failedCallback,userContext); },
ProductActivity:function(sessionId,productId,storeId,amazingRegistryId,registryIdAtStore,storeProductId,addedToCart,purchased,desired,isDirect,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ProductActivity',false,{sessionId:sessionId,productId:productId,storeId:storeId,amazingRegistryId:amazingRegistryId,registryIdAtStore:registryIdAtStore,storeProductId:storeProductId,addedToCart:addedToCart,purchased:purchased,desired:desired,isDirect:isDirect},succeededCallback,failedCallback,userContext); },
Authenticate:function(sessionId,email,credentials,rememberMe,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Authenticate',false,{sessionId:sessionId,email:email,credentials:credentials,rememberMe:rememberMe},succeededCallback,failedCallback,userContext); },
ChangePassword:function(sessionId,credentials,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ChangePassword',false,{sessionId:sessionId,credentials:credentials},succeededCallback,failedCallback,userContext); },
GetFacebookAccount:function(sessionId,uid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFacebookAccount',false,{sessionId:sessionId,uid:uid},succeededCallback,failedCallback,userContext); },
CreateMyAmazingRegistry:function(sessionId,email,password,occassion,occassionDate,firstName,lastName,altName,city,state,url,coFirstName,coLastName,coAltName,messageToGuests,howFound,shippingAddress,shippingCity,shippingState,shippingZip,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateMyAmazingRegistry',false,{sessionId:sessionId,email:email,password:password,occassion:occassion,occassionDate:occassionDate,firstName:firstName,lastName:lastName,altName:altName,city:city,state:state,url:url,coFirstName:coFirstName,coLastName:coLastName,coAltName:coAltName,messageToGuests:messageToGuests,howFound:howFound,shippingAddress:shippingAddress,shippingCity:shippingCity,shippingState:shippingState,shippingZip:shippingZip},succeededCallback,failedCallback,userContext); },
UpdateAmazingRegistry:function(sessionId,ar,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateAmazingRegistry',false,{sessionId:sessionId,ar:ar},succeededCallback,failedCallback,userContext); },
SaveFeedback:function(sessionId,subject,email,body,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveFeedback',false,{sessionId:sessionId,subject:subject,email:email,body:body},succeededCallback,failedCallback,userContext); },
LogMessage:function(sessionId,trace,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LogMessage',false,{sessionId:sessionId,trace:trace},succeededCallback,failedCallback,userContext); },
AggregatedRegistryRequest:function(sessionId,aggregatedRegistryId,email,body,url,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AggregatedRegistryRequest',false,{sessionId:sessionId,aggregatedRegistryId:aggregatedRegistryId,email:email,body:body,url:url},succeededCallback,failedCallback,userContext); },
RefreshStores:function(sessionId,arId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RefreshStores',false,{sessionId:sessionId,arId:arId},succeededCallback,failedCallback,userContext); },
Logout:function(sessionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Logout',false,{sessionId:sessionId},succeededCallback,failedCallback,userContext); },
SearchForAuthenticatedRegistry:function(sessionId,storeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchForAuthenticatedRegistry',false,{sessionId:sessionId,storeId:storeId},succeededCallback,failedCallback,userContext); },
InspectStoreRegistry:function(sessionId,sr,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InspectStoreRegistry',false,{sessionId:sessionId,sr:sr},succeededCallback,failedCallback,userContext); },
ResetPassword:function(sessionId,email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ResetPassword',false,{sessionId:sessionId,email:email},succeededCallback,failedCallback,userContext); },
ShowAmazingRegistry:function(sessionId,amazingRegistryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ShowAmazingRegistry',false,{sessionId:sessionId,amazingRegistryId:amazingRegistryId},succeededCallback,failedCallback,userContext); },
a:function(s,succeededCallback, failedCallback, userContext) {
return this._invoke(this._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.set_path(value); }
RegistryService.Web.Service.get_path = function() { return RegistryService.Web.Service._staticInstance.get_path(); }
RegistryService.Web.Service.set_timeout = function(value) { RegistryService.Web.Service._staticInstance.set_timeout(value); }
RegistryService.Web.Service.get_timeout = function() { return RegistryService.Web.Service._staticInstance.get_timeout(); }
RegistryService.Web.Service.set_defaultUserContext = function(value) { RegistryService.Web.Service._staticInstance.set_defaultUserContext(value); }
RegistryService.Web.Service.get_defaultUserContext = function() { return RegistryService.Web.Service._staticInstance.get_defaultUserContext(); }
RegistryService.Web.Service.set_defaultSucceededCallback = function(value) { RegistryService.Web.Service._staticInstance.set_defaultSucceededCallback(value); }
RegistryService.Web.Service.get_defaultSucceededCallback = function() { return RegistryService.Web.Service._staticInstance.get_defaultSucceededCallback(); }
RegistryService.Web.Service.set_defaultFailedCallback = function(value) { RegistryService.Web.Service._staticInstance.set_defaultFailedCallback(value); }
RegistryService.Web.Service.get_defaultFailedCallback = function() { return RegistryService.Web.Service._staticInstance.get_defaultFailedCallback(); }
RegistryService.Web.Service.set_path("/Services/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,selectionCriteria,occasion,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.SaveRegistrySelections(sessionId,selections,amazingRegistryId,selectionCriteria,occasion,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.ProductActivity= function(sessionId,productId,storeId,amazingRegistryId,registryIdAtStore,storeProductId,addedToCart,purchased,desired,isDirect,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.ProductActivity(sessionId,productId,storeId,amazingRegistryId,registryIdAtStore,storeProductId,addedToCart,purchased,desired,isDirect,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.ChangePassword= function(sessionId,credentials,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.ChangePassword(sessionId,credentials,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.GetFacebookAccount= function(sessionId,uid,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.GetFacebookAccount(sessionId,uid,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.CreateMyAmazingRegistry= function(sessionId,email,password,occassion,occassionDate,firstName,lastName,altName,city,state,url,coFirstName,coLastName,coAltName,messageToGuests,howFound,shippingAddress,shippingCity,shippingState,shippingZip,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.CreateMyAmazingRegistry(sessionId,email,password,occassion,occassionDate,firstName,lastName,altName,city,state,url,coFirstName,coLastName,coAltName,messageToGuests,howFound,shippingAddress,shippingCity,shippingState,shippingZip,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.LogMessage= function(sessionId,trace,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.LogMessage(sessionId,trace,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.AggregatedRegistryRequest= function(sessionId,aggregatedRegistryId,email,body,url,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.AggregatedRegistryRequest(sessionId,aggregatedRegistryId,email,body,url,onSuccess,onFailed,userContext); }
RegistryService.Web.Service.RefreshStores= function(sessionId,arId,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.RefreshStores(sessionId,arId,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.ResetPassword= function(sessionId,email,onSuccess,onFailed,userContext) {RegistryService.Web.Service._staticInstance.ResetPassword(sessionId,email,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.User) === 'undefined') {
RegistryService.Platform.User=gtc("RegistryService.Platform.User");
RegistryService.Platform.User.registerClass('RegistryService.Platform.User');
}
if (typeof(RegistryService.Web.AmazingRegistryError) === 'undefined') {
RegistryService.Web.AmazingRegistryError=gtc("RegistryService.Web.AmazingRegistryError");
RegistryService.Web.AmazingRegistryError.registerClass('RegistryService.Web.AmazingRegistryError');
}
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');
}
