Built motion from commit (unavailable).|2.5.26
[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 _0x4b96=['GetFaxQueue','name','strategy','User','Agents','online','faxPause','getFaxQueues','../client','Request'];(function(_0x405e90,_0xeda809){var _0x1604b9=function(_0x4acdcc){while(--_0x4acdcc){_0x405e90['push'](_0x405e90['shift']());}};_0x1604b9(++_0xeda809);}(_0x4b96,0x148));var _0x64b9=function(_0x39b3d6,_0x52adf2){_0x39b3d6=_0x39b3d6-0x0;var _0x2e3058=_0x4b96[_0x39b3d6];return _0x2e3058;};'use strict';var client=require(_0x64b9('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x64b9('0x1')](_0x64b9('0x2'),{'options':{'raw':![],'attributes':['id',_0x64b9('0x3'),'timeout',_0x64b9('0x4')],'include':[{'model':_0x64b9('0x5'),'as':_0x64b9('0x6'),'attributes':['id',_0x64b9('0x3'),_0x64b9('0x7'),_0x64b9('0x8')]}]},'log':_0x64b9('0x9')});};};