Built motion from commit 1fa89557.|2.6.10
[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 _0x2175=['GetFaxQueue','name','timeout','strategy','User','online','faxPause','getFaxQueues','../client','Request'];(function(_0x3250f3,_0x1cd63e){var _0x2c5c69=function(_0x440092){while(--_0x440092){_0x3250f3['push'](_0x3250f3['shift']());}};_0x2c5c69(++_0x1cd63e);}(_0x2175,0x198));var _0x5217=function(_0xbc56a3,_0x342d14){_0xbc56a3=_0xbc56a3-0x0;var _0x1dc9b5=_0x2175[_0xbc56a3];return _0x1dc9b5;};'use strict';var client=require(_0x5217('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x5217('0x1')](_0x5217('0x2'),{'options':{'raw':![],'attributes':['id',_0x5217('0x3'),_0x5217('0x4'),_0x5217('0x5')],'include':[{'model':_0x5217('0x6'),'as':'Agents','attributes':['id',_0x5217('0x3'),_0x5217('0x7'),_0x5217('0x8')]}]},'log':_0x5217('0x9')});};};