Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated methods and fields #389

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove deprecated main service methods
  • Loading branch information
ZIMkaRU committed Aug 5, 2024
commit 6dbb0b62f0f636d8ab0ce832c9d0e8da0f8568ee
115 changes: 0 additions & 115 deletions workers/loc.api/service.report.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,11 +678,6 @@ class ReportService extends Api {
}, 'getWeightedAveragesReport', args, cb)
}

/**
* @deprecated
*/
getMultipleCsv (...args) { return this.getMultipleFile(...args) }

getMultipleFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -692,11 +687,6 @@ class ReportService extends Api {
}, 'getMultipleFile', args, cb)
}

/**
* @deprecated
*/
getTradesCsv (...args) { return this.getTradesFile(...args) }

getTradesFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -706,11 +696,6 @@ class ReportService extends Api {
}, 'getTradesFile', args, cb)
}

/**
* @deprecated
*/
getFundingTradesCsv (...args) { return this.getFundingTradesFile(...args) }

getFundingTradesFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -720,11 +705,6 @@ class ReportService extends Api {
}, 'getFundingTradesFile', args, cb)
}

/**
* @deprecated
*/
getTickersHistoryCsv (...args) { return this.getTickersHistoryFile(...args) }

getTickersHistoryFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -734,11 +714,6 @@ class ReportService extends Api {
}, 'getTickersHistoryFile', args, cb)
}

/**
* @deprecated
*/
getWalletsCsv (...args) { return this.getWalletsFile(...args) }

getWalletsFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -748,11 +723,6 @@ class ReportService extends Api {
}, 'getWalletsFile', args, cb)
}

/**
* @deprecated
*/
getPositionsHistoryCsv (...args) { return this.getPositionsHistoryFile(...args) }

getPositionsHistoryFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -762,11 +732,6 @@ class ReportService extends Api {
}, 'getPositionsHistoryFile', args, cb)
}

/**
* @deprecated
*/
getActivePositionsCsv (...args) { return this.getActivePositionsFile(...args) }

getActivePositionsFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -776,11 +741,6 @@ class ReportService extends Api {
}, 'getActivePositionsFile', args, cb)
}

/**
* @deprecated
*/
getPositionsAuditCsv (...args) { return this.getPositionsAuditFile(...args) }

getPositionsAuditFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -790,11 +750,6 @@ class ReportService extends Api {
}, 'getPositionsAuditFile', args, cb)
}

/**
* @deprecated
*/
getPublicTradesCsv (...args) { return this.getPublicTradesFile(...args) }

getPublicTradesFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -804,11 +759,6 @@ class ReportService extends Api {
}, 'getPublicTradesFile', args, cb)
}

/**
* @deprecated
*/
getStatusMessagesCsv (...args) { return this.getStatusMessagesFile(...args) }

getStatusMessagesFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -818,11 +768,6 @@ class ReportService extends Api {
}, 'getStatusMessagesFile', args, cb)
}

/**
* @deprecated
*/
getCandlesCsv (...args) { return this.getCandlesFile(...args) }

getCandlesFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -832,11 +777,6 @@ class ReportService extends Api {
}, 'getCandlesFile', args, cb)
}

/**
* @deprecated
*/
getLedgersCsv (...args) { return this.getLedgersFile(...args) }

getLedgersFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -846,11 +786,6 @@ class ReportService extends Api {
}, 'getLedgersFile', args, cb)
}

/**
* @deprecated
*/
getPayInvoiceListCsv (...args) { return this.getPayInvoiceListFile(...args) }

getPayInvoiceListFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -860,11 +795,6 @@ class ReportService extends Api {
}, 'getPayInvoiceListFile', args, cb)
}

/**
* @deprecated
*/
getOrderTradesCsv (...args) { return this.getOrderTradesFile(...args) }

getOrderTradesFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -874,11 +804,6 @@ class ReportService extends Api {
}, 'getOrderTradesFile', args, cb)
}

/**
* @deprecated
*/
getOrdersCsv (...args) { return this.getOrdersFile(...args) }

getOrdersFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -888,11 +813,6 @@ class ReportService extends Api {
}, 'getOrdersFile', args, cb)
}

/**
* @deprecated
*/
getActiveOrdersCsv (...args) { return this.getActiveOrdersFile(...args) }

getActiveOrdersFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -902,11 +822,6 @@ class ReportService extends Api {
}, 'getActiveOrdersFile', args, cb)
}

/**
* @deprecated
*/
getMovementsCsv (...args) { return this.getMovementsFile(...args) }

getMovementsFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -916,11 +831,6 @@ class ReportService extends Api {
}, 'getMovementsFile', args, cb)
}

/**
* @deprecated
*/
getFundingOfferHistoryCsv (...args) { return this.getFundingOfferHistoryFile(...args) }

getFundingOfferHistoryFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -930,11 +840,6 @@ class ReportService extends Api {
}, 'getFundingOfferHistoryFile', args, cb)
}

/**
* @deprecated
*/
getFundingLoanHistoryCsv (...args) { return this.getFundingLoanHistoryFile(...args) }

getFundingLoanHistoryFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -944,11 +849,6 @@ class ReportService extends Api {
}, 'getFundingLoanHistoryFile', args, cb)
}

/**
* @deprecated
*/
getFundingCreditHistoryCsv (...args) { return this.getFundingCreditHistoryFile(...args) }

getFundingCreditHistoryFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -958,11 +858,6 @@ class ReportService extends Api {
}, 'getFundingCreditHistoryFile', args, cb)
}

/**
* @deprecated
*/
getLoginsCsv (...args) { return this.getLoginsFile(...args) }

getLoginsFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -972,11 +867,6 @@ class ReportService extends Api {
}, 'getLoginsFile', args, cb)
}

/**
* @deprecated
*/
getChangeLogsCsv (...args) { return this.getChangeLogsFile(...args) }

getChangeLogsFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand All @@ -986,11 +876,6 @@ class ReportService extends Api {
}, 'getChangeLogsFile', args, cb)
}

/**
* @deprecated
*/
getWeightedAveragesReportCsv (...args) { return this.getWeightedAveragesReportFile(...args) }

getWeightedAveragesReportFile (space, args, cb) {
return this._responder(() => {
return this._generateReportFile(
Expand Down