Built motion from commit (unavailable).|2.5.4
[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 _0x4b8f=['CreateMailQueueReport','update','UpdateMailQueueReport','DESC','../client','create','Request'];(function(_0x45697c,_0xc1fba2){var _0x53b003=function(_0x1778a1){while(--_0x1778a1){_0x45697c['push'](_0x45697c['shift']());}};_0x53b003(++_0xc1fba2);}(_0x4b8f,0x12a));var _0xf4b8=function(_0x4327c9,_0x274734){_0x4327c9=_0x4327c9-0x0;var _0x35881b=_0x4b8f[_0x4327c9];return _0x35881b;};'use strict';var client=require(_0xf4b8('0x0'));exports[_0xf4b8('0x1')]=function(_0x28b931){return client[_0xf4b8('0x2')](_0xf4b8('0x3'),{'body':_0x28b931,'log':_0xf4b8('0x3')});};exports[_0xf4b8('0x4')]=function(_0x49a570,_0x31a074){return client[_0xf4b8('0x2')](_0xf4b8('0x5'),{'body':_0x31a074,'options':{'where':{'uniqueid':_0x49a570},'order':[['id',_0xf4b8('0x6')]],'limit':0x1},'log':_0xf4b8('0x5')});};