Type.registerNamespace('EZP.Api.Presentation.Web.Ajax');
EZP.Api.Presentation.Web.Ajax.JCM=function() {
EZP.Api.Presentation.Web.Ajax.JCM.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
EZP.Api.Presentation.Web.Ajax.JCM.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.get_path();},
photoPassGet:function(Token,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'photoPassGet',false,{Token:Token},succeededCallback,failedCallback,userContext); },
removeAccountImages:function(Token,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'removeAccountImages',false,{Token:Token},succeededCallback,failedCallback,userContext); },
removePhotoPass:function(PhotoPass,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'removePhotoPass',false,{PhotoPass:PhotoPass},succeededCallback,failedCallback,userContext); },
validPhotoPass:function(PhotoPass,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'validPhotoPass',false,{PhotoPass:PhotoPass},succeededCallback,failedCallback,userContext); },
pingAccount:function(Token,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'pingAccount',false,{Token:Token},succeededCallback,failedCallback,userContext); },
loginDisney:function(BrandId,UserName,Password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'loginDisney',false,{BrandId:BrandId,UserName:UserName,Password:Password},succeededCallback,failedCallback,userContext); },
getAssetsForBorder:function(token,BorderKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getAssetsForBorder',false,{token:token,BorderKey:BorderKey},succeededCallback,failedCallback,userContext); },
imageAssets:function(token,imageId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'imageAssets',false,{token:token,imageId:imageId},succeededCallback,failedCallback,userContext); },
resetDisneyPassword:function(BrandId,UserName,FirstName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'resetDisneyPassword',false,{BrandId:BrandId,UserName:UserName,FirstName:FirstName},succeededCallback,failedCallback,userContext); },
logOffDisney:function(Token,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'logOffDisney',false,{Token:Token},succeededCallback,failedCallback,userContext); },
addDisneyContactGuest:function(BrandId,AccountId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'addDisneyContactGuest',false,{BrandId:BrandId,AccountId:AccountId},succeededCallback,failedCallback,userContext); },
addDisneyContact:function(BrandId,Password,FirstName,LastName,Email,PhoneNumber,EULA,EmailConfirmed,MarketingOptIn,ShippingAddress1,ShippingAddress2,ShippingCity,ShippingStateProvince,ShippingPostalCode,ShippingCountry,ShippingVerified,BillingSameAsShipping,BillingAddress1,BillingAddress2,BillingCity,BillingStateProvince,BillingPostalCode,BillingCountry,BillingVerified,PhotoPass,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'addDisneyContact',false,{BrandId:BrandId,Password:Password,FirstName:FirstName,LastName:LastName,Email:Email,PhoneNumber:PhoneNumber,EULA:EULA,EmailConfirmed:EmailConfirmed,MarketingOptIn:MarketingOptIn,ShippingAddress1:ShippingAddress1,ShippingAddress2:ShippingAddress2,ShippingCity:ShippingCity,ShippingStateProvince:ShippingStateProvince,ShippingPostalCode:ShippingPostalCode,ShippingCountry:ShippingCountry,ShippingVerified:ShippingVerified,BillingSameAsShipping:BillingSameAsShipping,BillingAddress1:BillingAddress1,BillingAddress2:BillingAddress2,BillingCity:BillingCity,BillingStateProvince:BillingStateProvince,BillingPostalCode:BillingPostalCode,BillingCountry:BillingCountry,BillingVerified:BillingVerified,PhotoPass:PhotoPass},succeededCallback,failedCallback,userContext); },
getAccountAffinity:function(Token,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getAccountAffinity',false,{Token:Token},succeededCallback,failedCallback,userContext); },
addPhotoPassToAccount:function(Token,PhotoPass,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'addPhotoPassToAccount',false,{Token:Token,PhotoPass:PhotoPass},succeededCallback,failedCallback,userContext); },
updateDisneyContact:function(Token,FirstName,LastName,Email,PhoneNumber,EULA,EmailConfirmed,MarketingOptIn,ShippingAddress1,ShippingAddress2,ShippingCity,ShippingStateProvince,ShippingPostalCode,ShippingCountry,ShippingVerified,BillingSameAsShipping,BillingAddress1,BillingAddress2,BillingCity,BillingStateProvince,BillingPostalCode,BillingCountry,BillingVerified,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'updateDisneyContact',false,{Token:Token,FirstName:FirstName,LastName:LastName,Email:Email,PhoneNumber:PhoneNumber,EULA:EULA,EmailConfirmed:EmailConfirmed,MarketingOptIn:MarketingOptIn,ShippingAddress1:ShippingAddress1,ShippingAddress2:ShippingAddress2,ShippingCity:ShippingCity,ShippingStateProvince:ShippingStateProvince,ShippingPostalCode:ShippingPostalCode,ShippingCountry:ShippingCountry,ShippingVerified:ShippingVerified,BillingSameAsShipping:BillingSameAsShipping,BillingAddress1:BillingAddress1,BillingAddress2:BillingAddress2,BillingCity:BillingCity,BillingStateProvince:BillingStateProvince,BillingPostalCode:BillingPostalCode,BillingCountry:BillingCountry,BillingVerified:BillingVerified},succeededCallback,failedCallback,userContext); },
imageUpload:function(Token,sLocation,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'imageUpload',false,{Token:Token,sLocation:sLocation},succeededCallback,failedCallback,userContext); },
imagesGetGuest:function(AccountId,Type,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'imagesGetGuest',false,{AccountId:AccountId,Type:Type},succeededCallback,failedCallback,userContext); },
imageDetails:function(Token,imageId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'imageDetails',false,{Token:Token,imageId:imageId},succeededCallback,failedCallback,userContext); },
imageDelete:function(Token,imageId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'imageDelete',false,{Token:Token,imageId:imageId},succeededCallback,failedCallback,userContext); },
imageEdit:function(Token,BaseImageId,ExistingImageId,Rotation,OverlayId,Orientation,CropX,CropY,CropWidthPercent,CropAspectRatio,BlackAndWhite,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'imageEdit',false,{Token:Token,BaseImageId:BaseImageId,ExistingImageId:ExistingImageId,Rotation:Rotation,OverlayId:OverlayId,Orientation:Orientation,CropX:CropX,CropY:CropY,CropWidthPercent:CropWidthPercent,CropAspectRatio:CropAspectRatio,BlackAndWhite:BlackAndWhite},succeededCallback,failedCallback,userContext); },
imagesGet:function(Token,Type,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'imagesGet',false,{Token:Token,Type:Type},succeededCallback,failedCallback,userContext); },
imagesCache:function(Token,Type,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'imagesCache',false,{Token:Token,Type:Type},succeededCallback,failedCallback,userContext); }}
EZP.Api.Presentation.Web.Ajax.JCM.registerClass('EZP.Api.Presentation.Web.Ajax.JCM',Sys.Net.WebServiceProxy);
EZP.Api.Presentation.Web.Ajax.JCM._staticInstance = new EZP.Api.Presentation.Web.Ajax.JCM();
EZP.Api.Presentation.Web.Ajax.JCM.set_path = function(value) { EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.set_path(value); }
EZP.Api.Presentation.Web.Ajax.JCM.get_path = function() { return EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.get_path(); }
EZP.Api.Presentation.Web.Ajax.JCM.set_timeout = function(value) { EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.set_timeout(value); }
EZP.Api.Presentation.Web.Ajax.JCM.get_timeout = function() { return EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.get_timeout(); }
EZP.Api.Presentation.Web.Ajax.JCM.set_defaultUserContext = function(value) { EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.set_defaultUserContext(value); }
EZP.Api.Presentation.Web.Ajax.JCM.get_defaultUserContext = function() { return EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.get_defaultUserContext(); }
EZP.Api.Presentation.Web.Ajax.JCM.set_defaultSucceededCallback = function(value) { EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.set_defaultSucceededCallback(value); }
EZP.Api.Presentation.Web.Ajax.JCM.get_defaultSucceededCallback = function() { return EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.get_defaultSucceededCallback(); }
EZP.Api.Presentation.Web.Ajax.JCM.set_defaultFailedCallback = function(value) { EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.set_defaultFailedCallback(value); }
EZP.Api.Presentation.Web.Ajax.JCM.get_defaultFailedCallback = function() { return EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.get_defaultFailedCallback(); }
EZP.Api.Presentation.Web.Ajax.JCM.set_path("/API/Ajax/JCM.asmx");
EZP.Api.Presentation.Web.Ajax.JCM.photoPassGet= function(Token,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.photoPassGet(Token,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.removeAccountImages= function(Token,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.removeAccountImages(Token,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.removePhotoPass= function(PhotoPass,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.removePhotoPass(PhotoPass,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.validPhotoPass= function(PhotoPass,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.validPhotoPass(PhotoPass,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.pingAccount= function(Token,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.pingAccount(Token,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.loginDisney= function(BrandId,UserName,Password,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.loginDisney(BrandId,UserName,Password,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.getAssetsForBorder= function(token,BorderKey,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.getAssetsForBorder(token,BorderKey,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.imageAssets= function(token,imageId,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.imageAssets(token,imageId,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.resetDisneyPassword= function(BrandId,UserName,FirstName,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.resetDisneyPassword(BrandId,UserName,FirstName,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.logOffDisney= function(Token,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.logOffDisney(Token,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.addDisneyContactGuest= function(BrandId,AccountId,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.addDisneyContactGuest(BrandId,AccountId,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.addDisneyContact= function(BrandId,Password,FirstName,LastName,Email,PhoneNumber,EULA,EmailConfirmed,MarketingOptIn,ShippingAddress1,ShippingAddress2,ShippingCity,ShippingStateProvince,ShippingPostalCode,ShippingCountry,ShippingVerified,BillingSameAsShipping,BillingAddress1,BillingAddress2,BillingCity,BillingStateProvince,BillingPostalCode,BillingCountry,BillingVerified,PhotoPass,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.addDisneyContact(BrandId,Password,FirstName,LastName,Email,PhoneNumber,EULA,EmailConfirmed,MarketingOptIn,ShippingAddress1,ShippingAddress2,ShippingCity,ShippingStateProvince,ShippingPostalCode,ShippingCountry,ShippingVerified,BillingSameAsShipping,BillingAddress1,BillingAddress2,BillingCity,BillingStateProvince,BillingPostalCode,BillingCountry,BillingVerified,PhotoPass,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.getAccountAffinity= function(Token,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.getAccountAffinity(Token,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.addPhotoPassToAccount= function(Token,PhotoPass,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.addPhotoPassToAccount(Token,PhotoPass,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.updateDisneyContact= function(Token,FirstName,LastName,Email,PhoneNumber,EULA,EmailConfirmed,MarketingOptIn,ShippingAddress1,ShippingAddress2,ShippingCity,ShippingStateProvince,ShippingPostalCode,ShippingCountry,ShippingVerified,BillingSameAsShipping,BillingAddress1,BillingAddress2,BillingCity,BillingStateProvince,BillingPostalCode,BillingCountry,BillingVerified,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.updateDisneyContact(Token,FirstName,LastName,Email,PhoneNumber,EULA,EmailConfirmed,MarketingOptIn,ShippingAddress1,ShippingAddress2,ShippingCity,ShippingStateProvince,ShippingPostalCode,ShippingCountry,ShippingVerified,BillingSameAsShipping,BillingAddress1,BillingAddress2,BillingCity,BillingStateProvince,BillingPostalCode,BillingCountry,BillingVerified,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.imageUpload= function(Token,sLocation,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.imageUpload(Token,sLocation,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.imagesGetGuest= function(AccountId,Type,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.imagesGetGuest(AccountId,Type,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.imageDetails= function(Token,imageId,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.imageDetails(Token,imageId,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.imageDelete= function(Token,imageId,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.imageDelete(Token,imageId,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.imageEdit= function(Token,BaseImageId,ExistingImageId,Rotation,OverlayId,Orientation,CropX,CropY,CropWidthPercent,CropAspectRatio,BlackAndWhite,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.imageEdit(Token,BaseImageId,ExistingImageId,Rotation,OverlayId,Orientation,CropX,CropY,CropWidthPercent,CropAspectRatio,BlackAndWhite,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.imagesGet= function(Token,Type,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.imagesGet(Token,Type,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.JCM.imagesCache= function(Token,Type,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.JCM._staticInstance.imagesCache(Token,Type,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('EZP.Security.Service');
if (typeof(EZP.Security.Service.SecurityUser) === 'undefined') {
EZP.Security.Service.SecurityUser=gtc("EZP.Security.Service.SecurityUser");
EZP.Security.Service.SecurityUser.registerClass('EZP.Security.Service.SecurityUser');
}
Type.registerNamespace('EZP.Registration.Service');
if (typeof(EZP.Registration.Service.RegistrationContact) === 'undefined') {
EZP.Registration.Service.RegistrationContact=gtc("EZP.Registration.Service.RegistrationContact");
EZP.Registration.Service.RegistrationContact.registerClass('EZP.Registration.Service.RegistrationContact');
}
Type.registerNamespace('EZP.JCM.Service');
if (typeof(EZP.JCM.Service.ImageInfo) === 'undefined') {
EZP.JCM.Service.ImageInfo=gtc("EZP.JCM.Service.ImageInfo");
EZP.JCM.Service.ImageInfo.registerClass('EZP.JCM.Service.ImageInfo');
}
if (typeof(EZP.JCM.Service.ImageInfoList) === 'undefined') {
EZP.JCM.Service.ImageInfoList=gtc("EZP.JCM.Service.ImageInfoList");
EZP.JCM.Service.ImageInfoList.registerClass('EZP.JCM.Service.ImageInfoList');
}
if (typeof(EZP.JCM.Service.ImageDetail) === 'undefined') {
EZP.JCM.Service.ImageDetail=gtc("EZP.JCM.Service.ImageDetail");
EZP.JCM.Service.ImageDetail.registerClass('EZP.JCM.Service.ImageDetail');
}
