0340040a9d5a8e294b837c7fc0e1ca954f5871d8
[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 _0xa8a0=['update','UpdateFaxQueueReport','../client','create','Request','CreateFaxQueueReport'];(function(_0x337eb7,_0x19022c){var _0x2ab4ca=function(_0xafd893){while(--_0xafd893){_0x337eb7['push'](_0x337eb7['shift']());}};_0x2ab4ca(++_0x19022c);}(_0xa8a0,0x170));var _0x0a8a=function(_0x5f4898,_0x2f23c4){_0x5f4898=_0x5f4898-0x0;var _0x52ff77=_0xa8a0[_0x5f4898];return _0x52ff77;};'use strict';var client=require(_0x0a8a('0x0'));exports[_0x0a8a('0x1')]=function(_0x3fac78){return client[_0x0a8a('0x2')](_0x0a8a('0x3'),{'body':_0x3fac78,'log':_0x0a8a('0x3')});};exports[_0x0a8a('0x4')]=function(_0x254e17,_0x3e0130){return client['Request'](_0x0a8a('0x5'),{'body':_0x3e0130,'options':{'where':{'uniqueid':_0x254e17},'order':[['id','DESC']],'limit':0x1},'log':_0x0a8a('0x5')});};