var AccountsService=function() {
AccountsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AccountsService.prototype={
ClearCacheKey:function(key,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'ClearCacheKey',false,{key:key},succeededCallback,failedCallback,userContext); },
MakeDefaultPhotoViewer:function(accountId,photoviewertypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'MakeDefaultPhotoViewer',false,{accountId:accountId,photoviewertypeId:photoviewertypeId},succeededCallback,failedCallback,userContext); },
IsAccountAvailable:function(name,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'IsAccountAvailable',false,{name:name},succeededCallback,failedCallback,userContext); },
AddAssociation:function(AssociationTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'AddAssociation',false,{AssociationTypeId:AssociationTypeId},succeededCallback,failedCallback,userContext); },
AddAssociationFromShop:function(AssociationTypeId,SiteCustomerGUID,RequestingCustomerGUID,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'AddAssociationFromShop',false,{AssociationTypeId:AssociationTypeId,SiteCustomerGUID:SiteCustomerGUID,RequestingCustomerGUID:RequestingCustomerGUID},succeededCallback,failedCallback,userContext); },
GetCategories:function(TotalPages,PageNumber,PageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'GetCategories',false,{TotalPages:TotalPages,PageNumber:PageNumber,PageSize:PageSize},succeededCallback,failedCallback,userContext); },
GetTags:function(TotalPages,PageNumber,PageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'GetTags',false,{TotalPages:TotalPages,PageNumber:PageNumber,PageSize:PageSize},succeededCallback,failedCallback,userContext); },
GetThemeGallery:function(ThemeCategoryId,TotalPages,PageNumber,PageSize,SelectedThemeId,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'GetThemeGallery',false,{ThemeCategoryId:ThemeCategoryId,TotalPages:TotalPages,PageNumber:PageNumber,PageSize:PageSize,SelectedThemeId:SelectedThemeId},succeededCallback,failedCallback,userContext); },
SetTheme:function(ThemeId,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'SetTheme',false,{ThemeId:ThemeId},succeededCallback,failedCallback,userContext); },
SetCustomBrand:function(succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'SetCustomBrand',false,{},succeededCallback,failedCallback,userContext); },
CreateCustomThemePhoto:function(ThemeTypeId,AlbumIdForTheme,ImageId,LeftPercent,TopPercent,RightPercent,BottomPercent,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'CreateCustomThemePhoto',false,{ThemeTypeId:ThemeTypeId,AlbumIdForTheme:AlbumIdForTheme,ImageId:ImageId,LeftPercent:LeftPercent,TopPercent:TopPercent,RightPercent:RightPercent,BottomPercent:BottomPercent},succeededCallback,failedCallback,userContext); },
GetManageFavoriteAlbumsGallery:function(TotalPages,PageNumber,PageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'GetManageFavoriteAlbumsGallery',false,{TotalPages:TotalPages,PageNumber:PageNumber,PageSize:PageSize},succeededCallback,failedCallback,userContext); },
SetFavoriteAlbum:function(AlbumId,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'SetFavoriteAlbum',false,{AlbumId:AlbumId},succeededCallback,failedCallback,userContext); },
GetManageFavoritePhotosGallery:function(AlbumId,TotalPages,PageNumber,PageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'GetManageFavoritePhotosGallery',false,{AlbumId:AlbumId,TotalPages:TotalPages,PageNumber:PageNumber,PageSize:PageSize},succeededCallback,failedCallback,userContext); },
SetFavoritePhoto:function(ImageId,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'SetFavoritePhoto',false,{ImageId:ImageId},succeededCallback,failedCallback,userContext); },
ToggleHomePagePod:function(controlId,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'ToggleHomePagePod',false,{controlId:controlId},succeededCallback,failedCallback,userContext); },
SetPodTitle:function(controlId,title,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'SetPodTitle',false,{controlId:controlId,title:title},succeededCallback,failedCallback,userContext); },
TurnOffWelcomeToPixplug:function(succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'TurnOffWelcomeToPixplug',false,{},succeededCallback,failedCallback,userContext); },
GetAccountCentralAsXml:function(CustomerGUID,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'GetAccountCentralAsXml',false,{CustomerGUID:CustomerGUID},succeededCallback,failedCallback,userContext); },
CreateAccount:function(CustomerGUID,CustomerDomain,FirstName,LastName,Email,AccountType,AccountStatus,OrderNumber,ParentAccountId,DatePurchased,DateActivated,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'CreateAccount',false,{CustomerGUID:CustomerGUID,CustomerDomain:CustomerDomain,FirstName:FirstName,LastName:LastName,Email:Email,AccountType:AccountType,AccountStatus:AccountStatus,OrderNumber:OrderNumber,ParentAccountId:ParentAccountId,DatePurchased:DatePurchased,DateActivated:DateActivated},succeededCallback,failedCallback,userContext); },
SetAutoRenewal:function(CustomerGUID,IsAutoRenewal,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'SetAutoRenewal',false,{CustomerGUID:CustomerGUID,IsAutoRenewal:IsAutoRenewal},succeededCallback,failedCallback,userContext); },
UpdateAccount:function(CustomerGUID,CustomerDomain,AccountType,AccountStatus,OrderNumber,ParentAccountId,DatePurchased,DateActivated,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'UpdateAccount',false,{CustomerGUID:CustomerGUID,CustomerDomain:CustomerDomain,AccountType:AccountType,AccountStatus:AccountStatus,OrderNumber:OrderNumber,ParentAccountId:ParentAccountId,DatePurchased:DatePurchased,DateActivated:DateActivated},succeededCallback,failedCallback,userContext); },
AddAccountStorage:function(CustomerGUID,Quantity,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'AddAccountStorage',false,{CustomerGUID:CustomerGUID,Quantity:Quantity},succeededCallback,failedCallback,userContext); },
RemoveAccountStorage:function(CustomerGUID,Quantity,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'RemoveAccountStorage',false,{CustomerGUID:CustomerGUID,Quantity:Quantity},succeededCallback,failedCallback,userContext); },
TransferShopAlbumToNewAccount:function(CurrentCustomerGUID,NewCustomerGUID,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'TransferShopAlbumToNewAccount',false,{CurrentCustomerGUID:CurrentCustomerGUID,NewCustomerGUID:NewCustomerGUID},succeededCallback,failedCallback,userContext); },
GetAccount:function(CustomerGUID,succeededCallback, failedCallback, userContext) {
return this._invoke(AccountsService.get_path(), 'GetAccount',false,{CustomerGUID:CustomerGUID},succeededCallback,failedCallback,userContext); }}
AccountsService.registerClass('AccountsService',Sys.Net.WebServiceProxy);
AccountsService._staticInstance = new AccountsService();
AccountsService.set_path = function(value) { AccountsService._staticInstance._path = value; }
AccountsService.get_path = function() { return AccountsService._staticInstance._path; }
AccountsService.set_timeout = function(value) { AccountsService._staticInstance._timeout = value; }
AccountsService.get_timeout = function() { return AccountsService._staticInstance._timeout; }
AccountsService.set_defaultUserContext = function(value) { AccountsService._staticInstance._userContext = value; }
AccountsService.get_defaultUserContext = function() { return AccountsService._staticInstance._userContext; }
AccountsService.set_defaultSucceededCallback = function(value) { AccountsService._staticInstance._succeeded = value; }
AccountsService.get_defaultSucceededCallback = function() { return AccountsService._staticInstance._succeeded; }
AccountsService.set_defaultFailedCallback = function(value) { AccountsService._staticInstance._failed = value; }
AccountsService.get_defaultFailedCallback = function() { return AccountsService._staticInstance._failed; }
AccountsService.set_path("/Services/AccountsService.asmx");
AccountsService.ClearCacheKey= function(key,onSuccess,onFailed,userContext) {AccountsService._staticInstance.ClearCacheKey(key,onSuccess,onFailed,userContext); }
AccountsService.MakeDefaultPhotoViewer= function(accountId,photoviewertypeId,onSuccess,onFailed,userContext) {AccountsService._staticInstance.MakeDefaultPhotoViewer(accountId,photoviewertypeId,onSuccess,onFailed,userContext); }
AccountsService.IsAccountAvailable= function(name,onSuccess,onFailed,userContext) {AccountsService._staticInstance.IsAccountAvailable(name,onSuccess,onFailed,userContext); }
AccountsService.AddAssociation= function(AssociationTypeId,onSuccess,onFailed,userContext) {AccountsService._staticInstance.AddAssociation(AssociationTypeId,onSuccess,onFailed,userContext); }
AccountsService.AddAssociationFromShop= function(AssociationTypeId,SiteCustomerGUID,RequestingCustomerGUID,onSuccess,onFailed,userContext) {AccountsService._staticInstance.AddAssociationFromShop(AssociationTypeId,SiteCustomerGUID,RequestingCustomerGUID,onSuccess,onFailed,userContext); }
AccountsService.GetCategories= function(TotalPages,PageNumber,PageSize,onSuccess,onFailed,userContext) {AccountsService._staticInstance.GetCategories(TotalPages,PageNumber,PageSize,onSuccess,onFailed,userContext); }
AccountsService.GetTags= function(TotalPages,PageNumber,PageSize,onSuccess,onFailed,userContext) {AccountsService._staticInstance.GetTags(TotalPages,PageNumber,PageSize,onSuccess,onFailed,userContext); }
AccountsService.GetThemeGallery= function(ThemeCategoryId,TotalPages,PageNumber,PageSize,SelectedThemeId,onSuccess,onFailed,userContext) {AccountsService._staticInstance.GetThemeGallery(ThemeCategoryId,TotalPages,PageNumber,PageSize,SelectedThemeId,onSuccess,onFailed,userContext); }
AccountsService.SetTheme= function(ThemeId,onSuccess,onFailed,userContext) {AccountsService._staticInstance.SetTheme(ThemeId,onSuccess,onFailed,userContext); }
AccountsService.SetCustomBrand= function(onSuccess,onFailed,userContext) {AccountsService._staticInstance.SetCustomBrand(onSuccess,onFailed,userContext); }
AccountsService.CreateCustomThemePhoto= function(ThemeTypeId,AlbumIdForTheme,ImageId,LeftPercent,TopPercent,RightPercent,BottomPercent,onSuccess,onFailed,userContext) {AccountsService._staticInstance.CreateCustomThemePhoto(ThemeTypeId,AlbumIdForTheme,ImageId,LeftPercent,TopPercent,RightPercent,BottomPercent,onSuccess,onFailed,userContext); }
AccountsService.GetManageFavoriteAlbumsGallery= function(TotalPages,PageNumber,PageSize,onSuccess,onFailed,userContext) {AccountsService._staticInstance.GetManageFavoriteAlbumsGallery(TotalPages,PageNumber,PageSize,onSuccess,onFailed,userContext); }
AccountsService.SetFavoriteAlbum= function(AlbumId,onSuccess,onFailed,userContext) {AccountsService._staticInstance.SetFavoriteAlbum(AlbumId,onSuccess,onFailed,userContext); }
AccountsService.GetManageFavoritePhotosGallery= function(AlbumId,TotalPages,PageNumber,PageSize,onSuccess,onFailed,userContext) {AccountsService._staticInstance.GetManageFavoritePhotosGallery(AlbumId,TotalPages,PageNumber,PageSize,onSuccess,onFailed,userContext); }
AccountsService.SetFavoritePhoto= function(ImageId,onSuccess,onFailed,userContext) {AccountsService._staticInstance.SetFavoritePhoto(ImageId,onSuccess,onFailed,userContext); }
AccountsService.ToggleHomePagePod= function(controlId,onSuccess,onFailed,userContext) {AccountsService._staticInstance.ToggleHomePagePod(controlId,onSuccess,onFailed,userContext); }
AccountsService.SetPodTitle= function(controlId,title,onSuccess,onFailed,userContext) {AccountsService._staticInstance.SetPodTitle(controlId,title,onSuccess,onFailed,userContext); }
AccountsService.TurnOffWelcomeToPixplug= function(onSuccess,onFailed,userContext) {AccountsService._staticInstance.TurnOffWelcomeToPixplug(onSuccess,onFailed,userContext); }
AccountsService.GetAccountCentralAsXml= function(CustomerGUID,onSuccess,onFailed,userContext) {AccountsService._staticInstance.GetAccountCentralAsXml(CustomerGUID,onSuccess,onFailed,userContext); }
AccountsService.CreateAccount= function(CustomerGUID,CustomerDomain,FirstName,LastName,Email,AccountType,AccountStatus,OrderNumber,ParentAccountId,DatePurchased,DateActivated,onSuccess,onFailed,userContext) {AccountsService._staticInstance.CreateAccount(CustomerGUID,CustomerDomain,FirstName,LastName,Email,AccountType,AccountStatus,OrderNumber,ParentAccountId,DatePurchased,DateActivated,onSuccess,onFailed,userContext); }
AccountsService.SetAutoRenewal= function(CustomerGUID,IsAutoRenewal,onSuccess,onFailed,userContext) {AccountsService._staticInstance.SetAutoRenewal(CustomerGUID,IsAutoRenewal,onSuccess,onFailed,userContext); }
AccountsService.UpdateAccount= function(CustomerGUID,CustomerDomain,AccountType,AccountStatus,OrderNumber,ParentAccountId,DatePurchased,DateActivated,onSuccess,onFailed,userContext) {AccountsService._staticInstance.UpdateAccount(CustomerGUID,CustomerDomain,AccountType,AccountStatus,OrderNumber,ParentAccountId,DatePurchased,DateActivated,onSuccess,onFailed,userContext); }
AccountsService.AddAccountStorage= function(CustomerGUID,Quantity,onSuccess,onFailed,userContext) {AccountsService._staticInstance.AddAccountStorage(CustomerGUID,Quantity,onSuccess,onFailed,userContext); }
AccountsService.RemoveAccountStorage= function(CustomerGUID,Quantity,onSuccess,onFailed,userContext) {AccountsService._staticInstance.RemoveAccountStorage(CustomerGUID,Quantity,onSuccess,onFailed,userContext); }
AccountsService.TransferShopAlbumToNewAccount= function(CurrentCustomerGUID,NewCustomerGUID,onSuccess,onFailed,userContext) {AccountsService._staticInstance.TransferShopAlbumToNewAccount(CurrentCustomerGUID,NewCustomerGUID,onSuccess,onFailed,userContext); }
AccountsService.GetAccount= function(CustomerGUID,onSuccess,onFailed,userContext) {AccountsService._staticInstance.GetAccount(CustomerGUID,onSuccess,onFailed,userContext); }

