16fc30540054f90a6c6a64cb75a4c74b015f662f
[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 _0xf475=['create','Request','CreateFaxQueueReport','update','DESC','UpdateFaxQueueReport'];(function(_0x52195d,_0x52e4fd){var _0x522e83=function(_0x373a6c){while(--_0x373a6c){_0x52195d['push'](_0x52195d['shift']());}};_0x522e83(++_0x52e4fd);}(_0xf475,0x7e));var _0x5f47=function(_0x40a7d7,_0x483328){_0x40a7d7=_0x40a7d7-0x0;var _0x231486=_0xf475[_0x40a7d7];return _0x231486;};'use strict';var client=require('../client');exports[_0x5f47('0x0')]=function(_0x3be7fb){return client[_0x5f47('0x1')](_0x5f47('0x2'),{'body':_0x3be7fb,'log':_0x5f47('0x2')});};exports[_0x5f47('0x3')]=function(_0x49d681,_0x1bd7bc){return client['Request']('UpdateFaxQueueReport',{'body':_0x1bd7bc,'options':{'where':{'uniqueid':_0x49d681},'order':[['id',_0x5f47('0x4')]],'limit':0x1},'log':_0x5f47('0x5')});};