Type.registerNamespace('EZP.Api.Presentation.Web.Ajax');
EZP.Api.Presentation.Web.Ajax.DPP=function() {
EZP.Api.Presentation.Web.Ajax.DPP.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
EZP.Api.Presentation.Web.Ajax.DPP.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.get_path();},
sharePhotos:function(Token,Addresses,From,Subj,Message,WebSite,Brand,category,album,imagePreview,emailType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'sharePhotos',false,{Token:Token,Addresses:Addresses,From:From,Subj:Subj,Message:Message,WebSite:WebSite,Brand:Brand,category:category,album:album,imagePreview:imagePreview,emailType:emailType},succeededCallback,failedCallback,userContext); },
notifyPasswordReset:function(Token,Website,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'notifyPasswordReset',false,{Token:Token,Website:Website},succeededCallback,failedCallback,userContext); },
getGuestOrderHistory:function(Token,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getGuestOrderHistory',false,{Token:Token},succeededCallback,failedCallback,userContext); },
track:function(userTrack,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'track',false,{userTrack:userTrack},succeededCallback,failedCallback,userContext); },
getOrderHistory:function(Token,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getOrderHistory',false,{Token:Token},succeededCallback,failedCallback,userContext); },
getOrder:function(Token,OrderID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getOrder',false,{Token:Token,OrderID:OrderID},succeededCallback,failedCallback,userContext); },
PendingDownloadsForToken:function(Token,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PendingDownloadsForToken',false,{Token:Token},succeededCallback,failedCallback,userContext); },
getAd:function(siteID,locID,adClass,launch,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getAd',false,{siteID:siteID,locID:locID,adClass:adClass,launch:launch},succeededCallback,failedCallback,userContext); },
getAdAff:function(siteID,locID,adClass,launch,affinity,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getAdAff',false,{siteID:siteID,locID:locID,adClass:adClass,launch:launch,affinity:affinity},succeededCallback,failedCallback,userContext); },
getAdAffAcct:function(siteID,locID,adClass,launch,affinity,accountId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getAdAffAcct',false,{siteID:siteID,locID:locID,adClass:adClass,launch:launch,affinity:affinity,accountId:accountId},succeededCallback,failedCallback,userContext); },
getUCAff:function(siteID,locID,adClass,launch,affinity,title,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getUCAff',false,{siteID:siteID,locID:locID,adClass:adClass,launch:launch,affinity:affinity,title:title},succeededCallback,failedCallback,userContext); },
getUCAffRules:function(siteID,locID,adClass,launch,affinity,title,rules,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getUCAffRules',false,{siteID:siteID,locID:locID,adClass:adClass,launch:launch,affinity:affinity,title:title,rules:rules},succeededCallback,failedCallback,userContext); },
getUCAffRulesFlash:function(siteID,locID,adClass,launch,affinity,title,rules,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getUCAffRulesFlash',false,{siteID:siteID,locID:locID,adClass:adClass,launch:launch,affinity:affinity,title:title,rules:rules},succeededCallback,failedCallback,userContext); },
getAdTextAff:function(siteID,locID,adClass,launch,affinity,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getAdTextAff',false,{siteID:siteID,locID:locID,adClass:adClass,launch:launch,affinity:affinity},succeededCallback,failedCallback,userContext); },
DisplayInventoryItems:function(siteID,locID,adClass,launch,affinity,title,genRule,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DisplayInventoryItems',false,{siteID:siteID,locID:locID,adClass:adClass,launch:launch,affinity:affinity,title:title,genRule:genRule},succeededCallback,failedCallback,userContext); },
checkWords:function(testWords,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'checkWords',false,{testWords:testWords},succeededCallback,failedCallback,userContext); },
getPopover:function(TileId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getPopover',false,{TileId:TileId},succeededCallback,failedCallback,userContext); },
DisplayProductQuilt:function(siteID,locID,adClass,launch,affinity,title,genRule,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DisplayProductQuilt',false,{siteID:siteID,locID:locID,adClass:adClass,launch:launch,affinity:affinity,title:title,genRule:genRule},succeededCallback,failedCallback,userContext); }}
EZP.Api.Presentation.Web.Ajax.DPP.registerClass('EZP.Api.Presentation.Web.Ajax.DPP',Sys.Net.WebServiceProxy);
EZP.Api.Presentation.Web.Ajax.DPP._staticInstance = new EZP.Api.Presentation.Web.Ajax.DPP();
EZP.Api.Presentation.Web.Ajax.DPP.set_path = function(value) { EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.set_path(value); }
EZP.Api.Presentation.Web.Ajax.DPP.get_path = function() { return EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.get_path(); }
EZP.Api.Presentation.Web.Ajax.DPP.set_timeout = function(value) { EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.set_timeout(value); }
EZP.Api.Presentation.Web.Ajax.DPP.get_timeout = function() { return EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.get_timeout(); }
EZP.Api.Presentation.Web.Ajax.DPP.set_defaultUserContext = function(value) { EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.set_defaultUserContext(value); }
EZP.Api.Presentation.Web.Ajax.DPP.get_defaultUserContext = function() { return EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.get_defaultUserContext(); }
EZP.Api.Presentation.Web.Ajax.DPP.set_defaultSucceededCallback = function(value) { EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.set_defaultSucceededCallback(value); }
EZP.Api.Presentation.Web.Ajax.DPP.get_defaultSucceededCallback = function() { return EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.get_defaultSucceededCallback(); }
EZP.Api.Presentation.Web.Ajax.DPP.set_defaultFailedCallback = function(value) { EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.set_defaultFailedCallback(value); }
EZP.Api.Presentation.Web.Ajax.DPP.get_defaultFailedCallback = function() { return EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.get_defaultFailedCallback(); }
EZP.Api.Presentation.Web.Ajax.DPP.set_path("/API/Ajax/DPP.asmx");
EZP.Api.Presentation.Web.Ajax.DPP.sharePhotos= function(Token,Addresses,From,Subj,Message,WebSite,Brand,category,album,imagePreview,emailType,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.sharePhotos(Token,Addresses,From,Subj,Message,WebSite,Brand,category,album,imagePreview,emailType,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.notifyPasswordReset= function(Token,Website,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.notifyPasswordReset(Token,Website,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.getGuestOrderHistory= function(Token,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.getGuestOrderHistory(Token,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.track= function(userTrack,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.track(userTrack,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.getOrderHistory= function(Token,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.getOrderHistory(Token,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.getOrder= function(Token,OrderID,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.getOrder(Token,OrderID,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.PendingDownloadsForToken= function(Token,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.PendingDownloadsForToken(Token,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.getAd= function(siteID,locID,adClass,launch,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.getAd(siteID,locID,adClass,launch,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.getAdAff= function(siteID,locID,adClass,launch,affinity,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.getAdAff(siteID,locID,adClass,launch,affinity,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.getAdAffAcct= function(siteID,locID,adClass,launch,affinity,accountId,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.getAdAffAcct(siteID,locID,adClass,launch,affinity,accountId,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.getUCAff= function(siteID,locID,adClass,launch,affinity,title,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.getUCAff(siteID,locID,adClass,launch,affinity,title,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.getUCAffRules= function(siteID,locID,adClass,launch,affinity,title,rules,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.getUCAffRules(siteID,locID,adClass,launch,affinity,title,rules,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.getUCAffRulesFlash= function(siteID,locID,adClass,launch,affinity,title,rules,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.getUCAffRulesFlash(siteID,locID,adClass,launch,affinity,title,rules,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.getAdTextAff= function(siteID,locID,adClass,launch,affinity,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.getAdTextAff(siteID,locID,adClass,launch,affinity,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.DisplayInventoryItems= function(siteID,locID,adClass,launch,affinity,title,genRule,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.DisplayInventoryItems(siteID,locID,adClass,launch,affinity,title,genRule,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.checkWords= function(testWords,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.checkWords(testWords,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.getPopover= function(TileId,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.getPopover(TileId,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.DPP.DisplayProductQuilt= function(siteID,locID,adClass,launch,affinity,title,genRule,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.DPP._staticInstance.DisplayProductQuilt(siteID,locID,adClass,launch,affinity,title,genRule,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('EZP.DPP.Business.Orders');
if (typeof(EZP.DPP.Business.Orders.DPPOrderHistory) === 'undefined') {
EZP.DPP.Business.Orders.DPPOrderHistory=gtc("EZP.DPP.Business.Orders.DPPOrderHistory");
EZP.DPP.Business.Orders.DPPOrderHistory.registerClass('EZP.DPP.Business.Orders.DPPOrderHistory');
}
Type.registerNamespace('EZP.Tracking');
if (typeof(EZP.Tracking.DataStat) === 'undefined') {
EZP.Tracking.DataStat=gtc("EZP.Tracking.DataStat");
EZP.Tracking.DataStat.registerClass('EZP.Tracking.DataStat');
}
Type.registerNamespace('EZP.DPP.Dto');
if (typeof(EZP.DPP.Dto.AccountOrderHistory) === 'undefined') {
EZP.DPP.Dto.AccountOrderHistory=gtc("EZP.DPP.Dto.AccountOrderHistory");
EZP.DPP.Dto.AccountOrderHistory.registerClass('EZP.DPP.Dto.AccountOrderHistory');
}
Type.registerNamespace('EZP.eCommerce');
if (typeof(EZP.eCommerce.ShoppingCart) === 'undefined') {
EZP.eCommerce.ShoppingCart=gtc("EZP.eCommerce.ShoppingCart");
EZP.eCommerce.ShoppingCart.registerClass('EZP.eCommerce.ShoppingCart');
}
Type.registerNamespace('EZP.DigitalDownload');
if (typeof(EZP.DigitalDownload.InstantDigitalDownload) === 'undefined') {
EZP.DigitalDownload.InstantDigitalDownload=gtc("EZP.DigitalDownload.InstantDigitalDownload");
EZP.DigitalDownload.InstantDigitalDownload.registerClass('EZP.DigitalDownload.InstantDigitalDownload');
}
if (typeof(EZP.DPP.Dto.PromoDisplay) === 'undefined') {
EZP.DPP.Dto.PromoDisplay=gtc("EZP.DPP.Dto.PromoDisplay");
EZP.DPP.Dto.PromoDisplay.registerClass('EZP.DPP.Dto.PromoDisplay');
}
