Built motion from commit 85328c08.|2.5.50
[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 _0x3ab1=['GetFaxQueue','name','timeout','strategy','User','Agents','faxPause','Request'];(function(_0x4cacca,_0x4f42a6){var _0x3211e3=function(_0x2cc881){while(--_0x2cc881){_0x4cacca['push'](_0x4cacca['shift']());}};_0x3211e3(++_0x4f42a6);}(_0x3ab1,0x97));var _0x13ab=function(_0x43b4b1,_0x5a5217){_0x43b4b1=_0x43b4b1-0x0;var _0x5bea8d=_0x3ab1[_0x43b4b1];return _0x5bea8d;};'use strict';var client=require('../client');exports['getFaxQueues']=function(){return function(){return client[_0x13ab('0x0')](_0x13ab('0x1'),{'options':{'raw':![],'attributes':['id',_0x13ab('0x2'),_0x13ab('0x3'),_0x13ab('0x4')],'include':[{'model':_0x13ab('0x5'),'as':_0x13ab('0x6'),'attributes':['id',_0x13ab('0x2'),'online',_0x13ab('0x7')]}]},'log':'getFaxQueues'});};};