Built motion from commit (unavailable).|2.5.29
[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 _0x2b29=['Request','CreateMailQueueReport','UpdateMailQueueReport','create'];(function(_0x5e0888,_0xa047d5){var _0x4ce73a=function(_0x5aa3bc){while(--_0x5aa3bc){_0x5e0888['push'](_0x5e0888['shift']());}};_0x4ce73a(++_0xa047d5);}(_0x2b29,0x1b7));var _0x92b2=function(_0x4dd5f8,_0x59a983){_0x4dd5f8=_0x4dd5f8-0x0;var _0x74e7e7=_0x2b29[_0x4dd5f8];return _0x74e7e7;};'use strict';var client=require('../client');exports[_0x92b2('0x0')]=function(_0x41bb9d){return client[_0x92b2('0x1')](_0x92b2('0x2'),{'body':_0x41bb9d,'log':_0x92b2('0x2')});};exports['update']=function(_0x4ae555,_0x5c273e){return client['Request']('UpdateMailQueueReport',{'body':_0x5c273e,'options':{'where':{'uniqueid':_0x4ae555},'order':[['id','DESC']],'limit':0x1},'log':_0x92b2('0x3')});};