19ec703eecdc42a354dea8b50bd96a941e6abeb5
[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 _0xb681=['CreateFaxQueueReport','update','DESC','../client','create','Request'];(function(_0xe5b424,_0x1e1d90){var _0x4470d4=function(_0x19063d){while(--_0x19063d){_0xe5b424['push'](_0xe5b424['shift']());}};_0x4470d4(++_0x1e1d90);}(_0xb681,0x153));var _0x1b68=function(_0x366853,_0x266a61){_0x366853=_0x366853-0x0;var _0x263de4=_0xb681[_0x366853];return _0x263de4;};'use strict';var client=require(_0x1b68('0x0'));exports[_0x1b68('0x1')]=function(_0x115ed6){return client[_0x1b68('0x2')](_0x1b68('0x3'),{'body':_0x115ed6,'log':_0x1b68('0x3')});};exports[_0x1b68('0x4')]=function(_0xf7f494,_0x4085f4){return client[_0x1b68('0x2')]('UpdateFaxQueueReport',{'body':_0x4085f4,'options':{'where':{'uniqueid':_0xf7f494},'order':[['id',_0x1b68('0x5')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};