1e703be0d15550a7b3d859b63e507fe1463f9fbd
[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 _0xa36d=['Request','CreateFaxQueueReport','update','UpdateFaxQueueReport','DESC','../client','create'];(function(_0x9b2d2b,_0xfd869b){var _0x3aee05=function(_0x6c2fd4){while(--_0x6c2fd4){_0x9b2d2b['push'](_0x9b2d2b['shift']());}};_0x3aee05(++_0xfd869b);}(_0xa36d,0x16a));var _0xda36=function(_0x325685,_0xd18326){_0x325685=_0x325685-0x0;var _0x19dfaa=_0xa36d[_0x325685];return _0x19dfaa;};'use strict';var client=require(_0xda36('0x0'));exports[_0xda36('0x1')]=function(_0x4f5d20){return client[_0xda36('0x2')](_0xda36('0x3'),{'body':_0x4f5d20,'log':_0xda36('0x3')});};exports[_0xda36('0x4')]=function(_0x127bf8,_0x260033){return client[_0xda36('0x2')](_0xda36('0x5'),{'body':_0x260033,'options':{'where':{'uniqueid':_0x127bf8},'order':[['id',_0xda36('0x6')]],'limit':0x1},'log':_0xda36('0x5')});};