Built motion from commit ac06311e.|2.6.28
[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 _0xf70d=['Agents','online','faxPause','GetFaxQueue','timeout','strategy','User'];(function(_0x24ae03,_0x334660){var _0x38a29e=function(_0x25e64b){while(--_0x25e64b){_0x24ae03['push'](_0x24ae03['shift']());}};_0x38a29e(++_0x334660);}(_0xf70d,0xc7));var _0xdf70=function(_0x5608a3,_0x5b33c5){_0x5608a3=_0x5608a3-0x0;var _0x1ed50a=_0xf70d[_0x5608a3];return _0x1ed50a;};'use strict';var client=require('../client');exports['getFaxQueues']=function(){return function(){return client['Request'](_0xdf70('0x0'),{'options':{'raw':![],'attributes':['id','name',_0xdf70('0x1'),_0xdf70('0x2')],'include':[{'model':_0xdf70('0x3'),'as':_0xdf70('0x4'),'attributes':['id','name',_0xdf70('0x5'),_0xdf70('0x6')]}]},'log':'getFaxQueues'});};};