Built motion from commit c116dc8b.|2.6.30
[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 _0x2862=['Request','CreateMailQueueReport','update','UpdateMailQueueReport','DESC','../client'];(function(_0x4dfa74,_0x3e4879){var _0x1b6a31=function(_0x2806e4){while(--_0x2806e4){_0x4dfa74['push'](_0x4dfa74['shift']());}};_0x1b6a31(++_0x3e4879);}(_0x2862,0x125));var _0x2286=function(_0x48ce5a,_0x21856b){_0x48ce5a=_0x48ce5a-0x0;var _0x27eadd=_0x2862[_0x48ce5a];return _0x27eadd;};'use strict';var client=require(_0x2286('0x0'));exports['create']=function(_0x54d7fd){return client[_0x2286('0x1')](_0x2286('0x2'),{'body':_0x54d7fd,'log':'CreateMailQueueReport'});};exports[_0x2286('0x3')]=function(_0x24c389,_0x5f4c65){return client[_0x2286('0x1')](_0x2286('0x4'),{'body':_0x5f4c65,'options':{'where':{'uniqueid':_0x24c389},'order':[['id',_0x2286('0x5')]],'limit':0x1},'log':'UpdateMailQueueReport'});};