46be6e611dbf284a06a41f41f2f9d1b195cd096d
[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 _0x9c6c=['../client','create','Request','CreateFaxQueueReport','update','UpdateFaxQueueReport','DESC'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0x9c6c,0xd9));var _0xc9c6=function(_0x13e24b,_0x43587b){_0x13e24b=_0x13e24b-0x0;var _0x39e7af=_0x9c6c[_0x13e24b];return _0x39e7af;};'use strict';var client=require(_0xc9c6('0x0'));exports[_0xc9c6('0x1')]=function(_0x45d638){return client[_0xc9c6('0x2')](_0xc9c6('0x3'),{'body':_0x45d638,'log':'CreateFaxQueueReport'});};exports[_0xc9c6('0x4')]=function(_0x5cc354,_0x45f224){return client['Request'](_0xc9c6('0x5'),{'body':_0x45f224,'options':{'where':{'uniqueid':_0x5cc354},'order':[['id',_0xc9c6('0x6')]],'limit':0x1},'log':_0xc9c6('0x5')});};