bc830924b9c0d9e9337243b82d866faa52d873e4
[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 _0x090e=['update','UpdateMailQueueReport','DESC','../client','create','Request'];(function(_0x4fbb3e,_0x55785f){var _0x1eb197=function(_0xfda25){while(--_0xfda25){_0x4fbb3e['push'](_0x4fbb3e['shift']());}};_0x1eb197(++_0x55785f);}(_0x090e,0x7b));var _0xe090=function(_0x32f9ca,_0x2fa8bc){_0x32f9ca=_0x32f9ca-0x0;var _0x52e083=_0x090e[_0x32f9ca];return _0x52e083;};'use strict';var client=require(_0xe090('0x0'));exports[_0xe090('0x1')]=function(_0x30058c){return client[_0xe090('0x2')]('CreateMailQueueReport',{'body':_0x30058c,'log':'CreateMailQueueReport'});};exports[_0xe090('0x3')]=function(_0x5c44b2,_0x3d68ed){return client[_0xe090('0x2')](_0xe090('0x4'),{'body':_0x3d68ed,'options':{'where':{'uniqueid':_0x5c44b2},'order':[['id',_0xe090('0x5')]],'limit':0x1},'log':_0xe090('0x4')});};