Built motion from commit (unavailable).|2.5.28
[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 _0xa14a=['../client','Request','GetSmsQueue','name','timeout','online','smsPause'];(function(_0x29d94e,_0xf386d6){var _0x106237=function(_0x327501){while(--_0x327501){_0x29d94e['push'](_0x29d94e['shift']());}};_0x106237(++_0xf386d6);}(_0xa14a,0x1b9));var _0xaa14=function(_0x4243a3,_0x447337){_0x4243a3=_0x4243a3-0x0;var _0x1b2a33=_0xa14a[_0x4243a3];return _0x1b2a33;};'use strict';var client=require(_0xaa14('0x0'));exports['getSmsQueues']=function(){return function(){return client[_0xaa14('0x1')](_0xaa14('0x2'),{'options':{'raw':![],'attributes':['id',_0xaa14('0x3'),_0xaa14('0x4'),'strategy'],'include':[{'model':'User','as':'Agents','attributes':['id',_0xaa14('0x3'),_0xaa14('0x5'),_0xaa14('0x6')]}]},'log':'getSmsQueues'});};};