759d19ae67e179a9d53d37479ec21176326f707d
[motion2.git] / server / services / routing / rpc / mailQueueReport.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xeb5a=['CreateMailQueueReport','update','Request','UpdateMailQueueReport','DESC','../client','create'];(function(_0x4d740a,_0x15ac78){var _0x207e46=function(_0x2f5bd3){while(--_0x2f5bd3){_0x4d740a['push'](_0x4d740a['shift']());}};_0x207e46(++_0x15ac78);}(_0xeb5a,0x9f));var _0xaeb5=function(_0x37f763,_0x1cb388){_0x37f763=_0x37f763-0x0;var _0x3bedd2=_0xeb5a[_0x37f763];return _0x3bedd2;};'use strict';var client=require(_0xaeb5('0x0'));exports[_0xaeb5('0x1')]=function(_0x3588a3){return client['Request'](_0xaeb5('0x2'),{'body':_0x3588a3,'log':_0xaeb5('0x2')});};exports[_0xaeb5('0x3')]=function(_0x25a5af,_0x4f3e90){return client[_0xaeb5('0x4')](_0xaeb5('0x5'),{'body':_0x4f3e90,'options':{'where':{'uniqueid':_0x25a5af},'order':[['id',_0xaeb5('0x6')]],'limit':0x1},'log':_0xaeb5('0x5')});};