a0e84764c8ca51ff70cffd845ed9f8f4b97d8e9b
[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 _0x2f38=['Request','CreateFaxQueueReport','update','UpdateFaxQueueReport','../client'];(function(_0x479cff,_0x35c8d8){var _0x3d9e0d=function(_0x4b809b){while(--_0x4b809b){_0x479cff['push'](_0x479cff['shift']());}};_0x3d9e0d(++_0x35c8d8);}(_0x2f38,0x95));var _0x82f3=function(_0x32cdf0,_0x31f2ec){_0x32cdf0=_0x32cdf0-0x0;var _0x4ab7e5=_0x2f38[_0x32cdf0];return _0x4ab7e5;};'use strict';var client=require(_0x82f3('0x0'));exports['create']=function(_0x5309f0){return client[_0x82f3('0x1')](_0x82f3('0x2'),{'body':_0x5309f0,'log':_0x82f3('0x2')});};exports[_0x82f3('0x3')]=function(_0x368969,_0x86e8d7){return client[_0x82f3('0x1')](_0x82f3('0x4'),{'body':_0x86e8d7,'options':{'where':{'uniqueid':_0x368969},'order':[['id','DESC']],'limit':0x1},'log':_0x82f3('0x4')});};