de2cd9e710ffaa918ebd1ded79fd32cb15fc887c
[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 _0x8ade=['Request','CreateFaxQueueReport','UpdateFaxQueueReport','DESC','create'];(function(_0x1668b5,_0x2d626e){var _0x474443=function(_0x3c03f7){while(--_0x3c03f7){_0x1668b5['push'](_0x1668b5['shift']());}};_0x474443(++_0x2d626e);}(_0x8ade,0x1a8));var _0xe8ad=function(_0x9bf63b,_0x495057){_0x9bf63b=_0x9bf63b-0x0;var _0x3baffc=_0x8ade[_0x9bf63b];return _0x3baffc;};'use strict';var client=require('../client');exports[_0xe8ad('0x0')]=function(_0xa09f8c){return client[_0xe8ad('0x1')](_0xe8ad('0x2'),{'body':_0xa09f8c,'log':_0xe8ad('0x2')});};exports['update']=function(_0x1ae598,_0x43bced){return client[_0xe8ad('0x1')](_0xe8ad('0x3'),{'body':_0x43bced,'options':{'where':{'uniqueid':_0x1ae598},'order':[['id',_0xe8ad('0x4')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};