Built motion from commit (unavailable).|2.5.30
[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 _0xf969=['name','timeout','strategy','User','Agents','getFaxQueues','../client','GetFaxQueue'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xf969,0x1a6));var _0x9f96=function(_0x34a3fc,_0x3577eb){_0x34a3fc=_0x34a3fc-0x0;var _0x322531=_0xf969[_0x34a3fc];return _0x322531;};'use strict';var client=require(_0x9f96('0x0'));exports['getFaxQueues']=function(){return function(){return client['Request'](_0x9f96('0x1'),{'options':{'raw':![],'attributes':['id',_0x9f96('0x2'),_0x9f96('0x3'),_0x9f96('0x4')],'include':[{'model':_0x9f96('0x5'),'as':_0x9f96('0x6'),'attributes':['id',_0x9f96('0x2'),'online','faxPause']}]},'log':_0x9f96('0x7')});};};