7eb092e989a3dc0ff25a39c3cfa40bab83d79c38
[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 _0xb0ed=['UpdateFaxQueueReport','../client','Request','CreateFaxQueueReport'];(function(_0x193e28,_0x3dac1d){var _0x20ef59=function(_0x48047e){while(--_0x48047e){_0x193e28['push'](_0x193e28['shift']());}};_0x20ef59(++_0x3dac1d);}(_0xb0ed,0x91));var _0xdb0e=function(_0x4e4604,_0x168069){_0x4e4604=_0x4e4604-0x0;var _0x22739a=_0xb0ed[_0x4e4604];return _0x22739a;};'use strict';var client=require(_0xdb0e('0x0'));exports['create']=function(_0x368e79){return client[_0xdb0e('0x1')](_0xdb0e('0x2'),{'body':_0x368e79,'log':_0xdb0e('0x2')});};exports['update']=function(_0x43cbb7,_0x3ef2f5){return client[_0xdb0e('0x1')]('UpdateFaxQueueReport',{'body':_0x3ef2f5,'options':{'where':{'uniqueid':_0x43cbb7},'order':[['id','DESC']],'limit':0x1},'log':_0xdb0e('0x3')});};