Built motion from commit (unavailable).|2.5.1
[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 _0x0dc9=['create','Request','CreateMailQueueReport','update','UpdateMailQueueReport'];(function(_0x50174b,_0x1b9259){var _0x245090=function(_0xa9d811){while(--_0xa9d811){_0x50174b['push'](_0x50174b['shift']());}};_0x245090(++_0x1b9259);}(_0x0dc9,0x1c7));var _0x90dc=function(_0x266b0c,_0x4fb269){_0x266b0c=_0x266b0c-0x0;var _0xd1bfa7=_0x0dc9[_0x266b0c];return _0xd1bfa7;};'use strict';var client=require('../client');exports[_0x90dc('0x0')]=function(_0x3dfac6){return client[_0x90dc('0x1')](_0x90dc('0x2'),{'body':_0x3dfac6,'log':_0x90dc('0x2')});};exports[_0x90dc('0x3')]=function(_0x28e14a,_0x5ddb80){return client[_0x90dc('0x1')]('UpdateMailQueueReport',{'body':_0x5ddb80,'options':{'where':{'uniqueid':_0x28e14a},'order':[['id','DESC']],'limit':0x1},'log':_0x90dc('0x4')});};