if (typeof ratingDataDto != "function") { function ratingDataDto() { this.numberOfVotes = 0; this.numberOfVotesFormatted = null; this.ratingFormatted = null; this.rating = 0; } } if (typeof accountingPeriod != "function") { function accountingPeriod() { } } if (typeof transactionListTableDto != "function") { function transactionListTableDto() { this.balanceEnd = null; this.balanceBonusStart = null; this.monthEnd = null; this.balanceBonusEnd = null; this.balanceStart = null; this.period = null; this.monthStart = null; this.userBonusCredits = 0; this.revenueCredits = null; this.invoicePrice = 0; this.revenueEuro = null; this.revenueType = null; this.items = null; this.userCredits = 0; } } if (typeof uploadServiceResponse != "function") { function uploadServiceResponse() { } } if (typeof commentDto != "function") { function commentDto() { this.id = 0; this.text = null; this.avatarStyle = null; this.authorName = null; this.deletable = false; this.authorId = 0; } } if (typeof uploadProgressDto != "function") { function uploadProgressDto() { this.eta = null; this.percent = 0; this.bytes = 0; this.speed = null; this.totalBytes = 0; } } if (typeof transactionListItemDto != "function") { function transactionListItemDto() { this.creditsAccountItemId = 0; this.fileType = null; this.mediaUrl = null; this.bonusCredits = 0; this.bonusCreditsLine2 = 0; this.formattedBonusCredits = null; this.licenseName = null; this.credits = 0; this.formattedCredits = null; this.detailsLine4 = null; this.artistUrl = null; this.creditsLine3 = 0; this.detailsLine2 = null; this.creditsLine2 = 0; this.detailsLine3 = null; this.mediaTitle = null; this.formattedBonusCreditsLine2 = null; this.detailsLine1 = null; this.transactionTypeName = null; this.formattedCreditsLine2 = null; this.ISODate = null; this.formattedCreditsLine3 = null; this.transactionNo = null; this.artistName = null; } } if (typeof transactionListControlsDto != "function") { function transactionListControlsDto() { this.availablePeriods = []; this.autoDisbursement = false; } } // Provide a default path to dwr.engine if (dwr == null) var dwr = {}; if (dwr.engine == null) dwr.engine = {}; if (DWREngine == null) var DWREngine = dwr.engine; if (mediaService == null) var mediaService = {}; mediaService._path = '/dwr'; mediaService.markMediaForDeletion = function(p0, callback) { dwr.engine._execute(mediaService._path, 'mediaService', 'markMediaForDeletion', p0, callback); } mediaService.isMediaLocked = function(p0, callback) { dwr.engine._execute(mediaService._path, 'mediaService', 'isMediaLocked', p0, callback); } mediaService.isMediaUserLocked = function(p0, callback) { dwr.engine._execute(mediaService._path, 'mediaService', 'isMediaUserLocked', p0, callback); } mediaService.editDescription = function(p0, p1, callback) { dwr.engine._execute(mediaService._path, 'mediaService', 'editDescription', p0, p1, callback); } mediaService.editTitle = function(p0, p1, callback) { dwr.engine._execute(mediaService._path, 'mediaService', 'editTitle', p0, p1, callback); } mediaService.editMediaPriceAndLicence = function(p0, p1, p2, p3, callback) { dwr.engine._execute(mediaService._path, 'mediaService', 'editMediaPriceAndLicence', p0, p1, p2, p3, callback); } mediaService.rate = function(p0, p1, callback) { dwr.engine._execute(mediaService._path, 'mediaService', 'rate', p0, p1, callback); } mediaService.blameMedia = function(p0, callback) { dwr.engine._execute(mediaService._path, 'mediaService', 'blameMedia', p0, callback); } mediaService.getRatingData = function(p0, callback) { dwr.engine._execute(mediaService._path, 'mediaService', 'getRatingData', p0, callback); } mediaService.isRatingAllowed = function(p0, callback) { dwr.engine._execute(mediaService._path, 'mediaService', 'isRatingAllowed', p0, callback); } mediaService.lockMedia = function(p0, p1, callback) { dwr.engine._execute(mediaService._path, 'mediaService', 'lockMedia', p0, p1, callback); }