Built motion from commit 753c950e.|2.5.42
[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 _0x2bf6=['faxPause','getFaxQueues','../client','Request','name','timeout','strategy','User','Agents','online'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x2bf6,0x188));var _0x62bf=function(_0x2b1afd,_0x3183fe){_0x2b1afd=_0x2b1afd-0x0;var _0x1ae22b=_0x2bf6[_0x2b1afd];return _0x1ae22b;};'use strict';var client=require(_0x62bf('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x62bf('0x1')]('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0x62bf('0x2'),_0x62bf('0x3'),_0x62bf('0x4')],'include':[{'model':_0x62bf('0x5'),'as':_0x62bf('0x6'),'attributes':['id','name',_0x62bf('0x7'),_0x62bf('0x8')]}]},'log':_0x62bf('0x9')});};};