779c754194b2a202382736785301ecc7b3beeb4e
[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 _0xb7ea=['name','User','Agents','faxPause','../client'];(function(_0x584db2,_0x49a182){var _0x5b03bd=function(_0xde690){while(--_0xde690){_0x584db2['push'](_0x584db2['shift']());}};_0x5b03bd(++_0x49a182);}(_0xb7ea,0x18a));var _0xab7e=function(_0x574394,_0x49d75f){_0x574394=_0x574394-0x0;var _0x93a092=_0xb7ea[_0x574394];return _0x93a092;};'use strict';var client=require(_0xab7e('0x0'));exports['getFaxQueues']=function(){return function(){return client['Request']('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0xab7e('0x1'),'timeout','strategy'],'include':[{'model':_0xab7e('0x2'),'as':_0xab7e('0x3'),'attributes':['id',_0xab7e('0x1'),'online',_0xab7e('0x4')]}]},'log':'getFaxQueues'});};};