6d1f587d21bb7807ca55809cb4c73bd65079e810
[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 _0x800f=['Request','update','DESC','../client'];(function(_0x4243a3,_0x447337){var _0x1b2a33=function(_0x6a8200){while(--_0x6a8200){_0x4243a3['push'](_0x4243a3['shift']());}};_0x1b2a33(++_0x447337);}(_0x800f,0x14b));var _0xf800=function(_0x22bff6,_0xbe3f3f){_0x22bff6=_0x22bff6-0x0;var _0x353367=_0x800f[_0x22bff6];return _0x353367;};'use strict';var client=require(_0xf800('0x0'));exports['create']=function(_0x23a083){return client[_0xf800('0x1')]('CreateMailQueueReport',{'body':_0x23a083,'log':'CreateMailQueueReport'});};exports[_0xf800('0x2')]=function(_0x239878,_0x37897f){return client[_0xf800('0x1')]('UpdateMailQueueReport',{'body':_0x37897f,'options':{'where':{'uniqueid':_0x239878},'order':[['id',_0xf800('0x3')]],'limit':0x1},'log':'UpdateMailQueueReport'});};