cfd26b6f3e24c7d92fd1fcb35f8bd5b11d138c65
[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 _0x02a0=['Agents','getFaxQueues','../client','Request','GetFaxQueue','name','timeout','User'];(function(_0x4d9a6c,_0x5c44d4){var _0x30c75c=function(_0x17e7c1){while(--_0x17e7c1){_0x4d9a6c['push'](_0x4d9a6c['shift']());}};_0x30c75c(++_0x5c44d4);}(_0x02a0,0xc2));var _0x002a=function(_0x5ed36b,_0x53eb69){_0x5ed36b=_0x5ed36b-0x0;var _0xe738b8=_0x02a0[_0x5ed36b];return _0xe738b8;};'use strict';var client=require(_0x002a('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x002a('0x1')](_0x002a('0x2'),{'options':{'raw':![],'attributes':['id',_0x002a('0x3'),_0x002a('0x4'),'strategy'],'include':[{'model':_0x002a('0x5'),'as':_0x002a('0x6'),'attributes':['id',_0x002a('0x3'),'online','faxPause']}]},'log':_0x002a('0x7')});};};