Built motion from commit 6f14c8ba.|2.6.29
[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 _0x775f=['../client','Request','CreateFaxQueueReport','DESC','UpdateFaxQueueReport'];(function(_0x1b5aea,_0x3f04b7){var _0x15cfc6=function(_0x204e92){while(--_0x204e92){_0x1b5aea['push'](_0x1b5aea['shift']());}};_0x15cfc6(++_0x3f04b7);}(_0x775f,0x17c));var _0xf775=function(_0xee3051,_0xbe4f18){_0xee3051=_0xee3051-0x0;var _0x139e81=_0x775f[_0xee3051];return _0x139e81;};'use strict';var client=require(_0xf775('0x0'));exports['create']=function(_0x39b831){return client[_0xf775('0x1')](_0xf775('0x2'),{'body':_0x39b831,'log':_0xf775('0x2')});};exports['update']=function(_0x2b2dad,_0x39d43e){return client[_0xf775('0x1')]('UpdateFaxQueueReport',{'body':_0x39d43e,'options':{'where':{'uniqueid':_0x2b2dad},'order':[['id',_0xf775('0x3')]],'limit':0x1},'log':_0xf775('0x4')});};