3d1374a5d1ab148c871858ae6ddbff1d870fef13
[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 _0x6631=['CreateMailQueueReport','update','Request','DESC','UpdateMailQueueReport','../client','create'];(function(_0x50e39e,_0x31b583){var _0x42797d=function(_0x322e9a){while(--_0x322e9a){_0x50e39e['push'](_0x50e39e['shift']());}};_0x42797d(++_0x31b583);}(_0x6631,0x147));var _0x1663=function(_0xbdc56,_0x2ab855){_0xbdc56=_0xbdc56-0x0;var _0x254d02=_0x6631[_0xbdc56];return _0x254d02;};'use strict';var client=require(_0x1663('0x0'));exports[_0x1663('0x1')]=function(_0x44057d){return client['Request'](_0x1663('0x2'),{'body':_0x44057d,'log':'CreateMailQueueReport'});};exports[_0x1663('0x3')]=function(_0x25a6ee,_0x5f2e3b){return client[_0x1663('0x4')]('UpdateMailQueueReport',{'body':_0x5f2e3b,'options':{'where':{'uniqueid':_0x25a6ee},'order':[['id',_0x1663('0x5')]],'limit':0x1},'log':_0x1663('0x6')});};