Built motion from commit 14588770.|2.5.38
[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 _0xc997=['strategy','User','Agents','online','faxPause','../client','Request','GetFaxQueue','name'];(function(_0x480ab2,_0x20b3a7){var _0x35c362=function(_0xddf9ac){while(--_0xddf9ac){_0x480ab2['push'](_0x480ab2['shift']());}};_0x35c362(++_0x20b3a7);}(_0xc997,0x19a));var _0x7c99=function(_0x4c012c,_0x1fa814){_0x4c012c=_0x4c012c-0x0;var _0x3e7c22=_0xc997[_0x4c012c];return _0x3e7c22;};'use strict';var client=require(_0x7c99('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x7c99('0x1')](_0x7c99('0x2'),{'options':{'raw':![],'attributes':['id',_0x7c99('0x3'),'timeout',_0x7c99('0x4')],'include':[{'model':_0x7c99('0x5'),'as':_0x7c99('0x6'),'attributes':['id',_0x7c99('0x3'),_0x7c99('0x7'),_0x7c99('0x8')]}]},'log':'getFaxQueues'});};};