44d800af24a79c1bf0b68dd374ff331f468f7949
[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 _0xdd7a=['UpdateMailQueueReport','DESC','Request','CreateMailQueueReport','update'];(function(_0x49a449,_0x1a86f6){var _0xf699cb=function(_0x1425cb){while(--_0x1425cb){_0x49a449['push'](_0x49a449['shift']());}};_0xf699cb(++_0x1a86f6);}(_0xdd7a,0x8e));var _0xadd7=function(_0x5ea19d,_0x3b8a9f){_0x5ea19d=_0x5ea19d-0x0;var _0x2d371e=_0xdd7a[_0x5ea19d];return _0x2d371e;};'use strict';var client=require('../client');exports['create']=function(_0xeccdd9){return client[_0xadd7('0x0')](_0xadd7('0x1'),{'body':_0xeccdd9,'log':_0xadd7('0x1')});};exports[_0xadd7('0x2')]=function(_0x1bd8b9,_0x577db1){return client['Request'](_0xadd7('0x3'),{'body':_0x577db1,'options':{'where':{'uniqueid':_0x1bd8b9},'order':[['id',_0xadd7('0x4')]],'limit':0x1},'log':_0xadd7('0x3')});};