Built motion from commit 3c2ce842.|2.6.31
[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 _0xaf3a=['Request','CreateFaxQueueReport','UpdateFaxQueueReport','DESC','../client'];(function(_0x56c263,_0x56bdf5){var _0x4e5967=function(_0x5152c1){while(--_0x5152c1){_0x56c263['push'](_0x56c263['shift']());}};_0x4e5967(++_0x56bdf5);}(_0xaf3a,0x13f));var _0xaaf3=function(_0x4336a6,_0xc235ca){_0x4336a6=_0x4336a6-0x0;var _0x4012f3=_0xaf3a[_0x4336a6];return _0x4012f3;};'use strict';var client=require(_0xaaf3('0x0'));exports['create']=function(_0x1c4480){return client[_0xaaf3('0x1')]('CreateFaxQueueReport',{'body':_0x1c4480,'log':_0xaaf3('0x2')});};exports['update']=function(_0xb36fb6,_0x1b2631){return client[_0xaaf3('0x1')](_0xaaf3('0x3'),{'body':_0x1b2631,'options':{'where':{'uniqueid':_0xb36fb6},'order':[['id',_0xaaf3('0x4')]],'limit':0x1},'log':_0xaaf3('0x3')});};