Built motion from commit da617fac.|2.6.6
[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 _0x681f=['online','faxPause','getFaxQueues','Request','GetFaxQueue','timeout','Agents','name'];(function(_0x43379c,_0x271d36){var _0x495648=function(_0x3f4652){while(--_0x3f4652){_0x43379c['push'](_0x43379c['shift']());}};_0x495648(++_0x271d36);}(_0x681f,0xd2));var _0xf681=function(_0x5488ee,_0x19366c){_0x5488ee=_0x5488ee-0x0;var _0x3d21b9=_0x681f[_0x5488ee];return _0x3d21b9;};'use strict';var client=require('../client');exports[_0xf681('0x0')]=function(){return function(){return client[_0xf681('0x1')](_0xf681('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xf681('0x3'),'strategy'],'include':[{'model':'User','as':_0xf681('0x4'),'attributes':['id',_0xf681('0x5'),_0xf681('0x6'),_0xf681('0x7')]}]},'log':_0xf681('0x0')});};};