418e85b839969275dd187331eb0a755551300baf
[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 _0x6302=['../client','create','CreateFaxQueueReport','UpdateFaxQueueReport'];(function(_0x12f4af,_0x4a2bb9){var _0x4c4d50=function(_0x25a7f7){while(--_0x25a7f7){_0x12f4af['push'](_0x12f4af['shift']());}};_0x4c4d50(++_0x4a2bb9);}(_0x6302,0x6c));var _0x2630=function(_0x21e690,_0x22892d){_0x21e690=_0x21e690-0x0;var _0x2b9764=_0x6302[_0x21e690];return _0x2b9764;};'use strict';var client=require(_0x2630('0x0'));exports[_0x2630('0x1')]=function(_0x4ee2b5){return client['Request'](_0x2630('0x2'),{'body':_0x4ee2b5,'log':_0x2630('0x2')});};exports['update']=function(_0x3195ff,_0x16a21b){return client['Request'](_0x2630('0x3'),{'body':_0x16a21b,'options':{'where':{'uniqueid':_0x3195ff},'order':[['id','DESC']],'limit':0x1},'log':_0x2630('0x3')});};