ae91d5382ca964393d024114a66b5f0e44611366
[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 _0x0302=['online','faxPause','getFaxQueues','Request','GetFaxQueue','name','timeout'];(function(_0x59dbce,_0x37bdd4){var _0x2fa34b=function(_0x243c65){while(--_0x243c65){_0x59dbce['push'](_0x59dbce['shift']());}};_0x2fa34b(++_0x37bdd4);}(_0x0302,0xb1));var _0x2030=function(_0x2ca784,_0x329093){_0x2ca784=_0x2ca784-0x0;var _0x21d1fe=_0x0302[_0x2ca784];return _0x21d1fe;};'use strict';var client=require('../client');exports[_0x2030('0x0')]=function(){return function(){return client[_0x2030('0x1')](_0x2030('0x2'),{'options':{'raw':![],'attributes':['id',_0x2030('0x3'),_0x2030('0x4'),'strategy'],'include':[{'model':'User','as':'Agents','attributes':['id',_0x2030('0x3'),_0x2030('0x5'),_0x2030('0x6')]}]},'log':_0x2030('0x0')});};};