6bbb655e3e8bacec38f7e9aba59c137ae1a0f5ec
[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 _0x85a4=['CreateFaxQueueReport','update','UpdateFaxQueueReport','../client','create','Request'];(function(_0x26b8a9,_0x30ef00){var _0x3323d0=function(_0x35a331){while(--_0x35a331){_0x26b8a9['push'](_0x26b8a9['shift']());}};_0x3323d0(++_0x30ef00);}(_0x85a4,0xc9));var _0x485a=function(_0x437835,_0x1d781e){_0x437835=_0x437835-0x0;var _0x3abef4=_0x85a4[_0x437835];return _0x3abef4;};'use strict';var client=require(_0x485a('0x0'));exports[_0x485a('0x1')]=function(_0x1a5843){return client[_0x485a('0x2')](_0x485a('0x3'),{'body':_0x1a5843,'log':'CreateFaxQueueReport'});};exports[_0x485a('0x4')]=function(_0x11444e,_0x34077e){return client['Request'](_0x485a('0x5'),{'body':_0x34077e,'options':{'where':{'uniqueid':_0x11444e},'order':[['id','DESC']],'limit':0x1},'log':_0x485a('0x5')});};