bd5bc04cb19016c71d0aa8620d516cb0a414db3a
[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 _0xd187=['update','Request','UpdateFaxQueueReport','DESC','../client','create','CreateFaxQueueReport'];(function(_0x5ade35,_0x35cec6){var _0x21d317=function(_0x4369b1){while(--_0x4369b1){_0x5ade35['push'](_0x5ade35['shift']());}};_0x21d317(++_0x35cec6);}(_0xd187,0x90));var _0x7d18=function(_0x2f2360,_0x151089){_0x2f2360=_0x2f2360-0x0;var _0x1cc8d3=_0xd187[_0x2f2360];return _0x1cc8d3;};'use strict';var client=require(_0x7d18('0x0'));exports[_0x7d18('0x1')]=function(_0x3423d6){return client['Request'](_0x7d18('0x2'),{'body':_0x3423d6,'log':_0x7d18('0x2')});};exports[_0x7d18('0x3')]=function(_0x27509b,_0x305cf7){return client[_0x7d18('0x4')](_0x7d18('0x5'),{'body':_0x305cf7,'options':{'where':{'uniqueid':_0x27509b},'order':[['id',_0x7d18('0x6')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};