fd5143edc9ee9a8f77e708aab1470bf56fe76d8d
[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 _0xdcdc=['update','UpdateFaxQueueReport','../client','create','Request','CreateFaxQueueReport'];(function(_0x2e0e55,_0x442be0){var _0x5757e9=function(_0x2972d8){while(--_0x2972d8){_0x2e0e55['push'](_0x2e0e55['shift']());}};_0x5757e9(++_0x442be0);}(_0xdcdc,0x8c));var _0xcdcd=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0xdcdc[_0x502c7d];return _0x30b7ed;};'use strict';var client=require(_0xcdcd('0x0'));exports[_0xcdcd('0x1')]=function(_0x33f233){return client[_0xcdcd('0x2')](_0xcdcd('0x3'),{'body':_0x33f233,'log':_0xcdcd('0x3')});};exports[_0xcdcd('0x4')]=function(_0x34d64b,_0x46ab03){return client['Request'](_0xcdcd('0x5'),{'body':_0x46ab03,'options':{'where':{'uniqueid':_0x34d64b},'order':[['id','DESC']],'limit':0x1},'log':_0xcdcd('0x5')});};