5f03c0ff4bfa982770478504d1230ca5fb40dd5a
[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 _0xa995=['create','CreateFaxQueueReport','update','Request','UpdateFaxQueueReport','DESC'];(function(_0xef4cf0,_0x16c9c3){var _0x497ad2=function(_0xce63d4){while(--_0xce63d4){_0xef4cf0['push'](_0xef4cf0['shift']());}};_0x497ad2(++_0x16c9c3);}(_0xa995,0x144));var _0x5a99=function(_0x145ffb,_0x368fa2){_0x145ffb=_0x145ffb-0x0;var _0x4a5326=_0xa995[_0x145ffb];return _0x4a5326;};'use strict';var client=require('../client');exports[_0x5a99('0x0')]=function(_0x1c3119){return client['Request'](_0x5a99('0x1'),{'body':_0x1c3119,'log':_0x5a99('0x1')});};exports[_0x5a99('0x2')]=function(_0x14811a,_0x577857){return client[_0x5a99('0x3')](_0x5a99('0x4'),{'body':_0x577857,'options':{'where':{'uniqueid':_0x14811a},'order':[['id',_0x5a99('0x5')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};