e370f5dea9f2fcb41a6d047cc609c8e1399f13b8
[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 _0xf9c5=['update','DESC','../client','create','Request'];(function(_0x16fab8,_0x5d1dc8){var _0x507f0a=function(_0x256c7e){while(--_0x256c7e){_0x16fab8['push'](_0x16fab8['shift']());}};_0x507f0a(++_0x5d1dc8);}(_0xf9c5,0xf7));var _0x5f9c=function(_0x29d94e,_0xf386d6){_0x29d94e=_0x29d94e-0x0;var _0x106237=_0xf9c5[_0x29d94e];return _0x106237;};'use strict';var client=require(_0x5f9c('0x0'));exports[_0x5f9c('0x1')]=function(_0x1717c3){return client[_0x5f9c('0x2')]('CreateFaxQueueReport',{'body':_0x1717c3,'log':'CreateFaxQueueReport'});};exports[_0x5f9c('0x3')]=function(_0x3e5801,_0x2d7005){return client['Request']('UpdateFaxQueueReport',{'body':_0x2d7005,'options':{'where':{'uniqueid':_0x3e5801},'order':[['id',_0x5f9c('0x4')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};