Built motion from commit 746c7d2a.|2.5.35
[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 _0xe606=['name','timeout','strategy','User','faxPause','../client','getFaxQueues'];(function(_0x54a10e,_0x53fbff){var _0x14cd42=function(_0x2a2f88){while(--_0x2a2f88){_0x54a10e['push'](_0x54a10e['shift']());}};_0x14cd42(++_0x53fbff);}(_0xe606,0xad));var _0x6e60=function(_0x5383f4,_0x11c58a){_0x5383f4=_0x5383f4-0x0;var _0xce8610=_0xe606[_0x5383f4];return _0xce8610;};'use strict';var client=require(_0x6e60('0x0'));exports[_0x6e60('0x1')]=function(){return function(){return client['Request']('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0x6e60('0x2'),_0x6e60('0x3'),_0x6e60('0x4')],'include':[{'model':_0x6e60('0x5'),'as':'Agents','attributes':['id',_0x6e60('0x2'),'online',_0x6e60('0x6')]}]},'log':'getFaxQueues'});};};