5a88730d56e32ca4f146cbfadb824b365827f49b
[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 _0xf121=['UpdateMailQueueReport','DESC','../client','create','Request','CreateMailQueueReport','update'];(function(_0x4e5fd9,_0x566e6f){var _0x7d2d47=function(_0x468a38){while(--_0x468a38){_0x4e5fd9['push'](_0x4e5fd9['shift']());}};_0x7d2d47(++_0x566e6f);}(_0xf121,0xe9));var _0x1f12=function(_0x21d6e5,_0x38f9cd){_0x21d6e5=_0x21d6e5-0x0;var _0x66a736=_0xf121[_0x21d6e5];return _0x66a736;};'use strict';var client=require(_0x1f12('0x0'));exports[_0x1f12('0x1')]=function(_0x295fdb){return client[_0x1f12('0x2')](_0x1f12('0x3'),{'body':_0x295fdb,'log':'CreateMailQueueReport'});};exports[_0x1f12('0x4')]=function(_0x2bbb83,_0x194348){return client[_0x1f12('0x2')](_0x1f12('0x5'),{'body':_0x194348,'options':{'where':{'uniqueid':_0x2bbb83},'order':[['id',_0x1f12('0x6')]],'limit':0x1},'log':_0x1f12('0x5')});};