fca2bd5a0d9780fd97c9302f9178439885c70edd
[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 _0xc240=['strategy','User','online','faxPause','../client','getFaxQueues','Request','GetFaxQueue','name','timeout'];(function(_0x41d039,_0x5c55b8){var _0x35b0cd=function(_0x677e74){while(--_0x677e74){_0x41d039['push'](_0x41d039['shift']());}};_0x35b0cd(++_0x5c55b8);}(_0xc240,0x144));var _0x0c24=function(_0x2fb252,_0x50501f){_0x2fb252=_0x2fb252-0x0;var _0x55d04d=_0xc240[_0x2fb252];return _0x55d04d;};'use strict';var client=require(_0x0c24('0x0'));exports[_0x0c24('0x1')]=function(){return function(){return client[_0x0c24('0x2')](_0x0c24('0x3'),{'options':{'raw':![],'attributes':['id',_0x0c24('0x4'),_0x0c24('0x5'),_0x0c24('0x6')],'include':[{'model':_0x0c24('0x7'),'as':'Agents','attributes':['id',_0x0c24('0x4'),_0x0c24('0x8'),_0x0c24('0x9')]}]},'log':'getFaxQueues'});};};