b04ff7268a413ce0e0ac65328fd1204aac388cef
[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 _0x01d8=['Request','CreateFaxQueueReport','update','UpdateFaxQueueReport','../client','create'];(function(_0xa957b6,_0x5c5808){var _0x4ee7f5=function(_0x3c2717){while(--_0x3c2717){_0xa957b6['push'](_0xa957b6['shift']());}};_0x4ee7f5(++_0x5c5808);}(_0x01d8,0x1c6));var _0x801d=function(_0x4df6f9,_0x44bd65){_0x4df6f9=_0x4df6f9-0x0;var _0x4b1a73=_0x01d8[_0x4df6f9];return _0x4b1a73;};'use strict';var client=require(_0x801d('0x0'));exports[_0x801d('0x1')]=function(_0x549610){return client[_0x801d('0x2')](_0x801d('0x3'),{'body':_0x549610,'log':_0x801d('0x3')});};exports[_0x801d('0x4')]=function(_0x22ec6d,_0x10ca7f){return client['Request'](_0x801d('0x5'),{'body':_0x10ca7f,'options':{'where':{'uniqueid':_0x22ec6d},'order':[['id','DESC']],'limit':0x1},'log':_0x801d('0x5')});};