702f864bfa8c0ef13c4da3d5b1b8164bc1298e89
[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 _0xcfa3=['DESC','../client','create','Request','CreateMailQueueReport','update','UpdateMailQueueReport'];(function(_0x5b561d,_0x422b7c){var _0x431060=function(_0x401409){while(--_0x401409){_0x5b561d['push'](_0x5b561d['shift']());}};_0x431060(++_0x422b7c);}(_0xcfa3,0x112));var _0x3cfa=function(_0x219297,_0x32b851){_0x219297=_0x219297-0x0;var _0x1a1a85=_0xcfa3[_0x219297];return _0x1a1a85;};'use strict';var client=require(_0x3cfa('0x0'));exports[_0x3cfa('0x1')]=function(_0x2e1989){return client[_0x3cfa('0x2')]('CreateMailQueueReport',{'body':_0x2e1989,'log':_0x3cfa('0x3')});};exports[_0x3cfa('0x4')]=function(_0x2bd33c,_0x56300d){return client[_0x3cfa('0x2')](_0x3cfa('0x5'),{'body':_0x56300d,'options':{'where':{'uniqueid':_0x2bd33c},'order':[['id',_0x3cfa('0x6')]],'limit':0x1},'log':_0x3cfa('0x5')});};