ad34d3bb72276ac77e1ca345cd1327d2204f3661
[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 _0x1fdd=['Request','CreateFaxQueueReport','UpdateFaxQueueReport','create'];(function(_0x5e0c7f,_0x5cc61d){var _0x15ab59=function(_0x40263f){while(--_0x40263f){_0x5e0c7f['push'](_0x5e0c7f['shift']());}};_0x15ab59(++_0x5cc61d);}(_0x1fdd,0x1c3));var _0xd1fd=function(_0x582ec2,_0x42d7eb){_0x582ec2=_0x582ec2-0x0;var _0x2e763d=_0x1fdd[_0x582ec2];return _0x2e763d;};'use strict';var client=require('../client');exports[_0xd1fd('0x0')]=function(_0x54de4b){return client[_0xd1fd('0x1')](_0xd1fd('0x2'),{'body':_0x54de4b,'log':_0xd1fd('0x2')});};exports['update']=function(_0x5c3f37,_0x312271){return client[_0xd1fd('0x1')](_0xd1fd('0x3'),{'body':_0x312271,'options':{'where':{'uniqueid':_0x5c3f37},'order':[['id','DESC']],'limit':0x1},'log':_0xd1fd('0x3')});};