Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / services / routing / rpc / faxQueueReport.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 _0x6bcc=['../client','create','Request','CreateFaxQueueReport','UpdateFaxQueueReport','DESC'];(function(_0x86e39a,_0x351af4){var _0x43de19=function(_0x4c18e5){while(--_0x4c18e5){_0x86e39a['push'](_0x86e39a['shift']());}};_0x43de19(++_0x351af4);}(_0x6bcc,0x120));var _0xc6bc=function(_0x65b71a,_0x5f06ce){_0x65b71a=_0x65b71a-0x0;var _0x19084d=_0x6bcc[_0x65b71a];return _0x19084d;};'use strict';var client=require(_0xc6bc('0x0'));exports[_0xc6bc('0x1')]=function(_0xe24202){return client[_0xc6bc('0x2')](_0xc6bc('0x3'),{'body':_0xe24202,'log':_0xc6bc('0x3')});};exports['update']=function(_0x25c383,_0x523b03){return client[_0xc6bc('0x2')](_0xc6bc('0x4'),{'body':_0x523b03,'options':{'where':{'uniqueid':_0x25c383},'order':[['id',_0xc6bc('0x5')]],'limit':0x1},'log':_0xc6bc('0x4')});};