7b83762e5ca4c0adfe48c4454389615c70190660
[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 _0xba22=['Request','CreateFaxQueueReport','update','UpdateFaxQueueReport','../client','create'];(function(_0x21281f,_0x2f617e){var _0x20b756=function(_0x5501c5){while(--_0x5501c5){_0x21281f['push'](_0x21281f['shift']());}};_0x20b756(++_0x2f617e);}(_0xba22,0x1c0));var _0x2ba2=function(_0x31e29a,_0x349c9b){_0x31e29a=_0x31e29a-0x0;var _0x32d892=_0xba22[_0x31e29a];return _0x32d892;};'use strict';var client=require(_0x2ba2('0x0'));exports[_0x2ba2('0x1')]=function(_0x557cdb){return client[_0x2ba2('0x2')](_0x2ba2('0x3'),{'body':_0x557cdb,'log':_0x2ba2('0x3')});};exports[_0x2ba2('0x4')]=function(_0x327715,_0x47133f){return client[_0x2ba2('0x2')]('UpdateFaxQueueReport',{'body':_0x47133f,'options':{'where':{'uniqueid':_0x327715},'order':[['id','DESC']],'limit':0x1},'log':_0x2ba2('0x5')});};