63190d702c1ddf5ed84f187156127b2d809440d6
[motion2.git] / server / services / routing / rpc / smsQueue.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 _0xde46=['smsPause','../client','getSmsQueues','Request','GetSmsQueue','strategy','Agents','name','online'];(function(_0x4186da,_0x1c2c81){var _0x283bbb=function(_0x597ba1){while(--_0x597ba1){_0x4186da['push'](_0x4186da['shift']());}};_0x283bbb(++_0x1c2c81);}(_0xde46,0x14e));var _0x6de4=function(_0x445949,_0x1fe15e){_0x445949=_0x445949-0x0;var _0x7e3d84=_0xde46[_0x445949];return _0x7e3d84;};'use strict';var client=require(_0x6de4('0x0'));exports[_0x6de4('0x1')]=function(){return function(){return client[_0x6de4('0x2')](_0x6de4('0x3'),{'options':{'raw':![],'attributes':['id','name','timeout',_0x6de4('0x4')],'include':[{'model':'User','as':_0x6de4('0x5'),'attributes':['id',_0x6de4('0x6'),_0x6de4('0x7'),_0x6de4('0x8')]}]},'log':'getSmsQueues'});};};