eab0fb8c4dc8058258e58363899aa47cc7b50b98
[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 _0x3fef=['UpdateMailQueueReport','create','Request','CreateMailQueueReport','update'];(function(_0x3dc68d,_0x1c1951){var _0xdf7f94=function(_0x339428){while(--_0x339428){_0x3dc68d['push'](_0x3dc68d['shift']());}};_0xdf7f94(++_0x1c1951);}(_0x3fef,0x132));var _0xf3fe=function(_0x1b62b5,_0x7ae1f){_0x1b62b5=_0x1b62b5-0x0;var _0x30e905=_0x3fef[_0x1b62b5];return _0x30e905;};'use strict';var client=require('../client');exports[_0xf3fe('0x0')]=function(_0x2b1f40){return client[_0xf3fe('0x1')](_0xf3fe('0x2'),{'body':_0x2b1f40,'log':'CreateMailQueueReport'});};exports[_0xf3fe('0x3')]=function(_0x54a005,_0x3a1d79){return client['Request'](_0xf3fe('0x4'),{'body':_0x3a1d79,'options':{'where':{'uniqueid':_0x54a005},'order':[['id','DESC']],'limit':0x1},'log':'UpdateMailQueueReport'});};