Built motion from commit (unavailable).|2.5.31
[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 _0x6c58=['../client','getSmsQueues','Request','GetSmsQueue','timeout','Agents','name','online','smsPause'];(function(_0x5ae31a,_0x2f5d53){var _0x978bad=function(_0x408eaa){while(--_0x408eaa){_0x5ae31a['push'](_0x5ae31a['shift']());}};_0x978bad(++_0x2f5d53);}(_0x6c58,0x1ef));var _0x86c5=function(_0xbe200f,_0x4b50eb){_0xbe200f=_0xbe200f-0x0;var _0x192597=_0x6c58[_0xbe200f];return _0x192597;};'use strict';var client=require(_0x86c5('0x0'));exports[_0x86c5('0x1')]=function(){return function(){return client[_0x86c5('0x2')](_0x86c5('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x86c5('0x4'),'strategy'],'include':[{'model':'User','as':_0x86c5('0x5'),'attributes':['id',_0x86c5('0x6'),_0x86c5('0x7'),_0x86c5('0x8')]}]},'log':_0x86c5('0x1')});};};