Built motion from commit (unavailable).|2.5.21
[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 _0xa346=['CreateMailQueueReport','update','UpdateMailQueueReport','DESC','../client','Request'];(function(_0x5064a3,_0x5ec65c){var _0x1eade5=function(_0x19ecf7){while(--_0x19ecf7){_0x5064a3['push'](_0x5064a3['shift']());}};_0x1eade5(++_0x5ec65c);}(_0xa346,0x106));var _0x6a34=function(_0x335c8d,_0x2bf22d){_0x335c8d=_0x335c8d-0x0;var _0x45ccb4=_0xa346[_0x335c8d];return _0x45ccb4;};'use strict';var client=require(_0x6a34('0x0'));exports['create']=function(_0x296dc4){return client[_0x6a34('0x1')](_0x6a34('0x2'),{'body':_0x296dc4,'log':'CreateMailQueueReport'});};exports[_0x6a34('0x3')]=function(_0x38bfac,_0x2625ac){return client[_0x6a34('0x1')](_0x6a34('0x4'),{'body':_0x2625ac,'options':{'where':{'uniqueid':_0x38bfac},'order':[['id',_0x6a34('0x5')]],'limit':0x1},'log':_0x6a34('0x4')});};