bee68fe30f4aee2f5a1148ca0c72f14bce5080b3
[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 _0x315a=['UpdateMailQueueReport','DESC','../client','create','CreateMailQueueReport','update','Request'];(function(_0x5207d8,_0x3fadf1){var _0x5d39e3=function(_0x7f1b20){while(--_0x7f1b20){_0x5207d8['push'](_0x5207d8['shift']());}};_0x5d39e3(++_0x3fadf1);}(_0x315a,0x10c));var _0xa315=function(_0x13cf5e,_0x216f0b){_0x13cf5e=_0x13cf5e-0x0;var _0xb26f15=_0x315a[_0x13cf5e];return _0xb26f15;};'use strict';var client=require(_0xa315('0x0'));exports[_0xa315('0x1')]=function(_0x2ad2f6){return client['Request'](_0xa315('0x2'),{'body':_0x2ad2f6,'log':'CreateMailQueueReport'});};exports[_0xa315('0x3')]=function(_0x43acf8,_0x82943){return client[_0xa315('0x4')](_0xa315('0x5'),{'body':_0x82943,'options':{'where':{'uniqueid':_0x43acf8},'order':[['id',_0xa315('0x6')]],'limit':0x1},'log':_0xa315('0x5')});};