e5bfb9d8c3e49d05cd65fc711724c9918a4fc0d8
[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 _0x028a=['Request','CreateFaxQueueReport','UpdateFaxQueueReport','DESC','../client','create'];(function(_0x13ff53,_0x5e1424){var _0x290228=function(_0x3e3133){while(--_0x3e3133){_0x13ff53['push'](_0x13ff53['shift']());}};_0x290228(++_0x5e1424);}(_0x028a,0x1c0));var _0xa028=function(_0x172d47,_0x44672c){_0x172d47=_0x172d47-0x0;var _0x4c572e=_0x028a[_0x172d47];return _0x4c572e;};'use strict';var client=require(_0xa028('0x0'));exports[_0xa028('0x1')]=function(_0x1a541b){return client[_0xa028('0x2')](_0xa028('0x3'),{'body':_0x1a541b,'log':_0xa028('0x3')});};exports['update']=function(_0x21455b,_0x2b05d2){return client['Request'](_0xa028('0x4'),{'body':_0x2b05d2,'options':{'where':{'uniqueid':_0x21455b},'order':[['id',_0xa028('0x5')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};