019ba242afdf5916e478ad5add4cab719add609d
[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 _0xebab=['CreateFaxQueueReport','Request','DESC','UpdateFaxQueueReport','../client','create'];(function(_0x5165a8,_0xee258d){var _0x2703ad=function(_0xd1f6ab){while(--_0xd1f6ab){_0x5165a8['push'](_0x5165a8['shift']());}};_0x2703ad(++_0xee258d);}(_0xebab,0x124));var _0xbeba=function(_0x3bb0d1,_0x535495){_0x3bb0d1=_0x3bb0d1-0x0;var _0x5f200c=_0xebab[_0x3bb0d1];return _0x5f200c;};'use strict';var client=require(_0xbeba('0x0'));exports[_0xbeba('0x1')]=function(_0x23fdf9){return client['Request'](_0xbeba('0x2'),{'body':_0x23fdf9,'log':_0xbeba('0x2')});};exports['update']=function(_0x1d8cc1,_0x4a4950){return client[_0xbeba('0x3')]('UpdateFaxQueueReport',{'body':_0x4a4950,'options':{'where':{'uniqueid':_0x1d8cc1},'order':[['id',_0xbeba('0x4')]],'limit':0x1},'log':_0xbeba('0x5')});};