Built motion from commit d5e4af8c.|2.6.23
[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 _0xdfcb=['faxPause','../client','getFaxQueues','Request','name','timeout','Agents','online'];(function(_0x5db7fe,_0x1bcf6a){var _0x4b724a=function(_0x206a9f){while(--_0x206a9f){_0x5db7fe['push'](_0x5db7fe['shift']());}};_0x4b724a(++_0x1bcf6a);}(_0xdfcb,0x171));var _0xbdfc=function(_0x22e47a,_0x4ea10c){_0x22e47a=_0x22e47a-0x0;var _0x15a12a=_0xdfcb[_0x22e47a];return _0x15a12a;};'use strict';var client=require(_0xbdfc('0x0'));exports[_0xbdfc('0x1')]=function(){return function(){return client[_0xbdfc('0x2')]('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0xbdfc('0x3'),_0xbdfc('0x4'),'strategy'],'include':[{'model':'User','as':_0xbdfc('0x5'),'attributes':['id',_0xbdfc('0x3'),_0xbdfc('0x6'),_0xbdfc('0x7')]}]},'log':_0xbdfc('0x1')});};};