438266715a7fc41e3238eec7916857a56b2719f2
[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 _0xb65d=['DESC','../client','create','Request','UpdateFaxQueueReport'];(function(_0x8a21,_0x456270){var _0x4d164c=function(_0x2d6abf){while(--_0x2d6abf){_0x8a21['push'](_0x8a21['shift']());}};_0x4d164c(++_0x456270);}(_0xb65d,0x169));var _0xdb65=function(_0x46f45f,_0x80376d){_0x46f45f=_0x46f45f-0x0;var _0x505e84=_0xb65d[_0x46f45f];return _0x505e84;};'use strict';var client=require(_0xdb65('0x0'));exports[_0xdb65('0x1')]=function(_0x1414a0){return client[_0xdb65('0x2')]('CreateFaxQueueReport',{'body':_0x1414a0,'log':'CreateFaxQueueReport'});};exports['update']=function(_0x1b810d,_0x35bdd0){return client[_0xdb65('0x2')](_0xdb65('0x3'),{'body':_0x35bdd0,'options':{'where':{'uniqueid':_0x1b810d},'order':[['id',_0xdb65('0x4')]],'limit':0x1},'log':_0xdb65('0x3')});};