6d984663a8fc3a3110cbf597109a92172a4e71db
[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 _0xf245=['Request','update','UpdateMailQueueReport','DESC','../client','create'];(function(_0x2a2f15,_0x483226){var _0x269f5b=function(_0xddf64b){while(--_0xddf64b){_0x2a2f15['push'](_0x2a2f15['shift']());}};_0x269f5b(++_0x483226);}(_0xf245,0x10c));var _0x5f24=function(_0xb8cfbe,_0x2e81b6){_0xb8cfbe=_0xb8cfbe-0x0;var _0x227d51=_0xf245[_0xb8cfbe];return _0x227d51;};'use strict';var client=require(_0x5f24('0x0'));exports[_0x5f24('0x1')]=function(_0x49d0f0){return client[_0x5f24('0x2')]('CreateMailQueueReport',{'body':_0x49d0f0,'log':'CreateMailQueueReport'});};exports[_0x5f24('0x3')]=function(_0x1c460f,_0x55af1b){return client['Request'](_0x5f24('0x4'),{'body':_0x55af1b,'options':{'where':{'uniqueid':_0x1c460f},'order':[['id',_0x5f24('0x5')]],'limit':0x1},'log':_0x5f24('0x4')});};