d364e875340e40d86f55aeb41ff064980b348012
[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 _0xf4f3=['CreateFaxQueueReport','update','UpdateFaxQueueReport','DESC','../client','Request'];(function(_0x546c68,_0x5c0116){var _0x4a2389=function(_0x5aa205){while(--_0x5aa205){_0x546c68['push'](_0x546c68['shift']());}};_0x4a2389(++_0x5c0116);}(_0xf4f3,0x94));var _0x3f4f=function(_0x39e7bd,_0x2867d7){_0x39e7bd=_0x39e7bd-0x0;var _0x195fca=_0xf4f3[_0x39e7bd];return _0x195fca;};'use strict';var client=require(_0x3f4f('0x0'));exports['create']=function(_0x312604){return client[_0x3f4f('0x1')](_0x3f4f('0x2'),{'body':_0x312604,'log':_0x3f4f('0x2')});};exports[_0x3f4f('0x3')]=function(_0x438beb,_0xcfe54b){return client['Request'](_0x3f4f('0x4'),{'body':_0xcfe54b,'options':{'where':{'uniqueid':_0x438beb},'order':[['id',_0x3f4f('0x5')]],'limit':0x1},'log':_0x3f4f('0x4')});};