Built motion from commit 97153652.|2.6.26
[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 _0xcc72=['../client','Request','CreateMailQueueReport','update','DESC'];(function(_0x2f824e,_0xcb6123){var _0x5b691f=function(_0x1775a5){while(--_0x1775a5){_0x2f824e['push'](_0x2f824e['shift']());}};_0x5b691f(++_0xcb6123);}(_0xcc72,0x1bd));var _0x2cc7=function(_0x1bb4b2,_0x4b124a){_0x1bb4b2=_0x1bb4b2-0x0;var _0x174b80=_0xcc72[_0x1bb4b2];return _0x174b80;};'use strict';var client=require(_0x2cc7('0x0'));exports['create']=function(_0x4d8e59){return client[_0x2cc7('0x1')](_0x2cc7('0x2'),{'body':_0x4d8e59,'log':_0x2cc7('0x2')});};exports[_0x2cc7('0x3')]=function(_0x23c554,_0xf6605d){return client[_0x2cc7('0x1')]('UpdateMailQueueReport',{'body':_0xf6605d,'options':{'where':{'uniqueid':_0x23c554},'order':[['id',_0x2cc7('0x4')]],'limit':0x1},'log':'UpdateMailQueueReport'});};