c848c85a6ea95aec6f97b0b907ec33d1e6e952fa
[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 _0xd8fb=['smsPause','../client','getSmsQueues','Request','GetSmsQueue','User','Agents','online'];(function(_0x337a10,_0x5191c7){var _0x575f98=function(_0x3851cd){while(--_0x3851cd){_0x337a10['push'](_0x337a10['shift']());}};_0x575f98(++_0x5191c7);}(_0xd8fb,0x99));var _0xbd8f=function(_0x59eebf,_0x19fcde){_0x59eebf=_0x59eebf-0x0;var _0x204be5=_0xd8fb[_0x59eebf];return _0x204be5;};'use strict';var client=require(_0xbd8f('0x0'));exports[_0xbd8f('0x1')]=function(){return function(){return client[_0xbd8f('0x2')](_0xbd8f('0x3'),{'options':{'raw':![],'attributes':['id','name','timeout','strategy'],'include':[{'model':_0xbd8f('0x4'),'as':_0xbd8f('0x5'),'attributes':['id','name',_0xbd8f('0x6'),_0xbd8f('0x7')]}]},'log':'getSmsQueues'});};};