Built motion from commit (unavailable).|2.4.10
[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 _0x20d8=['Request','CreateMailQueueReport','update','UpdateMailQueueReport','create'];(function(_0x1767ad,_0x199e47){var _0x3e7cef=function(_0x508f3e){while(--_0x508f3e){_0x1767ad['push'](_0x1767ad['shift']());}};_0x3e7cef(++_0x199e47);}(_0x20d8,0x135));var _0x820d=function(_0x5c1d96,_0x167122){_0x5c1d96=_0x5c1d96-0x0;var _0x3dbec4=_0x20d8[_0x5c1d96];return _0x3dbec4;};'use strict';var client=require('../client');exports[_0x820d('0x0')]=function(_0x2a69bc){return client[_0x820d('0x1')](_0x820d('0x2'),{'body':_0x2a69bc,'log':'CreateMailQueueReport'});};exports[_0x820d('0x3')]=function(_0x2e48ec,_0x4e6f32){return client[_0x820d('0x1')](_0x820d('0x4'),{'body':_0x4e6f32,'options':{'where':{'uniqueid':_0x2e48ec},'order':[['id','DESC']],'limit':0x1},'log':_0x820d('0x4')});};