a803012df5ef404da99bf33a61f4c7d11bb4475f
[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 _0x0b5d=['GetFaxQueue','name','timeout','User','Agents','online','getFaxQueues'];(function(_0x445101,_0x2414bf){var _0x3c3d04=function(_0x249067){while(--_0x249067){_0x445101['push'](_0x445101['shift']());}};_0x3c3d04(++_0x2414bf);}(_0x0b5d,0xbc));var _0xd0b5=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0b5d[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../client');exports[_0xd0b5('0x0')]=function(){return function(){return client['Request'](_0xd0b5('0x1'),{'options':{'raw':![],'attributes':['id',_0xd0b5('0x2'),_0xd0b5('0x3'),'strategy'],'include':[{'model':_0xd0b5('0x4'),'as':_0xd0b5('0x5'),'attributes':['id','name',_0xd0b5('0x6'),'faxPause']}]},'log':_0xd0b5('0x0')});};};