5babb098116e84f779507004876faa37d8a847a5
[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 _0x2adc=['User','online','smsPause','getSmsQueues','Request','GetSmsQueue','name','timeout','strategy'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0x2adc,0x135));var _0xc2ad=function(_0x1a9ec4,_0x5d8092){_0x1a9ec4=_0x1a9ec4-0x0;var _0x34438c=_0x2adc[_0x1a9ec4];return _0x34438c;};'use strict';var client=require('../client');exports[_0xc2ad('0x0')]=function(){return function(){return client[_0xc2ad('0x1')](_0xc2ad('0x2'),{'options':{'raw':![],'attributes':['id',_0xc2ad('0x3'),_0xc2ad('0x4'),_0xc2ad('0x5')],'include':[{'model':_0xc2ad('0x6'),'as':'Agents','attributes':['id',_0xc2ad('0x3'),_0xc2ad('0x7'),_0xc2ad('0x8')]}]},'log':_0xc2ad('0x0')});};};