2125d9b58057a1b347418112fc9a3494dd3b9605
[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 _0x444f=['smsPause','getSmsQueues','Request','GetSmsQueue','strategy','User','Agents','name','online'];(function(_0x3d42d8,_0x4cffaa){var _0x27fc41=function(_0x3a363b){while(--_0x3a363b){_0x3d42d8['push'](_0x3d42d8['shift']());}};_0x27fc41(++_0x4cffaa);}(_0x444f,0xb5));var _0xf444=function(_0x39d9ec,_0x4ed6e5){_0x39d9ec=_0x39d9ec-0x0;var _0x499ff0=_0x444f[_0x39d9ec];return _0x499ff0;};'use strict';var client=require('../client');exports[_0xf444('0x0')]=function(){return function(){return client[_0xf444('0x1')](_0xf444('0x2'),{'options':{'raw':![],'attributes':['id','name','timeout',_0xf444('0x3')],'include':[{'model':_0xf444('0x4'),'as':_0xf444('0x5'),'attributes':['id',_0xf444('0x6'),_0xf444('0x7'),_0xf444('0x8')]}]},'log':'getSmsQueues'});};};