d9faa840ead6135126945af458adbbe44d0fbcc4
[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 _0x8c78=['CreateFaxQueueReport','update','UpdateFaxQueueReport','DESC','../client','Request'];(function(_0x532546,_0x2fc6d6){var _0x5065ee=function(_0x366959){while(--_0x366959){_0x532546['push'](_0x532546['shift']());}};_0x5065ee(++_0x2fc6d6);}(_0x8c78,0x1c0));var _0x88c7=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0x8c78[_0x465028];return _0xb783d4;};'use strict';var client=require(_0x88c7('0x0'));exports['create']=function(_0x3cbe22){return client[_0x88c7('0x1')](_0x88c7('0x2'),{'body':_0x3cbe22,'log':_0x88c7('0x2')});};exports[_0x88c7('0x3')]=function(_0x58a51a,_0x42dce9){return client[_0x88c7('0x1')](_0x88c7('0x4'),{'body':_0x42dce9,'options':{'where':{'uniqueid':_0x58a51a},'order':[['id',_0x88c7('0x5')]],'limit':0x1},'log':_0x88c7('0x4')});};