Built motion from commit (unavailable).|2.5.1
[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 _0xc1ec=['Agents','smsPause','../client','getSmsQueues','Request','name','timeout','strategy','User'];(function(_0x50ae21,_0x4cecaf){var _0x164e2a=function(_0x1b1836){while(--_0x1b1836){_0x50ae21['push'](_0x50ae21['shift']());}};_0x164e2a(++_0x4cecaf);}(_0xc1ec,0x13d));var _0xcc1e=function(_0x58a534,_0x8d58a9){_0x58a534=_0x58a534-0x0;var _0x23464e=_0xc1ec[_0x58a534];return _0x23464e;};'use strict';var client=require(_0xcc1e('0x0'));exports[_0xcc1e('0x1')]=function(){return function(){return client[_0xcc1e('0x2')]('GetSmsQueue',{'options':{'raw':![],'attributes':['id',_0xcc1e('0x3'),_0xcc1e('0x4'),_0xcc1e('0x5')],'include':[{'model':_0xcc1e('0x6'),'as':_0xcc1e('0x7'),'attributes':['id','name','online',_0xcc1e('0x8')]}]},'log':'getSmsQueues'});};};