Built motion from commit 0d14f64c.|2.6.34
[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 _0x5650=['../client','create','Request','CreateFaxQueueReport','UpdateFaxQueueReport','DESC'];(function(_0x51d780,_0x151f65){var _0x37ebad=function(_0x2ddda8){while(--_0x2ddda8){_0x51d780['push'](_0x51d780['shift']());}};_0x37ebad(++_0x151f65);}(_0x5650,0xd8));var _0x0565=function(_0x22395a,_0x4a4fd0){_0x22395a=_0x22395a-0x0;var _0x436c90=_0x5650[_0x22395a];return _0x436c90;};'use strict';var client=require(_0x0565('0x0'));exports[_0x0565('0x1')]=function(_0x4e13e0){return client[_0x0565('0x2')]('CreateFaxQueueReport',{'body':_0x4e13e0,'log':_0x0565('0x3')});};exports['update']=function(_0x2bb63a,_0x16dd62){return client[_0x0565('0x2')](_0x0565('0x4'),{'body':_0x16dd62,'options':{'where':{'uniqueid':_0x2bb63a},'order':[['id',_0x0565('0x5')]],'limit':0x1},'log':_0x0565('0x4')});};