Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / services / routing / rpc / faxQueue.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 _0xba48=['getFaxQueues','Request','strategy','User','Agents','name','faxPause'];(function(_0x158268,_0x4008bd){var _0x5928dd=function(_0x1ab5af){while(--_0x1ab5af){_0x158268['push'](_0x158268['shift']());}};_0x5928dd(++_0x4008bd);}(_0xba48,0x18f));var _0x8ba4=function(_0x4243a3,_0x447337){_0x4243a3=_0x4243a3-0x0;var _0x1b2a33=_0xba48[_0x4243a3];return _0x1b2a33;};'use strict';var client=require('../client');exports[_0x8ba4('0x0')]=function(){return function(){return client[_0x8ba4('0x1')]('GetFaxQueue',{'options':{'raw':![],'attributes':['id','name','timeout',_0x8ba4('0x2')],'include':[{'model':_0x8ba4('0x3'),'as':_0x8ba4('0x4'),'attributes':['id',_0x8ba4('0x5'),'online',_0x8ba4('0x6')]}]},'log':_0x8ba4('0x0')});};};