Built motion from commit (unavailable).|2.4.20
[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 _0xe385=['create','CreateFaxQueueReport','UpdateFaxQueueReport','DESC'];(function(_0x3885d2,_0x3f6952){var _0x3b6be2=function(_0x25a240){while(--_0x25a240){_0x3885d2['push'](_0x3885d2['shift']());}};_0x3b6be2(++_0x3f6952);}(_0xe385,0x11c));var _0x5e38=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0xe385[_0x3b380d];return _0x54502b;};'use strict';var client=require('../client');exports[_0x5e38('0x0')]=function(_0x36718e){return client['Request'](_0x5e38('0x1'),{'body':_0x36718e,'log':_0x5e38('0x1')});};exports['update']=function(_0xbf0934,_0x11e676){return client['Request'](_0x5e38('0x2'),{'body':_0x11e676,'options':{'where':{'uniqueid':_0xbf0934},'order':[['id',_0x5e38('0x3')]],'limit':0x1},'log':_0x5e38('0x2')});};