New inbox client (#10644)

* new inbox client

* add tests for sendPrivateMessage returning the message

* update DELETE user message tests

* port v3 GET-inbox_messages

* use v4 delete message route

* sendPrivateMessage: return sent message

* fix
This commit is contained in:
Matteo Pagliazzi
2018-08-30 21:50:03 +02:00
committed by Sabe Jones
parent 64507a161e
commit 84329e5fad
14 changed files with 287 additions and 99 deletions

View File

@@ -22,4 +22,6 @@ module.exports = {
missingCustomerId: 'Missing "req.query.customerId"',
missingPaypalBlock: 'Missing "req.session.paypalBlock"',
missingSubKey: 'Missing "req.query.sub"',
messageIdRequired: '\"messageId\" must be a valid UUID.",',
};