Built motion from commit 47436d59.|2.6.7
[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 _0x59a1=['faxPause','getFaxQueues','../client','Request','timeout','strategy','User','Agents','online'];(function(_0x580f9b,_0x1d8a31){var _0x39f284=function(_0xeab310){while(--_0xeab310){_0x580f9b['push'](_0x580f9b['shift']());}};_0x39f284(++_0x1d8a31);}(_0x59a1,0x1a9));var _0x159a=function(_0x9f357e,_0x543271){_0x9f357e=_0x9f357e-0x0;var _0xe0f94f=_0x59a1[_0x9f357e];return _0xe0f94f;};'use strict';var client=require(_0x159a('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x159a('0x1')]('GetFaxQueue',{'options':{'raw':![],'attributes':['id','name',_0x159a('0x2'),_0x159a('0x3')],'include':[{'model':_0x159a('0x4'),'as':_0x159a('0x5'),'attributes':['id','name',_0x159a('0x6'),_0x159a('0x7')]}]},'log':_0x159a('0x8')});};};